> ## Documentation Index
> Fetch the complete documentation index at: https://docs.labelbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reserve an integration connection before activation

> Creates or returns a pending integration using the caller's stable deploymentKey. Repeating the same request returns the same connection, including after activation. At most 20 live pending connections are allowed per provider and organization; if the limit is reached, finish or disconnect one before reserving another. An operator later signs in or adds the required token using this connection ID; agents may be granted it while pending but cannot use it until activation succeeds. To finish an install-based connection, start POST /managed-agents/v2/integrations/{provider}/install with connectionId set to this ID; if completion returns options, repeat that call with option set to the selected value and the same connectionId.



## OpenAPI

````yaml /recursion/openapi.yaml post /managed-agents/v2/integrations/connections/prepare
openapi: 3.1.0
info:
  title: Managed Agents API
  version: 0.18.0
  description: >-
    The Recursion Managed Agents REST API. Authenticate with a Recursion API key
    as a bearer token. An organization-scoped key acts in its own organization
    and needs nothing else; a tenant-scoped key must also send
    `x-organization-id` with an organization id or `default`. Field names follow
    each operation's published schema.
servers:
  - url: https://api.recursion.labelbox.com
security:
  - bearerAuth: []
paths:
  /managed-agents/v2/integrations/connections/prepare:
    post:
      tags:
        - Integrations
      summary: Reserve an integration connection before activation
      description: >-
        Creates or returns a pending integration using the caller's stable
        deploymentKey. Repeating the same request returns the same connection,
        including after activation. At most 20 live pending connections are
        allowed per provider and organization; if the limit is reached, finish
        or disconnect one before reserving another. An operator later signs in
        or adds the required token using this connection ID; agents may be
        granted it while pending but cannot use it until activation succeeds. To
        finish an install-based connection, start POST
        /managed-agents/v2/integrations/{provider}/install with connectionId set
        to this ID; if completion returns options, repeat that call with option
        set to the selected value and the same connectionId.
      operationId: managedAgentsRegisterPendingIntegrationConnectionV2
      parameters:
        - $ref: '#/components/parameters/RecursionTenantId'
        - $ref: '#/components/parameters/RecursionOrganizationId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/StandaloneV2RegisterPendingIntegrationConnectionRequest
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandaloneV2PreparedIntegrationConnection'
          description: OK
          headers:
            Location:
              description: Relative URL of the created or admitted resource.
              schema:
                type: string
              style: simple
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '400':
          description: Bad Request.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorInvalidJson'
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorInvalidRequest'
                discriminator:
                  propertyName: code
                  mapping:
                    invalid_json: '#/components/schemas/ManagedAgentsApiErrorInvalidJson'
                    invalid_request: '#/components/schemas/ManagedAgentsApiErrorInvalidRequest'
                x-recursion-error-codes:
                  - invalid_json
                  - invalid_request
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorUnauthorized'
                x-recursion-error-codes:
                  - unauthorized
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '403':
          description: Forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorForbidden'
                x-recursion-error-codes:
                  - forbidden
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '404':
          description: Not Found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorNotFound'
                x-recursion-error-codes:
                  - not_found
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '409':
          description: Conflict.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorConflict'
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorPendingConnectionLimit
                discriminator:
                  propertyName: code
                  mapping:
                    conflict: '#/components/schemas/ManagedAgentsApiErrorConflict'
                    pending_connection_limit: >-
                      #/components/schemas/ManagedAgentsApiErrorPendingConnectionLimit
                x-recursion-error-codes:
                  - conflict
                  - pending_connection_limit
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '413':
          description: Payload Too Large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorPayloadTooLarge'
                x-recursion-error-codes:
                  - payload_too_large
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '415':
          description: Unsupported Media Type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorUnsupportedMediaType'
                x-recursion-error-codes:
                  - unsupported_media_type
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '429':
          headers:
            Retry-After:
              description: When to retry, as delay seconds or an HTTP date.
              schema:
                type: string
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
          description: Too Many Requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorRateLimitExceeded'
                x-recursion-error-codes:
                  - rate_limit_exceeded
        '500':
          description: Internal Server Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorInternalError'
                x-recursion-error-codes:
                  - internal_error
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '502':
          description: A dependent service returned an invalid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorDependencyFailure'
                x-recursion-error-codes:
                  - bad_gateway
          headers:
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
        '503':
          headers:
            Retry-After:
              description: When to retry, as delay seconds or an HTTP date.
              schema:
                type: string
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
          description: Service Unavailable.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorManagedAgentsUnavailable
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorServiceUnavailable
                discriminator:
                  propertyName: code
                  mapping:
                    managed_agents_unavailable: >-
                      #/components/schemas/ManagedAgentsApiErrorManagedAgentsUnavailable
                    service_unavailable: >-
                      #/components/schemas/ManagedAgentsApiErrorServiceUnavailable
                x-recursion-error-codes:
                  - managed_agents_unavailable
                  - service_unavailable
        '504':
          headers:
            Retry-After:
              description: When to retry, as delay seconds or an HTTP date.
              schema:
                type: string
            recursion-organization-id:
              $ref: '#/components/headers/RecursionOrganizationId'
            recursion-tenant-id:
              $ref: '#/components/headers/RecursionTenantId'
          description: A dependent service timed out.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorDependencyTimeout'
                x-recursion-error-codes:
                  - gateway_timeout
components:
  parameters:
    RecursionTenantId:
      name: x-tenant-id
      in: header
      required: false
      description: >-
        Optional tenant consistency check. When present, it must name the tenant
        bound to the API key, including when x-organization-id is `default`.
      schema:
        minLength: 1
        type: string
    RecursionOrganizationId:
      name: x-organization-id
      in: header
      required: false
      description: >-
        Organization in which to act. Required for a tenant-scoped API key.
        Optional for an organization-scoped key, where it must name that same
        organization. The value may be an organization id or `default`.
      schema:
        minLength: 1
        type: string
  schemas:
    StandaloneV2RegisterPendingIntegrationConnectionRequest:
      additionalProperties: false
      properties:
        deploymentKey:
          description: >-
            Stable caller-owned key, 1 to 128 trimmed printable characters, for
            this organization's pending setup. Repeating the same request
            returns the same connection, including after activation; changing
            the request or reusing a disconnected key returns a conflict.
          maxLength: 128
          minLength: 1
          type: string
        label:
          description: Name that identifies the account the operator should connect later.
          maxLength: 80
          minLength: 1
          type: string
        organizationSlug:
          description: >-
            Required for Sentry: the organization whose issues this token must
            be able to read.
          maxLength: 100
          pattern: ^[a-z0-9][a-z0-9_-]{0,99}$
          type: string
          x-recursion-omission:
            strategy: absent
        permission:
          description: >-
            Required when this provider fixes its permission preset during
            sign-in. Choose one of its advertised permissions; agent grants must
            use that preset.
          type: string
          x-recursion-omission:
            strategy: absent
        provider:
          description: >-
            Provider id from the integration catalog. Providers requiring an
            account identifier before setup cannot be reserved through this API;
            add them in the console.
          minLength: 1
          type: string
        tools:
          description: >-
            Tools this connection may make available to agents. Required for
            providers with tools. Selected names together must fit within a 6
            KiB encoded list. Static catalogs validate names now; after
            activation, updating the connection's tool selection validates names
            for providers that list tools. Other tools stay unavailable until
            selected explicitly.
          items:
            maxLength: 100
            minLength: 1
            type: string
          maxItems: 200
          minItems: 1
          type: array
          uniqueItems: true
          x-recursion-omission:
            strategy: absent
      required:
        - provider
        - deploymentKey
        - label
      type: object
    StandaloneV2PreparedIntegrationConnection:
      properties:
        accountLogin:
          description: >-
            Name of the connected third-party account, e.g. the GitHub org or
            user login. Cached at install time for display, so no provider call
            is needed to show it.
          readOnly: true
          type: string
        accountType:
          description: >-
            Kind of account that was connected, as the provider reports it, e.g.
            Organization or User for GitHub and workspace for Slack.
          readOnly: true
          type: string
        availableMcpTools:
          description: >-
            On connection list, get, install-completion, and selection-update
            responses for a custom Slack app, Slack tools supported by its
            granted bot scopes and catalog availability. Some catalog tools
            remain unavailable regardless of scopes. Absent for non-custom
            connections; absence for a custom connection means no tools are
            available.
          items:
            type: string
          readOnly: true
          type: array
        connectedBy:
          description: >-
            User who added the connection or most recently completed its install
            or sign-in. Some later changes, such as activation by a check or a
            Sentry token replacement, keep it. Recorded for audit.
          readOnly: true
          type: string
        connectionId:
          description: >-
            Identifier for this connection (UUID). Server-assigned. Cite it when
            granting an agent access to the integration.
          readOnly: true
          type: string
        createdAt:
          description: RFC 3339 timestamp of when this record was created. Server-assigned.
          format: date-time
          readOnly: true
          type: string
        externalId:
          description: >-
            The provider's own identifier for the link, which token minting
            addresses. The installation id for GitHub; the composite
            {api_app_id}:{team_id} for authorized Slack connections; custom
            Slack setup not yet authorized uses pending:<uuid>; reserved
            integrations awaiting sign-in use pending_install:<connectionId>;
            the customer service-account email for Google Cloud.
          readOnly: true
          type: string
        lastCheck:
          $ref: '#/components/schemas/StandaloneV2IntegrationConnectionCheck'
          description: >-
            Latest saved connection health evidence, with the time it was
            observed. Within one authorization, a more serious custom Slack
            failure code (app token, then client credentials, then bot scope
            drift) replaces a less serious one regardless of observation time;
            lower priority and older equal priority evidence is not saved.
            Historical evidence, not a guarantee of current availability. Absent
            until health evidence has been saved.
          readOnly: true
        mcpTools:
          description: >-
            Native GitHub or Slack MCP tools selected for this organization,
            plus any tool a selected one implies (the GitHub wait_for_pr tool
            comes with pull_request_read). Slack user connections default to
            read tools; posting as the member must be selected explicitly. Other
            connections with no saved selection get every supported tool except
            opt-in tools that delete data. Custom Slack app selections are
            limited to availableMcpTools, which reflects granted bot scopes and
            catalog availability.
          items:
            type: string
          readOnly: true
          type: array
        mergeAccountLabel:
          description: >-
            Operator-assigned name for this connection. Required for a named
            built-in vendor account. Until a name is set, an unnamed built-in
            vendor connection is named by its app (accountType, or externalId
            when that is empty) and any other connection by accountLogin (or its
            externalId when that is empty); a set name can be changed but not
            cleared. Agents see the name of a built-in vendor connection beside
            the connector; it never changes routing, tool access or tool names.
          readOnly: true
          type: string
        organizationId:
          description: >-
            Organization that owns this record. Resolved from the API key; never
            accepted from the caller.
          readOnly: true
          type: string
        permissions:
          additionalProperties:
            type: string
          description: >-
            What the provider granted the install, as permission name to access
            level (e.g. contents: write). Used to narrow a minted token without
            a provider round trip and to explain why a permission preset is
            unavailable.
          readOnly: true
          type: object
        provider:
          description: >-
            Stable slug of the third-party integration adapter this connection
            uses.
          readOnly: true
          type: string
        resourceSelection:
          description: >-
            Whether the install covers all of the account's resources or only
            chosen ones: all or selected. Absent when unknown, for example when
            a provider's granted-access lookup failed; do not read absence as
            all. Informational only; the authoritative list stays at the
            provider.
          readOnly: true
          type: string
        selectedTools:
          description: >-
            Operator-selected ceiling that limits grants on this connection
            before and after activation. Unavailable names remain visible for
            correction and cannot be used by agents.
          items:
            type: string
          readOnly: true
          type: array
        state:
          description: >-
            Lifecycle of the connection: pending awaits provider setup, sign-in,
            or a required token; active can mint tokens; suspended is restorable
            at the provider and resolves to no credential; revoked was
            uninstalled and must be installed again.
          readOnly: true
          type: string
        updatedAt:
          description: >-
            RFC 3339 timestamp of the last change to this record.
            Server-assigned.
          format: date-time
          readOnly: true
          type: string
        usage:
          $ref: '#/components/schemas/StandaloneV2IntegrationConnectionUsage'
          description: >-
            Runtime usage counts, supplied on the connection list unless it is
            read with view=summary.
          readOnly: true
      required:
        - organizationId
        - connectionId
        - provider
        - externalId
        - state
        - createdAt
        - updatedAt
      type: object
      additionalProperties: false
    ManagedAgentsApiErrorInvalidJson:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - invalid_json
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorInvalidRequest:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - invalid_request
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorUnauthorized:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - unauthorized
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorForbidden:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - forbidden
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorNotFound:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - not_found
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorConflict:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - conflict
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorPendingConnectionLimit:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - pending_connection_limit
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorPayloadTooLarge:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - payload_too_large
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorUnsupportedMediaType:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - unsupported_media_type
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorRateLimitExceeded:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - rate_limit_exceeded
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorInternalError:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - internal_error
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorDependencyFailure:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - bad_gateway
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorManagedAgentsUnavailable:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - managed_agents_unavailable
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorServiceUnavailable:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - service_unavailable
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorDependencyTimeout:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - gateway_timeout
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          $ref: '#/components/schemas/ManagedAgentsApiErrorDetails'
          description: >-
            Optional structured error details. Reserved transport fields are
            typed; code-specific fields remain forward compatible.
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    StandaloneV2IntegrationConnectionCheck:
      properties:
        checkedAt:
          description: RFC 3339 timestamp when this health evidence was observed.
          format: date-time
          readOnly: true
          type: string
        failure:
          description: >-
            Reason the check failed, bounded to 1024 characters. Absent when the
            check passed.
          readOnly: true
          type: string
        failureCode:
          description: >-
            Stable provider-specific failure code:
            slack_custom_app_token_rejected,
            slack_custom_client_credentials_rejected, or
            slack_custom_bot_scope_drift. Absent for generic checks and
            successful checks.
          readOnly: true
          type: string
        ok:
          description: >-
            Whether the saved evidence obtained a usable credential and verified
            the connection with it. False can also mean the observation could
            not finish; see failure.
          readOnly: true
          type: boolean
      required:
        - checkedAt
        - ok
      type: object
      additionalProperties: false
    StandaloneV2IntegrationConnectionUsage:
      properties:
        agents:
          description: Distinct agents whose current version selects this connection.
          format: int64
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
      required:
        - agents
      type: object
      additionalProperties: false
    ManagedAgentsApiErrorDetails:
      type: object
      properties:
        field:
          description: >-
            Request field or header responsible for the error, when one can be
            identified.
          type: string
        issues:
          description: >-
            Boundary-validation failures as path-prefixed human-readable
            messages.
          type: array
          items:
            type: string
        requestId:
          description: Request correlation identifier for support and log lookup.
          type: string
        retryable:
          description: >-
            Server advice about failure transience. `true` means transient,
            `false` means non-transient, and absence gives no advice. Automatic
            replay is allowed only when this field is not `false` and the
            operation-specific retry and idempotency contract permits replay.
          type: boolean
      additionalProperties:
        $ref: '#/components/schemas/PlatformSafeJsonValue'
      description: >-
        Optional structured error details. Reserved transport fields are typed;
        code-specific fields remain forward compatible.
    PlatformSafeJsonValue:
      description: >-
        A JSON value whose integer members stay within the exact ECMAScript
        safe-integer range at every nesting level.
      oneOf:
        - type: 'null'
        - type: boolean
        - type: string
        - type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        - type: number
          not:
            type: integer
        - type: array
          items:
            $ref: '#/components/schemas/PlatformSafeJsonValue'
        - additionalProperties:
            $ref: '#/components/schemas/PlatformSafeJsonValue'
          type: object
  headers:
    RecursionOrganizationId:
      description: Organization id resolved for this request.
      schema:
        minLength: 1
        type: string
    RecursionTenantId:
      description: Tenant id resolved for this request.
      schema:
        minLength: 1
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A Recursion API key, created in the console under API keys.

````