# listProjectInputRequests

```graphql
query ListProjectInputRequests($command: RunsListProjectInputRequestsCommand!) {
  listProjectInputRequests(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 the input requests in a project that the caller can see.

## Arguments

| Name                       | Type                                 | Required | Description                                                         |
| -------------------------- | ------------------------------------ | -------- | ------------------------------------------------------------------- |
| `command`                  | RunsListProjectInputRequestsCommand! | Yes      |                                                                     |
| `command.projectReference` | String!                              | 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": {
    "projectReference": "string"
  }
}
```

## Responses

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

## 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 ListProjectInputRequests($command: RunsListProjectInputRequestsCommand!) {\n  listProjectInputRequests(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": {
      "projectReference": "string"
    }
  }
}'
```

## Example response

```json
{
  "data": {
    "listProjectInputRequests": {
      "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"
      }
    }
  }
}
```
