run

Stats Runs

Get all runs by query in body payload.

post/api/v1/runs/stats

Request body

idstring[] nullable
tracestring uuid nullable
parent_runstring uuid nullable
run_type'tool' | 'chain' | 'llm' | 'retriever' | 'embedding' | 'prompt' | 'parser'

Enum for run types.

sessionstring[] nullable
reference_examplestring[] nullable
execution_orderinteger nullable
start_timestring date-time nullable
end_timestring date-time nullable
errorboolean nullable
querystring nullable
filterstring nullable
trace_filterstring nullable
tree_filterstring nullable
is_rootboolean nullable
data_source_type'current' | 'historical' | 'lite' | 'root_lite' | 'runs_feedbacks_rmt_wide'

Enum for run data source types.

skip_paginationboolean nullable
search_filterstring nullable
use_experimental_searchboolean
groupsstring[] nullable
selectRunStatsSelect[] nullable

Response

Successful Response

OR
object required

Changes

Changed in 1 of the 48 revisions of this API.20

    • response property anyOf[subschema #1: RunStats]/completion_cost list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #1: RunStats]/cost_p50 list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #1: RunStats]/cost_p99 list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #1: RunStats]/prompt_cost list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #1: RunStats]/total_cost list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #2]/additionalProperties/completion_cost list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #2]/additionalProperties/cost_p50 list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #2]/additionalProperties/cost_p99 list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #2]/additionalProperties/prompt_cost list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property anyOf[subschema #2]/additionalProperties/total_cost list-of-types was widened by adding types number to media type application/json of response 200

      response-property-list-of-types-widened

    • the anyOf[subschema #1: RunStats]/completion_cost/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #1: RunStats]/cost_p50/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #1: RunStats]/cost_p99/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #1: RunStats]/prompt_cost/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #1: RunStats]/total_cost/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #2]/additionalProperties/completion_cost/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #2]/additionalProperties/cost_p50/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #2]/additionalProperties/cost_p99/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #2]/additionalProperties/prompt_cost/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

    • the anyOf[subschema #2]/additionalProperties/total_cost/anyOf[subschema #1]/ response's property type/format changed from string/ to number/ for status 200

      response-property-type-changed

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