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

# Get an MCP connector

> Get one configured MCP connector by connection ID.



## OpenAPI

````yaml /openapi.json get /mcp-connectors/{connectionId}
openapi: 3.2.0
info:
  title: Sazabi Public API
  version: 1.0.0
  description: >
    Public REST API for Sazabi. Authenticate using a secret API key in the
    Authorization header.


    ## Pagination


    This API uses two pagination strategies depending on the endpoint type:


    ### Cursor-Based Pagination (List Endpoints)


    List endpoints (threads, messages, keys) use cursor-based pagination for
    efficient, consistent results:


    - **Parameters**: `limit` (items per page, default 50, max 100), `cursor`
    (opaque pagination token)

    - **Response**: Includes `nextCursor` field - pass this as `cursor` in the
    next request

    - **End of results**: When `nextCursor` is `null`, there are no more results

    - **Example**: `GET
    /v1/threads?limit=20&cursor=01234567-89ab-cdef-0123-456789abcdef`


    ### Page-Based Pagination (Search Endpoints)


    Search endpoints use page-based pagination due to the underlying search
    engine:


    - **Parameters**: `limit` (items per page, default 20, max 100), `page`
    (1-indexed page number)

    - **Response**: Includes `pagination` object with `page`, `limit`,
    `totalResults`, `totalPages`

    - **Example**: `GET /v1/search/threads?q=error&limit=10&page=2`
servers:
  - url: https://api.sazabi.com/v1
    description: Production
security: []
tags:
  - name: 'section: Send data'
    summary: Send data
    kind: nav
  - name: 'section: Detect issues'
    summary: Detect issues
    kind: nav
  - name: 'section: Triage issues'
    summary: Triage issues
    kind: nav
  - name: 'section: Ask Sazabi'
    summary: Ask Sazabi
    kind: nav
  - name: 'section: Explore logs'
    summary: Explore logs
    kind: nav
  - name: 'section: Ship fixes'
    summary: Ship fixes
    kind: nav
  - name: 'section: Integrations'
    summary: Integrations
    kind: nav
  - name: 'section: Organization and access'
    summary: Organization and access
    kind: nav
  - name: 'section: Billing'
    summary: Billing
    kind: nav
  - name: 'section: Webhooks and events'
    summary: Webhooks and events
    kind: nav
  - name: 'section: CLI onboarding support'
    summary: CLI onboarding support
    kind: nav
  - name: Log Sources
    summary: Log Sources
    kind: nav
    parent: 'section: Send data'
  - name: Log Streams
    summary: Log Streams
    kind: nav
    parent: 'section: Send data'
  - name: Public Keys
    summary: Public Keys
    kind: nav
    parent: 'section: Send data'
  - name: Signals
    summary: Signals
    kind: nav
    parent: 'section: Detect issues'
  - name: Issues
    summary: Issues
    kind: nav
    parent: 'section: Triage issues'
  - name: Components
    summary: Components
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification delivery rules
    summary: Notification delivery rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification channels
    summary: Notification channels
    kind: nav
    parent: 'section: Triage issues'
  - name: Tasks
    summary: Tasks
    kind: nav
    parent: 'section: Triage issues'
  - name: Task creation rules
    summary: Task creation rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Task status mapping
    summary: Task status mapping
    kind: nav
    parent: 'section: Triage issues'
  - name: Work Items
    summary: Work Items
    kind: nav
    parent: 'section: Triage issues'
  - name: Threads
    summary: Threads
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Messages
    summary: Messages
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Runs
    summary: Runs
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Search
    summary: Search
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Memory
    summary: Memory
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Artifacts
    summary: Artifacts
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Tool permissions
    summary: Tool permissions
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Environment Variables
    summary: Sandbox Environment Variables
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Init Script
    summary: Sandbox Init Script
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Logs
    summary: Logs
    kind: nav
    parent: 'section: Explore logs'
  - name: Dashboards
    summary: Dashboards
    kind: nav
    parent: 'section: Explore logs'
  - name: AgentDispatches
    summary: AgentDispatches
    kind: nav
    parent: 'section: Ship fixes'
  - name: Pull Requests
    summary: Pull Requests
    kind: nav
    parent: 'section: Ship fixes'
  - name: Repos
    summary: Repos
    kind: nav
    parent: 'section: Ship fixes'
  - name: Integrations
    summary: Integrations
    kind: nav
    parent: 'section: Integrations'
  - name: MCP Connectors
    summary: MCP Connectors
    kind: nav
    parent: 'section: Integrations'
  - name: Connected Accounts
    summary: Connected Accounts
    kind: nav
    parent: 'section: Integrations'
  - name: Sandbox CLIs
    summary: Sandbox CLIs
    kind: nav
    parent: 'section: Integrations'
  - name: Auth
    summary: Auth
    kind: nav
    parent: 'section: Organization and access'
  - name: Organizations
    summary: Organizations
    kind: nav
    parent: 'section: Organization and access'
  - name: Projects
    summary: Projects
    kind: nav
    parent: 'section: Organization and access'
  - name: Members
    summary: Members
    kind: nav
    parent: 'section: Organization and access'
  - name: Teams
    summary: Teams
    kind: nav
    parent: 'section: Organization and access'
  - name: SSO
    summary: SSO
    kind: nav
    parent: 'section: Organization and access'
  - name: Secret Keys
    summary: Secret Keys
    kind: nav
    parent: 'section: Organization and access'
  - name: Support Tickets
    summary: Support Tickets
    kind: nav
    parent: 'section: Organization and access'
  - name: Billing
    summary: Billing
    kind: nav
    parent: 'section: Billing'
  - name: Webhooks
    summary: Webhooks
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Webhook events
    summary: Webhook events
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Onboarding
    summary: Onboarding
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Onboarding Tasks
    summary: Onboarding Tasks
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Recommendations
    summary: Recommendations
    kind: nav
    parent: 'section: CLI onboarding support'
paths:
  /mcp-connectors/{connectionId}:
    get:
      tags:
        - MCP Connectors
      summary: Get an MCP connector
      description: Get one configured MCP connector by connection ID.
      operationId: mcpConnectors.get
      parameters:
        - name: connectionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: Connection ID to fetch.
        - name: projectId
          in: query
          schema:
            type: string
            format: uuid
            description: >-
              Project the connector belongs to. Auto-filled from SDK context
              when omitted.
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  connector:
                    type: object
                    properties:
                      maskedHeaders:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            maskedValue:
                              type: string
                          required:
                            - id
                            - name
                            - maskedValue
                      grantedScopes:
                        type: array
                        items:
                          type: string
                      connectionStatus:
                        type: object
                        properties:
                          state:
                            enum:
                              - connected
                              - needs_attention
                              - connecting
                              - not_connected
                            type: string
                          reasonCode:
                            anyOf:
                              - enum:
                                  - credentials_rejected
                                  - permissions_missing
                                  - configuration_invalid
                                  - discovery_failed
                                  - health_check_failed
                                  - stream_failed
                                  - recovery_required
                                type: string
                              - type: 'null'
                          checkedAt:
                            anyOf:
                              - type: string
                                format: date-time
                              - type: 'null'
                          verification:
                            enum:
                              - verified
                              - unverified
                            type: string
                        required:
                          - state
                          - reasonCode
                          - checkedAt
                          - verification
                      recovery:
                        type: object
                        properties:
                          action:
                            anyOf:
                              - enum:
                                  - reconnect
                                  - update_credentials
                                  - manage_installation
                                  - manage_owner
                                  - review_setup
                                type: string
                              - type: 'null'
                          canCheck:
                            type: boolean
                          canDisconnect:
                            type: boolean
                          target:
                            type: object
                            properties:
                              kind:
                                enum:
                                  - integration
                                  - connected_account
                                  - mcp_connector
                                  - log_source
                                  - sandbox_cli
                                type: string
                              resourceId:
                                type: string
                              providerId:
                                type: string
                              scope:
                                type: object
                                properties:
                                  kind:
                                    enum:
                                      - user
                                      - organization
                                      - project
                                    type: string
                                  id:
                                    type: string
                                required:
                                  - kind
                                  - id
                            required:
                              - kind
                              - resourceId
                              - providerId
                              - scope
                        required:
                          - action
                          - canCheck
                          - canDisconnect
                      connectionId:
                        type: string
                        format: uuid
                        description: Connection ID.
                      connectionKey:
                        type: string
                        description: >-
                          Stable key used to reference this connector in tool
                          calls.
                      providerId:
                        type: string
                        description: Provider identifier, e.g. "linear".
                      displayName:
                        type: string
                        description: Human-readable connector name.
                      source:
                        enum:
                          - preset
                          - custom
                        type: string
                        description: >-
                          Whether the connector is a built-in preset or a custom
                          server.
                      installStatus:
                        enum:
                          - configured
                          - authorizing
                          - connected
                          - error
                        type: string
                        description: Current connection lifecycle status.
                      authMode:
                        enum:
                          - none
                          - headers
                          - oauth
                          - aws-sigv4
                        type: string
                        description: Authentication mode.
                      transport:
                        enum:
                          - streamable-http
                          - sse
                        type: string
                        description: Transport protocol.
                      serverUrl:
                        type: string
                        description: MCP server URL.
                      readOnly:
                        type: boolean
                        description: >-
                          Whether the connector is restricted to read-only
                          tools.
                      management:
                        type: object
                        properties:
                          mode:
                            enum:
                              - user
                              - system
                            type: string
                          managedBy:
                            anyOf:
                              - type: object
                                properties:
                                  type:
                                    const: integration
                                  id:
                                    type: string
                                    minLength: 1
                                  displayName:
                                    type: string
                                    minLength: 1
                                  iconKey:
                                    type: string
                                    minLength: 1
                                required:
                                  - type
                                  - id
                                  - displayName
                                  - iconKey
                              - type: 'null'
                          capabilities:
                            type: object
                            properties:
                              canRename:
                                type: boolean
                              canEditCredentials:
                                type: boolean
                              canSetReadOnly:
                                type: boolean
                              canConfigureTools:
                                type: boolean
                              canDisconnect:
                                type: boolean
                            required:
                              - canRename
                              - canEditCredentials
                              - canSetReadOnly
                              - canConfigureTools
                              - canDisconnect
                        required:
                          - mode
                          - managedBy
                          - capabilities
                        description: Lifecycle owner and supported connector mutations.
                      enabledToolCount:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                        description: >-
                          Number of tools enabled and available for this
                          connector.
                      connectedAt:
                        anyOf:
                          - type: string
                            format: date-time
                          - type: 'null'
                        description: When the connector last became connected, if ever.
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                    required:
                      - connectionId
                      - connectionKey
                      - providerId
                      - displayName
                      - source
                      - installStatus
                      - authMode
                      - transport
                      - serverUrl
                      - readOnly
                      - management
                      - enabledToolCount
                      - connectedAt
                      - createdAt
                      - updatedAt
                required:
                  - connector

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.