SISuperintelligenceDocs

Search docs

Search every page of the documentation.

API reference

Connectors

Add, test, rotate and remove connectors.

See Connectors.

GET /v1/orgs/:orgId/connectors

Lists connectors. Credentials are never returned.

Auth: user access token or platform agent key · Scope: connectors:read

Path parameterDescription
:orgIdOrganization id (org_…).

Response 200

{
  connectors: {
    toolCount: number
    omittedTools: number
    oauth?: {
      connected: boolean
      server: null | string
      registered: boolean | null
    }
    transport: "http" | "sse"
    hasSecret: boolean
    url: string
    name: string
    status?: "ok" | "unknown" | "error"
    createdAt?: number
    updatedAt?: number
    orgId: string
    slug: string
    createdBy: string
    accessExpiresAt?: number
    connectorId: string
    enabled?: boolean
    authType: "header" | "none" | "oauth" | "bearer"
    headerName?: string
    lastError?: string
    lastCheckedAt?: number
  }[]
}

GET /v1/orgs/:orgId/connectors/:connectorId

A connector with its cached tools and the names they have on the MCP server.

Auth: user access token or platform agent key · Scope: connectors:read

Path parameterDescription
:orgIdOrganization id (org_…).
:connectorIdConnector id (con_…).

Response 200

{
  connector: {
    toolCount: number
    omittedTools: number
    oauth?: {
      connected: boolean
      server: null | string
      registered: boolean | null
    }
    transport: "http" | "sse"
    hasSecret: boolean
    url: string
    name: string
    status?: "ok" | "unknown" | "error"
    createdAt?: number
    updatedAt?: number
    orgId: string
    slug: string
    createdBy: string
    accessExpiresAt?: number
    connectorId: string
    enabled?: boolean
    authType: "header" | "none" | "oauth" | "bearer"
    headerName?: string
    lastError?: string
    lastCheckedAt?: number
  }
  tools: {
    exposedName: string
    name: string
    title?: string
    description?: string
    inputSchema: {
      [key: string]: unknown
    }
  }[]
}

Errors

StatusMessage
404Connector not found

POST /v1/orgs/:orgId/connectors

Registers a remote MCP server.

Auth: user access token or platform agent key · Scope: connectors:write

Path parameterDescription
:orgIdOrganization id (org_…).

Request body

FieldTypeRequiredDefaultNotes
namestringYes1–64 characters; trimmed
slugstringYesmatches ^[a-z](?:[a-z0-9-]{0,22}[a-z0-9])?$; trimmed
urlstringYes1–2,048 characters; trimmed
authType"none" | "bearer" | "header" | "oauth"No"none"
transport"http" | "sse"No"http"
headerNamestringNotrimmed
secretstringNo1–4,096 characters; matches ^[\x20-\x7E]+$; trimmed
oauthClientIdstringNo1–512 characters; trimmed
oauthClientSecretstringNo1–4,096 characters; matches ^[\x20-\x7E]+$; trimmed

Also checked: Enter the credential. Enter a valid header name (for example X-API-Key).

Response 201

{
  connector: {
    toolCount: number
    omittedTools: number
    oauth?: {
      connected: boolean
      server: null | string
      registered: boolean | null
    }
    transport: "http" | "sse"
    hasSecret: boolean
    url: string
    name: string
    status?: "ok" | "unknown" | "error"
    createdAt?: number
    updatedAt?: number
    orgId: string
    slug: string
    createdBy: string
    accessExpiresAt?: number
    connectorId: string
    enabled?: boolean
    authType: "header" | "none" | "oauth" | "bearer"
    headerName?: string
    lastError?: string
    lastCheckedAt?: number
  }
}

Errors

StatusMessage
400An organization can have up to … connectors.
404Connector not found
409Slug "…" is already in use.

POST /v1/orgs/:orgId/connectors/:connectorId/test

Connects to the server and caches its tool list. A failed check keeps the last good list and records the error.

Auth: user access token or platform agent key · Scope: connectors:write

Path parameterDescription
:orgIdOrganization id (org_…).
:connectorIdConnector id (con_…).

Response 200

{
  connector: {
    toolCount: number
    omittedTools: number
    oauth?: {
      connected: boolean
      server: null | string
      registered: boolean | null
    }
    transport: "http" | "sse"
    hasSecret: boolean
    url: string
    name: string
    status?: "ok" | "unknown" | "error"
    createdAt?: number
    updatedAt?: number
    orgId: string
    slug: string
    createdBy: string
    accessExpiresAt?: number
    connectorId: string
    enabled?: boolean
    authType: "header" | "none" | "oauth" | "bearer"
    headerName?: string
    lastError?: string
    lastCheckedAt?: number
  }
}

Errors

StatusMessage
404Connector not found

PATCH /v1/orgs/:orgId/connectors/:connectorId

Renames, enables or disables a connector, or replaces its credential.

Auth: user access token or platform agent key · Scope: connectors:write

Path parameterDescription
:orgIdOrganization id (org_…).
:connectorIdConnector id (con_…).

Request body

FieldTypeRequiredNotes
namestringNo1–64 characters; trimmed
enabledbooleanNo
secretstringNo1–4,096 characters; matches ^[\x20-\x7E]+$; trimmed

Also checked: Nothing to update.

Response 200

{
  connector: {
    toolCount: number
    omittedTools: number
    oauth?: {
      connected: boolean
      server: null | string
      registered: boolean | null
    }
    transport: "http" | "sse"
    hasSecret: boolean
    url: string
    name: string
    status?: "ok" | "unknown" | "error"
    createdAt?: number
    updatedAt?: number
    orgId: string
    slug: string
    createdBy: string
    accessExpiresAt?: number
    connectorId: string
    enabled?: boolean
    authType: "header" | "none" | "oauth" | "bearer"
    headerName?: string
    lastError?: string
    lastCheckedAt?: number
  }
}

Errors

StatusMessage
400This connector doesn't use a credential.
404Connector not found

DELETE /v1/orgs/:orgId/connectors/:connectorId

Deletes a connector.

Auth: user access token or platform agent key · Scope: connectors:write

Path parameterDescription
:orgIdOrganization id (org_…).
:connectorIdConnector id (con_…).

Response 204 with no body.

Errors

StatusMessage
404Connector not found

POST /v1/orgs/:orgId/connectors/:connectorId/oauth/start

OAuth connectors: finds the server's sign-in (and registers a client when the server allows it), stores a one-time state with a PKCE verifier and returns the authorization URL to send the user to.

Auth: user access token or platform agent key · Scope: connectors:write

Path parameterDescription
:orgIdOrganization id (org_…).
:connectorIdConnector id (con_…).

Request body

FieldTypeRequiredNotes
returnTostringNoup to 500 characters

Response 200

{
  url: string
}

Errors

StatusMessage
400This connector doesn't use OAuth.
403Signing in to a connector needs a signed-in user.
404Connector not found

POST /v1/orgs/:orgId/connectors/oauth/callback

Completes a connector sign-in: consumes the state (one use; same user and org), exchanges the code, stores the tokens encrypted and checks the connector's tools with them.

Auth: user access token or platform agent key · Scope: connectors:write

Path parameterDescription
:orgIdOrganization id (org_…).

Request body

FieldTypeRequiredNotes
statestringYes10–300 characters
codestringNo1–4,000 characters
errorstringNoup to 200 characters

Response 200

{
  connected: false
  returnTo: string
  connectorId: string
}
| {
  connected: true
  returnTo: string
  connectorId: string
}

Errors

StatusMessage
404Connector not found
409Start the sign-in again.