# Check integration readiness

```http
GET /projects/{project_reference}/integrations/{name}/readiness
```

Check whether one integration tool can run now in a project, before a run or to explain why a run was blocked; returns the selected connection, its state and the local blockers from stored metadata only, where a blocked or missing selection is a result and the provider is not contacted. Requires project.integrations.read.

## Parameters

| Name                                | In    | Required | Description                                                                                |
| ----------------------------------- | ----- | -------- | ------------------------------------------------------------------------------------------ |
| `project_reference`                 | path  | Yes      | Project slug, UUID, or domain that identifies the project.                                 |
| `name`                              | path  | Yes      | Integration name, for example "salesforce".                                                |
| `tool_name`                         | query | Yes      | Qualified tool name in the namespace of the integration, for example github\_\_list-repos. |
| `connection_id`                     | query |          | Exact connection to evaluate.                                                              |
| `expected_connection_generation_id` | query |          | Observed generation of the connection. Requires connection\_id.                            |

## Responses

| Status | Description                                                                                                             |
| ------ | ----------------------------------------------------------------------------------------------------------------------- |
| 200    | The readiness of the selected tool. A blocked, missing or ambiguous selection is a result, not an error.                |
| 400    | invalid\_input: tool\_name is missing or outside the namespace of the integration, or a connection selector is invalid. |
| 401    | unauthenticated: no valid credential was sent.                                                                          |
| 403    | forbidden: the credential lacks project.integrations.read, or it is a run token or a service account.                   |
| 404    | not\_found: the project does not exist or is not accessible.                                                            |
| 500    | internal: the check failed unexpectedly.                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.             |
