> ## 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.

# Get an event source

> Returns non-secret source configuration with a strong revision ETag. If-None-Match may answer 304.



## OpenAPI

````yaml /managed-agents/openapi.yaml get /managed-agents/v1/event-sources/{eventSourceId}
openapi: 3.1.0
info:
  title: Managed Agents API
  version: 0.14.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/v1/event-sources/{eventSourceId}:
    get:
      tags:
        - Event Sources
      summary: Get an event source
      description: >-
        Returns non-secret source configuration with a strong revision ETag.
        If-None-Match may answer 304.
      operationId: managedAgentsGetEventSource
      parameters:
        - description: Stable event-source identifier.
          in: path
          name: eventSourceId
          required: true
          schema:
            description: Stable event-source identifier.
            format: uuid
            type: string
        - description: >-
            Strong ETag from an earlier member read. A match returns 304 without
            a body.
          in: header
          name: If-None-Match
          schema:
            description: >-
              Strong ETag from an earlier member read. A match returns 304
              without a body.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsEventSourceResponse'
          description: >-
            Configured inbound event source, including its verification policy
            and lifecycle state.
          headers:
            ETag:
              description: Strong validator for this resource revision.
              schema:
                type: string
              style: simple
        '304':
          description: Not Modified
          headers:
            ETag:
              description: Strong validator that matched If-None-Match.
              schema:
                type: string
              style: simple
        '400':
          description: The request was rejected by schema or semantic validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorInvalidRequest'
        '401':
          description: The caller is unauthenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorUnauthorized'
        '403':
          description: The caller lacks a required permission or capability.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorForbidden'
        '404':
          description: No such resource is reachable for this caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorNotFound'
        '429':
          headers:
            Retry-After:
              description: When to retry, as delay seconds or an HTTP date.
              schema:
                type: string
          description: A rate limit is exhausted. Honor `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorRateLimitExceeded'
        '500':
          description: An unexpected server-side failure.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorInternalError'
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorInvariantViolation
                discriminator:
                  propertyName: code
                  mapping:
                    internal_error:
                      $ref: '#/components/schemas/ManagedAgentsApiErrorInternalError'
                    invariant_violation:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorInvariantViolation
        '502':
          description: The service returned an invalid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorBadGateway'
        '503':
          description: >-
            A dependency is unavailable. Consult details.retryable and
            Retry-After when present before retrying.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorEventSourcesUnconfigured
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorManagedAgentsUnavailable
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorServiceUnavailable
                discriminator:
                  propertyName: code
                  mapping:
                    event_sources_unconfigured:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorEventSourcesUnconfigured
                    managed_agents_unavailable:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorManagedAgentsUnavailable
                    service_unavailable:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorServiceUnavailable
        '504':
          description: The service did not respond before the timeout.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorGatewayTimeout'
components:
  schemas:
    ManagedAgentsEventSourceResponse:
      additionalProperties: false
      description: >-
        Configured inbound event source, including its verification policy and
        lifecycle state.
      properties:
        createdAt:
          description: Time the event source was created.
          format: date-time
          readOnly: true
          type: string
        delivery:
          $ref: '#/components/schemas/ManagedAgentsEventSourceDelivery'
          description: Webhook configuration or owning integration connection.
        displayName:
          description: Human-readable source name shown in the automation catalog.
          type: string
        eventSourceId:
          description: Stable identifier for the event source.
          format: uuid
          readOnly: true
          type: string
        revision:
          description: Monotonic revision represented by the response ETag.
          format: int64
          minimum: 1
          readOnly: true
          type: integer
        status:
          description: >-
            Lifecycle state. Custom webhook sources start paused;
            connection-managed sources start active.
          enum:
            - paused
            - active
          readOnly: true
          type: string
        type:
          description: Inbound provider protocol interpreted by this source.
          enum:
            - slack_events_api
            - github_webhook
            - custom_webhook
          type: string
        updatedAt:
          description: Time the event source was last changed.
          format: date-time
          readOnly: true
          type: string
      required:
        - eventSourceId
        - displayName
        - type
        - delivery
        - status
        - revision
        - createdAt
        - updatedAt
      type: object
      example:
        createdAt: '2026-02-18T09:30:00.000Z'
        delivery:
          kind: webhook
          verification:
            signatureHeader: example
            signaturePrefix: example
            signedParts:
              - kind: body
            type: none
            verificationCredential:
              credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
              vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
          verificationCredential:
            credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
            vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
          webhookUrl: example
        displayName: example
        eventSourceId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        revision: 1
        status: paused
        type: slack_events_api
        updatedAt: '2026-02-18T09:30:00.000Z'
    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.
    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.
    ManagedAgentsApiErrorInvariantViolation:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - invariant_violation
        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.
    ManagedAgentsApiErrorBadGateway:
      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.
    ManagedAgentsApiErrorEventSourcesUnconfigured:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - event_sources_unconfigured
        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.
    ManagedAgentsApiErrorGatewayTimeout:
      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.
    ManagedAgentsEventSourceDelivery:
      description: 'Delivery identity: a customer webhook or an integration connection.'
      oneOf:
        - $ref: '#/components/schemas/ManagedAgentsWebhookEventSourceDelivery'
        - $ref: '#/components/schemas/ManagedAgentsIntegrationEventSourceDelivery'
      type: object
      example:
        kind: webhook
        verification:
          signatureHeader: example
          signaturePrefix: example
          signedParts:
            - kind: body
          type: none
          verificationCredential:
            credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
            vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        verificationCredential:
          credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
          vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        webhookUrl: example
    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: {}
      description: >-
        Optional structured error details. Reserved transport fields are typed;
        code-specific fields remain forward compatible.
    ManagedAgentsWebhookEventSourceDelivery:
      additionalProperties: false
      description: >-
        Customer-owned webhook endpoint and its non-secret verification
        configuration.
      properties:
        kind:
          description: Customer-configured webhook delivery.
          enum:
            - webhook
          type: string
        verification:
          $ref: '#/components/schemas/ManagedAgentsEventSourceVerificationResponse'
          description: Verification policy for custom webhook delivery.
        verificationCredential:
          $ref: '#/components/schemas/ManagedAgentsEventSourceCredentialRef'
          description: Signing-secret reference for Slack or GitHub webhook delivery.
        webhookUrl:
          description: Relative public endpoint to configure at the event provider.
          readOnly: true
          type: string
      required:
        - kind
        - webhookUrl
      type: object
      example:
        kind: webhook
        verification:
          signatureHeader: example
          signaturePrefix: example
          signedParts:
            - kind: body
          type: none
          verificationCredential:
            credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
            vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        verificationCredential:
          credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
          vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        webhookUrl: example
    ManagedAgentsIntegrationEventSourceDelivery:
      additionalProperties: false
      description: >-
        Connection-managed delivery; no customer webhook or verification
        credential is required.
      properties:
        connectionId:
          description: Owning integration connection in the same workspace.
          format: uuid
          readOnly: true
          type: string
        kind:
          description: Delivery through the platform integration callback.
          enum:
            - integration
          type: string
      required:
        - kind
        - connectionId
      type: object
      example:
        connectionId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        kind: integration
    ManagedAgentsEventSourceVerificationResponse:
      additionalProperties: false
      description: Verification policy for a custom webhook event source.
      properties:
        signatureHeader:
          description: HTTP header carrying the signature for signed deliveries.
          type: string
        signaturePrefix:
          description: Literal prefix removed before comparing a signature.
          type: string
        signedParts:
          description: Ordered delivery components used as the signature input.
          items:
            $ref: '#/components/schemas/ManagedAgentsEventSourceSignedPart'
          type: array
        type:
          description: Verification algorithm configured for custom webhook deliveries.
          enum:
            - none
            - hmac_sha256
          type: string
        verificationCredential:
          $ref: '#/components/schemas/ManagedAgentsEventSourceCredentialRef'
          description: >-
            Credential reference used by signed deliveries; omitted when
            verification is none.
      required:
        - type
      type: object
      example:
        signatureHeader: example
        signaturePrefix: example
        signedParts:
          - kind: body
        type: none
        verificationCredential:
          credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
          vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
    ManagedAgentsEventSourceCredentialRef:
      additionalProperties: false
      description: Reference to a managed credential; secret material is never returned.
      properties:
        credentialId:
          description: Credential within the vault that contains the verification secret.
          format: uuid
          type: string
        vaultId:
          description: Vault containing the secret used to verify inbound deliveries.
          format: uuid
          type: string
      required:
        - vaultId
        - credentialId
      type: object
      example:
        credentialId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        vaultId: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
    ManagedAgentsEventSourceSignedPart:
      additionalProperties: false
      description: One ordered component of the HMAC signature input.
      properties:
        kind:
          description: >-
            Delivery component included in the signature input; currently the
            exact request body.
          enum:
            - body
          type: string
      required:
        - kind
      type: object
      example:
        kind: body
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A Recursion API key, created in the console under API keys.

````