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>"
}
Retrieve detailed information about a specific run by its 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>"
}
Successful response
The response is of type object
.