Skip to main content
POST
Retrieves a paginated list of traces matching your filters. This endpoint supports both POST (recommended for complex filters) and GET for simple queries.

Authentication

All endpoints require API key authentication:

Query Parameters

Supported Sort Fields

  • timestamp, start_time, end_time, duration
  • total_cost, total_tokens, total_prompt_tokens, total_completion_tokens
  • span_count, llm_call_count, error_count

Request Body (POST)

Use filters to refine results server-side. See the Filters API Reference for complete operators and format documentation.

Available Filter Fields

  • trace_unique_id, customer_identifier, environment
  • span_count, llm_call_count, error_count
  • total_cost, total_tokens, total_prompt_tokens, total_completion_tokens
  • duration, workflow_name (span_workflow_name)
  • Custom metadata via metadata__your_field

Examples

Response

Field Descriptions

Error Responses

400 Bad Request
401 Unauthorized
500 Internal Server Error