Re-sync a connection's tools - Spacefast Docs

Re-sync a connection's tools

Re-resolves the tool catalog behind a connection. Token refresh happens on its own; this is about the tools.

Endpoint

POST /v1/connectors/connections/{connectionId}/refresh

Authorization

Authorization: Bearer <token> with an API key (sfa_ prefix), an OAuth access token, a session token, or a Space machine credential (sfm_ prefix).

OAuth 2.0 with Spacefast scopes. People use the authorization code flow; machines use client credentials.

Scopes:

Path parameters

Minimum length 1

Query parameters

Minimum length 1 · Maximum length 255

Responses

200 Response for status 200

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

A configured instance of a connector, with a credential the control plane holds and never hands out.

Properties:

Operation object required

Properties:

Error response

If an error occurs, this is the structure returned:

{ "$schema": "http://example.com", "type": "string", "title": "string", "status": -9007199254740991, "detail": "string", "code": "string", "pointer": "string", "details": { "property1": null, "property2": null }, "suggestions": [ "string" ], "next": [ "string" ], "requestId": "string" }