pydo.signals.create_export()
Generated on 13 Nov 2026
from pydo version
v0.46.0
Usage
client.signals.create_export(
body={
"type": "agent",
"environment_id": "01a0f3d5-b58d-7c99-a743-7ca0397b7f5d",
"agent_id": "01a0f3d5-b58d-7c99-a743-7ca0397b7f5d",
...,
},
)Description
To create a new signals data export, send a POST request to
/v1/signals/exports. To export one Harness Runtime environment, include its
environment_id (type defaults to agent). Deprecated agent_id is still
accepted. To export the team’s Serverless Inference Signals conversations, set
type to inference and omit environment_id and agent_id. You may
optionally filter the export by signal_type,
session_ids, start_time, and end_time. Use the export options endpoint
to discover available signal types.
The export job runs asynchronously. Poll the get export endpoint to check its status. When complete, use the download endpoint to retrieve a pre-signed URL.
Parameters
typestring optionalThe scope of the export.
agentexports Signals conversations for one Harness Runtime environment and requiresenvironment_id(or deprecatedagent_id).inferenceexports Serverless Inference Signals conversations for the whole team (team-wide; omitenvironment_idandagent_id). Defaults toagentwhenenvironment_idoragent_idis provided and toinferencewhen both are omitted.environment_idstring optionalExample:
01a0f3d5-b58d-7c99-a743-7ca0397b7f5dThe environment whose data should be exported. For Harness Runtime, this is the Environment Config ID. Required when
typeisagentifagent_idis omitted; must be omitted whentypeisinference. Prefer this overagent_id.agent_idstring optional deprecatedExample:
01a0f3d5-b58d-7c99-a743-7ca0397b7f5dDeprecated alias for
environment_id. Accepted for backward compatibility; must equalenvironment_idwhen both are set. Both set and different returns 400. Required whentypeisagentifenvironment_idis omitted; must be omitted whentypeisinference.signal_typearray of strings optionalExample:
['ExecutionFailureToolNotFound']Filter the export to only include the specified signal types. Use the export options endpoint to list available values.
session_idsarray of strings optionalExample:
['01a0f3d5-d5f1-798a-9352-2cd8f8b81e78']Optional list of specific session IDs to include in the export.
start_timestring optionalExample:
2026-09-01T00:00:00ZInclude only sessions that started at or after this timestamp.
end_timestring optionalExample:
2026-10-01T00:00:00ZInclude only sessions that started at or before this timestamp.
Request Sample
Response Example
More Information
See /v1/signals/exports in the API reference for additional detail on responses, headers, parameters, and more.