Runs
Get runs
The Runs API endpoint allows you to retrieve data about specific runs from your Lunary application.
The most common run types are 'llm', 'agent', 'chain', 'tool', 'thread' and 'chat'.
It supports various filters to narrow down the results according to your needs.
This endpoint supports GET requests and expects query parameters for filtering the results.
get/v1/runs
Request
- Base URLhttps://api.lunary.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
type'llm' | 'trace' | 'thread'
searchstring
modelsstring[]
tagsstring[]
tokensstring
exportType'csv' | 'jsonl'
minDurationstring
maxDurationstring
startTimestring
endTimestring
parentRunIdstring
limitstring
pagestring
orderstring
sortFieldstring
sortDirection'asc' | 'desc'
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.