tracking
Close Trace
Changed onMarks a trace as closed, preventing any further span ingestion for that trace. Once closed, subsequent calls to /spans-bulk or /v1/traces that include spans for this trace will have those spans rejected.
post/api/public/v2/traces/{trace_id}/close
Request
- Base URLhttps://docs.promptlayer.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
- TypeScripthttps://skmtc.dev/promptlayer/apis/promptlayer-api/docs/api/public/v2/traces/:trace_id/close/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
trace_idstring required
The trace ID to close.
Response
Trace successfully closed.
Changes
- info
endpoint added
- info