{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create a new signals data export, send a POST request to\n`/v1/signals/exports`. To export one Harness Runtime environment, include its\n`environment_id` (`type` defaults to `agent`). Deprecated `agent_id` is still\naccepted. To export the team's Serverless Inference Signals conversations, set\n`type` to `inference` and omit `environment_id` and `agent_id`. You may\noptionally filter the export by `signal_type`,\n`session_ids`, `start_time`, and `end_time`. Use the export options endpoint\nto discover available signal types.\n\nThe export job runs asynchronously. Poll the get export endpoint to check\nits status. When complete, use the download endpoint to retrieve a\npre-signed URL.\n","properties":{"body":{"$ref":"#/definitions/create_export_request","examples":[{"environment_id":"01a0f3d5-b58d-7c99-a743-7ca0397b7f5d","signal_type":["ExecutionFailureToolNotFound"]}]}},"required":["body"],"additionalProperties":false,"definitions":{"create_export_request":{"type":"object","description":"Request body to create a new signals data export.","properties":{"type":{"type":"string","description":"The scope of the export. `agent` exports Signals conversations for one Harness Runtime environment and requires `environment_id` (or deprecated `agent_id`). `inference` exports Serverless Inference Signals conversations for the whole team (team-wide; omit `environment_id` and `agent_id`). Defaults to `agent` when `environment_id` or `agent_id` is provided and to `inference` when both are omitted.","enum":["agent","inference"],"examples":["agent"]},"environment_id":{"type":"string","format":"uuid","description":"The environment whose data should be exported. For Harness Runtime, this is the Environment Config ID. Required when `type` is `agent` if `agent_id` is omitted; must be omitted when `type` is `inference`. Prefer this over `agent_id`.","examples":["01a0f3d5-b58d-7c99-a743-7ca0397b7f5d"]},"agent_id":{"type":"string","format":"uuid","description":"Deprecated alias for `environment_id`. Accepted for backward compatibility; must equal `environment_id` when both are set. Both set and different returns 400. Required when `type` is `agent` if `environment_id` is omitted; must be omitted when `type` is `inference`.","examples":["01a0f3d5-b58d-7c99-a743-7ca0397b7f5d"]},"signal_type":{"type":"array","items":{"type":"string"},"description":"Filter the export to only include the specified signal types. Use the export options endpoint to list available values.","examples":[["ExecutionFailureToolNotFound"]]},"session_ids":{"type":"array","description":"Optional list of specific session IDs to include in the export.","items":{"type":"string","format":"uuid"},"examples":[["01a0f3d5-d5f1-798a-9352-2cd8f8b81e78"]]},"start_time":{"type":"string","format":"date-time","description":"Include only sessions that started at or after this timestamp.","examples":["2026-09-01T00:00:00Z"]},"end_time":{"type":"string","format":"date-time","description":"Include only sessions that started at or before this timestamp.","examples":["2026-10-01T00:00:00Z"]}}}}},"name":"Create an Export Job","id":"digitalocean.signals_create_export","example":{"body":{}},"maxRequests":1,"summary":false}}