# listRunInputRequests

```graphql
query ListRunInputRequests($command: RunsListRunInputRequestsCommand!) {
  listRunInputRequests(command: $command) {
    data {
      inputRequestId
      projectId
      runId
      kind
      delivery
      title
      fields
      status
      requestedResponderType
      response
      createdAt
      expiresAt
      resolvedAt
      toolCallId
      conversationId
      description
      metadata
      canRespond
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}
```

List run input requests.

## Arguments

| Name             | Type                             | Required | Description                                                         |
| ---------------- | -------------------------------- | -------- | ------------------------------------------------------------------- |
| `command`        | RunsListRunInputRequestsCommand! | Yes      |                                                                     |
| `command.runId`  | ID!                              | Yes      |                                                                     |
| `command.status` | String                           |          | Lifecycle status for the target record.                             |
| `command.cursor` | String                           |          |                                                                     |
| `command.limit`  | Float                            |          | Maximum number of records in a page, from 1 to 100. Defaults to 20. |

## Variables

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

## Responses

| Status | Description                                                   |
| ------ | ------------------------------------------------------------- |
| 200    | The RunsInputRequestConnection! in data.listRunInputRequests. |

## 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 ListRunInputRequests($command: RunsListRunInputRequestsCommand!) {\n  listRunInputRequests(command: $command) {\n    data {\n      inputRequestId\n      projectId\n      runId\n      kind\n      delivery\n      title\n      fields\n      status\n      requestedResponderType\n      response\n      createdAt\n      expiresAt\n      resolvedAt\n      toolCallId\n      conversationId\n      description\n      metadata\n      canRespond\n    }\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n  }\n}",
  "variables": {
    "command": {
      "runId": "string"
    }
  }
}'
```

## Example response

```json
{
  "data": {
    "listRunInputRequests": {
      "data": [
        {
          "inputRequestId": "string",
          "projectId": "string",
          "runId": "string",
          "kind": "string",
          "delivery": "string",
          "title": "string",
          "fields": [
            {}
          ],
          "status": "string",
          "requestedResponderType": "string",
          "response": {},
          "createdAt": "string",
          "expiresAt": "string",
          "resolvedAt": "string",
          "toolCallId": "string",
          "conversationId": "string",
          "description": "string",
          "metadata": {},
          "canRespond": false
        }
      ],
      "pageInfo": {
        "hasNextPage": false,
        "hasPreviousPage": false,
        "startCursor": "string",
        "endCursor": "string"
      }
    }
  }
}
```
