v48

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-275867561.6 MB
public

Stats Shared Dataset Runs

Get run stats in projects run over a dataset that has been shared.

post/api/v1/public/{share_token}/datasets/runs/stats

Path parameters

share_tokenstring uuid required

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

run_countinteger nullable
latency_p50number nullable
latency_p99number nullable
first_token_p50number nullable
first_token_p99number nullable
total_tokensinteger nullable
prompt_tokensinteger nullable
completion_tokensinteger nullable
median_tokensinteger nullable
completion_tokens_p50integer nullable
prompt_tokens_p50integer nullable
tokens_p99integer nullable
completion_tokens_p99integer nullable
prompt_tokens_p99integer nullable
last_run_start_timestring date-time nullable
feedback_statsobject nullable
run_facetsobject[] nullable
error_ratenumber nullable
streaming_ratenumber nullable
total_costnumber nullable
prompt_costnumber nullable
completion_costnumber nullable
cost_p50number nullable
cost_p99number nullable
prompt_token_detailsobject nullable
completion_token_detailsobject nullable
prompt_cost_detailsobject nullable
completion_cost_detailsobject nullable