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

# Get a connector

> Get a single connector by ID.



## OpenAPI

````yaml /sprites/api/openapi.json get /v1/oauth/connections/{id}
openapi: 3.1.0
info:
  title: Sprites API
  version: 0.1.12
  x-sprite-env-version: v0.0.1-rc48
servers:
  - url: https://api.sprites.dev
security: []
paths:
  /v1/oauth/connections/{id}:
    get:
      tags:
        - Connectors
      summary: Get a connector
      description: Get a single connector by ID.
      operationId: o_auth_connections_show_get
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionResponse'
          description: Success
        '401':
          description: Missing or invalid authentication
        '404':
          description: Sprite not found
      security:
        - bearerAuth: []
components:
  schemas:
    ConnectionResponse:
      description: Connector response
      properties:
        connection:
          $ref: '#/components/schemas/Connection'
          description: >-
            Sanitized connector. Secrets and encrypted token fields are never
            returned.
          example:
            id: conn_abc123
            provider: slack
      required:
        - connection
      type: object
    Connection:
      description: Connector
      properties:
        access_policy:
          $ref: '#/components/schemas/AccessPolicy'
          description: >-
            Policy controlling which sprites and provider endpoints may use this
            connector.
          example:
            allow_all: true
            allowed_endpoints:
              - /*
        connection_type:
          description: How the connector was created.
          enum:
            - oauth
            - api_key
            - provisioned
            - internal
          example: oauth
          type: string
        id:
          description: Connector ID used in gateway URLs.
          example: conn_abc123
          type: string
        inserted_at:
          description: When the connector was created.
          example: '2026-04-28T12:00:00Z'
          format: date-time
          type: string
        provider:
          description: Provider key.
          enum:
            - slack
            - slack_bot
            - github
            - discourse
            - openrouter
            - ollama
            - exa
            - firecrawl
            - linkup
            - steel
            - parasail
            - fireworks
            - deepgram
            - upstash
            - depot
            - meta
            - openai
            - typesafe
            - anthropic
            - s3_object_store
            - custom_api
            - sprites_admin
          example: slack
          type: string
        provider_account_id:
          description: Provider account, workspace, or key identifier.
          example: T12345
          type: string
        provider_account_name:
          description: Human-readable provider account name.
          example: Example Workspace
          type: string
        provider_info:
          description: >-
            Provider-specific metadata such as workspace URLs, custom API base
            URLs, or icon references.
          example:
            team_domain: example
          type: object
        scopes:
          description: Comma-separated OAuth scopes granted to the connector.
          example: chat:write,channels:read
          type: string
        token_expires_at:
          description: >-
            When the stored token expires, if the provider issues expiring
            tokens.
          example: '2026-04-29T12:00:00Z'
          format: date-time
          type: string
        updated_at:
          description: When the connector was last updated.
          example: '2026-04-29T12:00:00Z'
          format: date-time
          type: string
        usage_snippet:
          description: >-
            Provider-specific curl snippet showing how to call the connector
            through the gateway.
          example: curl https://api.sprites.dev/v1/gateway/slack/conn_abc123/auth.test
          type: string
        user_id:
          description: Sprites user ID that created or owns the connector.
          example: user_abc123
          type: string
      required:
        - id
        - provider
        - provider_account_id
      type: object
    AccessPolicy:
      description: Connector access policy
      properties:
        allow_all:
          description: When true, all sprites in the organization may use this connector.
          example: false
          type: boolean
        allowed_endpoints:
          description: >-
            Provider API paths the connector may call. Supports exact paths and
            trailing `*` prefix wildcards.
          example:
            - /chat.*
          items:
            type: string
          type: array
        blocked_endpoints:
          description: >-
            Provider API paths the connector may not call. Block rules are
            checked before allow rules.
          example:
            - /admin.*
          items:
            type: string
          type: array
        name_prefix:
          description: Sprite name prefix required to use this connector.
          example: prod-
          type: string
        sprite_labels:
          description: Labels the calling sprite must have. All listed labels are required.
          example:
            - api-access
          items:
            type: string
          type: array
      required: []
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````