# List project input requests

`listProjectInputRequests(command: RunsListProjectInputRequestsCommand!): RunsInputRequestConnection!`

## Arguments

| Argument  | Type                                                                                                       | Required |
| --------- | ---------------------------------------------------------------------------------------------------------- | -------- |
| `command` | [`RunsListProjectInputRequestsCommand!`](/docs/cloud/graphql/types/runslistprojectinputrequestscommand.md) | Yes      |

## Input fields

### command

[`RunsListProjectInputRequestsCommand`](/docs/cloud/graphql/types/runslistprojectinputrequestscommand.md)

| Field              | Type                                             | Required | Description                                                         |
| ------------------ | ------------------------------------------------ | -------- | ------------------------------------------------------------------- |
| `projectReference` | [`String!`](/docs/cloud/graphql/types/string.md) | Yes      |                                                                     |
| `status`           | [`String`](/docs/cloud/graphql/types/string.md)  | No       | Lifecycle status for the target record.                             |
| `cursor`           | [`String`](/docs/cloud/graphql/types/string.md)  | No       |                                                                     |
| `limit`            | [`Float`](/docs/cloud/graphql/types/float.md)    | No       | Maximum number of records in a page, from 1 to 100. Defaults to 20. |

## Response

Returns [`RunsInputRequestConnection!`](/docs/cloud/graphql/types/runsinputrequestconnection.md). Open the type for its fields and nested types.

| Field      | Type                                                                    | Description                                                            |
| ---------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `data`     | [`[RunsInputRequest!]!`](/docs/cloud/graphql/types/runsinputrequest.md) |                                                                        |
| `pageInfo` | [`PageInfo!`](/docs/cloud/graphql/types/pageinfo.md)                    | Opaque cursor for the next page; null means there are no more results. |

Types marked with `!` cannot be null. Lists use `[Type]` notation. The [type index](/docs/cloud/graphql/schema.md) lists all published input and response types.

## Example

```graphql title="query.graphql"
query ListProjectInputRequests($command: RunsListProjectInputRequestsCommand!) {
  listProjectInputRequests(command: $command) {
    data {
      projectId
      runId
      status
      createdAt
      canRespond
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
```

```json title="variables.json"
{
  "command": {
    "projectReference": "example"
  }
}
```
