Skip to content

Get Mcp Connection

GET
/mcp/connection

MCP connection facts for the authenticated org.

Total by construction: any tenant-schema trouble (table not yet created for a brand-new org, transient DB error) answers the zero shape with determined=False instead of 500 — the caller’s collectors treat this route as best-effort, and the flag keeps a DB blip from reading as positive never-connected evidence.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required
object
determined

False when the facts could not be read (transient DB error) and the zero shape below is a fallback, not evidence — consumers should abstain from first-connect claims when False

boolean
default: true
ever_connected
required

True if ANY MCP session row exists for this org (incl. revoked)

boolean
first_connected_at
Any of:
string
last_client_type
Any of:
string
last_connected_at
Any of:
string
sessions_count
required

Total session rows for this org (incl. expired/revoked)

integer
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string