v1

latestOpenAPI 3.1.02026-07-2631411.5 MB
Orchestration - Traces

Count traces

Count orchestration traces matching the filter.

post/orchestration/traces/count

Request body

workflowUuidstring uuid

When set, restrict traces to this workflow. Omit to search across workflows in the workspace.

statusesstring[]

Filter traces by their derived status (pending if any span anywhere in the trace is still pending, error if any of the root run's spans has errored, otherwise success).

startedAfterstring required

Include traces whose first execution started after this timestamp (ISO string). Required.

startedBeforestring

Include traces whose first execution started on or before this timestamp (ISO string).

Response

Successful response

countnumber required

Number of traces matching the filter.