experiments

Resume a wait workflow trace

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

patch/api/v2/experiments/{experiment_id}/logs/{log_id}/

Path parameters

experiment_idstring required

Experiment ID returned as id in experiment responses.

log_idstring required

Trace ID returned as id in experiment trace list responses.

Headers

Authorizationstring required

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, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.

Request body

{"stackTrail":"paths:/api/v2/experiments/{experiment_id}/logs/{log_id}/:patch:requestBody:content:application/json:schema:properties:input","oasType":"schema","type":"unknown","description":"Input data for the workflow."}
{"stackTrail":"paths:/api/v2/experiments/{experiment_id}/logs/{log_id}/:patch:requestBody:content:application/json:schema:properties:output","oasType":"schema","type":"unknown","description":"Output data from the workflow."}
metricsobject

Numeric metrics such as cost, latency, and token counts.

metadataobject

Additional metadata to attach to the trace.

Response

Trace resumed.

idstring required
trace_unique_idstring required
statusstring required

Changes