# listConversationChildRuns

```graphql
query ListConversationChildRuns($command: RunsListConversationChildRunsCommand!) {
  listConversationChildRuns(command: $command) {
    data {
      id
      runId
      status
      projectId
      input
      output
      title
      labels
      parentRunId
      rootRunId
      createdAt
      updatedAt
      startedAt
      finishedAt
      config
      taskId
      conversationId
      inputMessageId
      outputMessageId
      batchId
      metadata
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}
```

List conversation child runs. Requires project.runs.read.

## Arguments

| Name                     | Type                                  | Required | Description                                                         |
| ------------------------ | ------------------------------------- | -------- | ------------------------------------------------------------------- |
| `command`                | RunsListConversationChildRunsCommand! | Yes      |                                                                     |
| `command.conversationId` | ID!                                   | Yes      |                                                                     |
| `command.toolCallId`     | ID                                    |          |                                                                     |
| `command.cursor`         | String                                |          |                                                                     |
| `command.limit`          | Float                                 |          | Maximum number of records in a page, from 1 to 100. Defaults to 20. |

## Variables

```json
{
  "command": {
    "conversationId": "string"
  }
}
```

## Responses

| Status | Description                                               |
| ------ | --------------------------------------------------------- |
| 200    | The RunsRunConnection! in data.listConversationChildRuns. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "query ListConversationChildRuns($command: RunsListConversationChildRunsCommand!) {\n  listConversationChildRuns(command: $command) {\n    data {\n      id\n      runId\n      status\n      projectId\n      input\n      output\n      title\n      labels\n      parentRunId\n      rootRunId\n      createdAt\n      updatedAt\n      startedAt\n      finishedAt\n      config\n      taskId\n      conversationId\n      inputMessageId\n      outputMessageId\n      batchId\n      metadata\n    }\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n  }\n}",
  "variables": {
    "command": {
      "conversationId": "string"
    }
  }
}'
```

## Example response

```json
{
  "data": {
    "listConversationChildRuns": {
      "data": [
        {
          "id": "string",
          "runId": "string",
          "status": "string",
          "projectId": "string",
          "input": {},
          "output": {},
          "title": "string",
          "labels": {},
          "parentRunId": "string",
          "rootRunId": "string",
          "createdAt": "string",
          "updatedAt": "string",
          "startedAt": "string",
          "finishedAt": "string",
          "config": {},
          "taskId": "string",
          "conversationId": "string",
          "inputMessageId": "string",
          "outputMessageId": "string",
          "batchId": "string",
          "metadata": {}
        }
      ],
      "pageInfo": {
        "hasNextPage": false,
        "hasPreviousPage": false,
        "startCursor": "string",
        "endCursor": "string"
      }
    }
  }
}
```
