Bind a connector role
Binds a live capsule role to an eligible connection owned by the team or caller.
/v1/spaces/{spaceRef}/connectors/{role}AuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
AuthorizationOAuth2 access token · headerrequiredOAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.
connectors:writespaceRefstringrequiredrolestringrequiredteamstringapplication/jsonconnectionIdstringrequiredResponse for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
rolestringrequiredasstringrequiredteamownervisitorconnectorstringconnectionobject | nullrequiredShow propertiesHide properties
idstringrequiredConnection id (cxn_). This is also the first segment of every tool address it owns.
connectorstringrequiredSlug of the connector this connection authenticates.
ownerstringrequiredteam is shared with everyone on the team; personal is yours, and only within this team — connecting the same account for another team is another connection.
teampersonalservingbooleanrequireddisplayNamestringrequiredWhat people call this connection, e.g. "Linear (support)".
descriptionstring | nullrequiredAgent-visible note on what this connection is for. Shown to models choosing between several.
statusstringrequiredDerived connection state. Never stored, so it cannot drift from the credential it describes.
pending_authorizationactivedegradedneeds_reauthrevokedidentityLabelstring | nullrequiredAccount label reported by the provider, when it identifies itself. Null until the first successful probe.
credentialConfiguredbooleanrequiredWhether a usable credential is stored. The credential itself is never returned by any endpoint.
authMethodstring | nullrequiredSlug of the connector auth method this connection used.
scopesstring[]requiredScopes actually granted, when the provider reports them.
scopesKnownbooleanFalse when the provider did not report the granted scope set.
isDefaultbooleanrequiredWhether this is the connection an agent gets when it names the connector alone.
toolCountintegerrequiredTools reachable through this connection at the last sync.
createdBystring | nullrequiredUser who connected it; null for first-party connections Spacefast owns.
lastCheckedAtstring<date-time> | nullrequiredLast health probe.
Show propertiesHide properties
string<date-time>nullrevokedAtstring<date-time> | nullrequiredWhen it was disconnected. The credential is purged; the row tombstones.
Show propertiesHide properties
string<date-time>nullcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requirednullvisitorConnectionsobjectShow propertiesHide properties
countintegerrequiredboundByUserIdstring | nullrequiredcreatedAtstring<date-time> | nullrequiredShow propertiesHide properties
string<date-time>nullProblem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.