v3
latestOpenAPI 3.1.02026-07-311,4541,5202.3 MBUpdate Experiment Span
Update experiment trace with customer-provided data.
Customer uploads the same format they see in the list endpoint: { "id": "551ba4023fc646b4859993a31665bff2", "input": "[{"role": "system", "content": "you are a helpful...", "output": "{"message": "Workflow result...", "name": "updated_experiment_trace", ... any other fields they want to update }
PATCH workflow:
- Get trace_unique_id from URL (same as 'id' in list endpoint)
- Retrieve existing object using cached get_full_object_by_unique_id
- Update fields provided by customer
- Re-insert updated object
- Return updated trace in same format as GET endpoint
Response: Updated trace in same format as GET/list endpoints
Path parameters
Headers
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.