Runs
Get a specific run
Getting Started
Audit Logs
Datasets
- GETList datasets
- POSTCreate a new dataset
- GETGet dataset by ID or slug
- DELDelete a dataset
- PATCHUpdate a dataset
- POSTCreate a new prompt
- GETGet prompt by ID
- DELDelete a prompt
- PATCHUpdate a prompt
- GETGet prompt variation by ID
- DELDelete a prompt variation
- PATCHUpdate a prompt variation
- POSTCreate a new prompt variation
Runs
Templates
Runs
Get a specific run
Retrieve detailed information about a specific run by its ID.
GET
/
v1
/
runs
/
{id}
curl --request GET \
--url https://api.lunary.ai/v1/runs/{id}
{
"id": "<string>",
"projectId": "<string>",
"isPublic": true,
"feedback": {
"score": 123,
"flags": [
"<string>"
],
"comment": "<string>"
},
"parentFeedback": {
"score": 123,
"flags": [
"<string>"
],
"comment": "<string>"
},
"type": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"endedAt": "2023-11-07T05:31:56Z",
"duration": 123,
"templateVersionId": "<string>",
"templateSlug": "<string>",
"cost": 123,
"tokens": {
"completion": 123,
"prompt": 123,
"total": 123
},
"tags": [
"<string>"
],
"input": {},
"output": {},
"error": {},
"status": "<string>",
"siblingRunId": "<string>",
"params": {},
"metadata": {},
"user": {
"id": "<string>",
"externalId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastSeen": "2023-11-07T05:31:56Z",
"props": {}
},
"traceId": "<string>"
}
Path Parameters
Response
200
application/json
Successful response
curl --request GET \
--url https://api.lunary.ai/v1/runs/{id}
{
"id": "<string>",
"projectId": "<string>",
"isPublic": true,
"feedback": {
"score": 123,
"flags": [
"<string>"
],
"comment": "<string>"
},
"parentFeedback": {
"score": 123,
"flags": [
"<string>"
],
"comment": "<string>"
},
"type": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"endedAt": "2023-11-07T05:31:56Z",
"duration": 123,
"templateVersionId": "<string>",
"templateSlug": "<string>",
"cost": 123,
"tokens": {
"completion": 123,
"prompt": 123,
"total": 123
},
"tags": [
"<string>"
],
"input": {},
"output": {},
"error": {},
"status": "<string>",
"siblingRunId": "<string>",
"params": {},
"metadata": {},
"user": {
"id": "<string>",
"externalId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastSeen": "2023-11-07T05:31:56Z",
"props": {}
},
"traceId": "<string>"
}