integrationReadiness

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.

Arguments

  • projectReferenceString!required

    Project ID or slug. The caller needs project.integrations.read on it. Run tokens and service accounts are refused as forbidden.

  • nameString!required

    Integration name, 1 to 128 characters.

  • toolNameString!required

    Qualified tool name in the namespace of the integration, 1 to 256 characters.

  • connectionIdID

    Exact connection to evaluate.

  • expectedConnectionGenerationIdID

    Observed generation of the connection. Requires connectionId.

Responses

query IntegrationReadiness($projectReference: String!, $name: String!, $toolName: String!) {  integrationReadiness(projectReference: $projectReference, name: $name, toolName: $toolName) {    version    selection {      projectId      integration      toolName      requestedConnectionId      state      mode      scope      connectionId      connectionGenerationId    }    connection {      state    }    account {      state      id      displayName      evidence    }    credentials {      evidence      missingKeys    }    localEligibility {      state      basis      requiredCapability      blockers      pendingChecks    }    providerVerification {      state    }  }}
{  "data": {    "integrationReadiness": {      "version": 0,      "selection": {        "projectId": "string",        "integration": "string",        "toolName": "string",        "requestedConnectionId": "string",        "state": "string",        "mode": "string",        "scope": "string",        "connectionId": "string",        "connectionGenerationId": "string"      },      "connection": {        "state": "string"      },      "account": {        "state": "string",        "id": "string",        "displayName": "string",        "evidence": "string"      },      "credentials": {        "evidence": "string",        "missingKeys": [          "string"        ]      },      "localEligibility": {        "state": "string",        "basis": "string",        "requiredCapability": "string",        "blockers": [          "string"        ],        "pendingChecks": [          "string"        ]      },      "providerVerification": {        "state": "string"      }    }  }}

The SelectedIntegrationReadiness! in data.integrationReadiness.