Request Parameters
The environment name.
List of environment names to filter by.
List of environment project IDs to filter by.
Start time in Unix seconds timestamp.
End time in Unix seconds timestamp.
Filter spans by workflow name.
Key-value pairs of attributes to filter by.
Filter spans by span name.
Sort order for results. Accepted values:
asc or desc.Field to sort by (e.g.,
timestamp, duration).Deprecated: Use
compositeCursor instead. Pagination cursor for fetching
the next set of results.Advanced pagination cursor for fetching the next set of results.
Maximum number of spans to return.
Array of filter conditions to apply to the query.
Logical operator to apply between filter conditions. Accepted values:
AND or
OR.Response
Returns an array of Span objects:The organization ID associated with the span.
The environment where the span was captured.
The timestamp when the span was created.
The unique trace identifier.
The unique span identifier.
The parent span identifier.
The trace state information.
The name of the span.
The kind of span (e.g., CLIENT, SERVER, INTERNAL).
The name of the service that generated the span.
Key-value pairs of resource attributes.
The instrumentation scope name.
The instrumentation scope version.
Key-value pairs of span attributes.
The workflow name associated with the span.
The duration of the span in nanoseconds.
The status code of the span (e.g., OK, ERROR).
The status message providing additional context.
Array of event names associated with the span.
Array of event attributes as key-value pairs.
Prompt data associated with the span.
Completion data associated with the span.
Input data for the span.
Output data for the span.

