Traces

Search traces

Search traces

post/v1/private/traces/search

Request body

project_namestring
project_idstring uuid
last_retrieved_idstring uuid
limitinteger

Max number of traces to be streamed

truncateboolean

Truncate input, output and metadata to slim payloads

strip_attachmentsboolean

If true, returns attachment references like [file.png]; if false, downloads and reinjects stripped attachments

excludestring[]

Fields to exclude from the response

from_timestring date-time

Filter traces created from this time (ISO-8601 format).

to_timestring date-time

Filter traces created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.

Changes

Changed in 6 of the 58 revisions of this API.31212

    • added the new CUSTOM_CLASSIFIER enum value to the items/anyOf[Trace_Public]/guardrails_validations/items/checks/items/name response property for the response status 200

      response-property-enum-value-added

    • added the new LLM_JUDGE enum value to the items/anyOf[Trace_Public]/guardrails_validations/items/checks/items/name response property for the response status 200

      response-property-enum-value-added

    • added the new PROMPT_INJECTION enum value to the items/anyOf[Trace_Public]/guardrails_validations/items/checks/items/name response property for the response status 200

      response-property-enum-value-added

    • added the new evaluator enum value to the items/anyOf[Trace_Public]/source response property for the response status 200

      response-property-enum-value-added

    • added the optional property items/anyOf[Trace_Public]/feedback_scores/items/value_by_author/additionalProperties/author to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[Trace_Public]/feedback_scores/items/value_by_author/additionalProperties/source_queue_id to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[Trace_Public]/span_feedback_scores/items/value_by_author/additionalProperties/author to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[Trace_Public]/span_feedback_scores/items/value_by_author/additionalProperties/source_queue_id to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[Trace_Public]/comments/items/source_queue_id to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[Trace_Public]/feedback_scores/items/source_queue_id to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[Trace_Public]/span_feedback_scores/items/source_queue_id to the response with the 200 status

      response-optional-property-added

    • added the new environment enum value to the request property exclude/items/

      request-property-enum-value-added

    • added the new in enum value to the request property filters/items/operator

      request-property-enum-value-added

    • added the new not_in enum value to the request property filters/items/operator

      request-property-enum-value-added

    • added the optional property items/anyOf[Trace_Public]/environment to the response with the 200 status

      response-optional-property-added

  • d606e84c75e4381See the full diff
    • removed the enum value environment of the request property exclude/items/

      request-property-enum-value-removed

    • removed the enum value in of the request property filters/items/operator

      request-property-enum-value-removed

    • removed the enum value not_in of the request property filters/items/operator

      request-property-enum-value-removed

    • removed the optional property items/anyOf[Trace_Public]/comments/items/source_queue_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/anyOf[Trace_Public]/environment from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/anyOf[Trace_Public]/feedback_scores/items/source_queue_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/anyOf[Trace_Public]/feedback_scores/items/value_by_author/additionalProperties/author from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/anyOf[Trace_Public]/feedback_scores/items/value_by_author/additionalProperties/source_queue_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/anyOf[Trace_Public]/span_feedback_scores/items/source_queue_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/anyOf[Trace_Public]/span_feedback_scores/items/value_by_author/additionalProperties/author from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/anyOf[Trace_Public]/span_feedback_scores/items/value_by_author/additionalProperties/source_queue_id from the response with the 200 status

      response-optional-property-removed

    • removed the evaluator enum value from the items/anyOf[Trace_Public]/source response property for the response status 200

      response-property-enum-value-removed

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog