Resume a wait workflow trace

Submit results for a paused wait workflow trace. The backend resumes the workflow and then runs the configured evaluators.

Authentication

AuthorizationBearer

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.

OR
AuthorizationBearer

Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.

Path parameters

experiment_idstringRequired

Experiment ID returned as id in experiment responses.

log_idstringRequired

Trace ID returned as id in experiment trace list responses.

Request

Submit results for a paused wait workflow trace. input and output may be any JSON-serializable value.

inputanyRequired
Input data for the workflow.
outputanyRequired
Output data from the workflow.
metricsmap from strings to anyOptional
Numeric metrics such as cost, latency, and token counts.
metadatamap from strings to anyOptional
Additional metadata to attach to the trace.

Response

Trace resumed.
idstring
trace_unique_idstring
statusstring

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error