For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • POSTCreate an experiment
      • POSTFilter experiments
      • GETRetrieve an experiment
      • DELDelete an experiment
      • GETList or export experiment traces
      • POSTFilter experiment traces
      • GETRetrieve an experiment trace
      • PATCHResume a wait workflow trace
      • GETGet experiment trace summary
      • GETList experiments
      • GETList experiments with filters
      • GETGet experiments summary
      • POSTFilter experiments summary
      • PUTReplace an experiment
      • PATCHUpdate an experiment
      • POSTFilter experiment trace summary
      • GETGet experiment score histogram
      • POSTGet experiment score histogram with filters
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferenceExperiments

Resume a wait workflow trace

PATCH
https://api.respan.ai/api/v2/experiments/:experiment_id/logs/:log_id/
PATCH
/api/v2/experiments/:experiment_id/logs/:log_id/
$curl -X PATCH https://api.respan.ai/api/v2/experiments/experiment_id/logs/log_id/ \
> -H "Authorization: Bearer sk_live_xxxxx" \
> -H "Content-Type: application/json" \
> -d '{
> "input": null,
> "output": null,
> "metadata": {
> "source": "external_runner"
> }
>}'
1{
2 "id": "trace_456",
3 "trace_unique_id": "trace_456",
4 "status": "success"
5}

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

Was this page helpful?
Previous

Get experiment trace summary

Next
Built with

Path parameters

experiment_idstringRequired

Experiment ID returned as id in experiment responses.

log_idstringRequired

Trace ID returned as id in experiment trace list responses.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.

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