Skip to main content
GET
/
v1
/
runs
/
{id}
/
related
Get related runs
curl --request GET \
  --url https://api.lunary.ai/v1/runs/{id}/related
[
  {
    "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": {},
    "firstMessage": {},
    "messagesCount": 123,
    "user": {
      "id": "<string>",
      "externalId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "lastSeen": "2023-11-07T05:31:56Z",
      "props": {}
    },
    "traceId": "<string>"
  }
]

Path Parameters

id
string
required

Response

Successful response

id
string
projectId
string
isPublic
boolean
feedback
object
parentFeedback
object
type
string
name
string
createdAt
string<date-time>
endedAt
string<date-time>
duration
number
templateVersionId
string
templateSlug
string
cost
number
tokens
object
tags
string[]
input
object
output
object
error
object
status
string
siblingRunId
string
params
object
metadata
object
firstMessage
object

First message captured in the conversation thread, when available.

messagesCount
integer

Total number of messages within the conversation thread.

user
object
traceId
string