Connections API
Provider connections (credentials, public config, readiness tests) and the public client config.
On this page
Contract version 1.1.0. 9 operations; 9 served, 0 specified only.
Note
"Served" means the endpoint exists in the runtime, not that it is enabled for your app. Provider-backed endpoints return 503 FEATURE_UNAVAILABLE until the matching connection is ready.
| Method | Path | Summary | Auth | Status |
|---|---|---|---|---|
| GET | /v1/config/public | Get public capabilities | None | served |
| GET | /v1/connections | List connections | Operator session | served |
| POST | /v1/connections | Create connection | Operator session | served |
| GET | /v1/connections/{connection_id} | Get connection | Operator session | served |
| POST | /v1/connections/{connection_id}/activate | Activate connection | Operator session | served |
| POST | /v1/connections/{connection_id}/disable | Disable connection | Operator session | served |
| POST | /v1/connections/{connection_id}/rotate | Rotate connection | Operator session | served |
| POST | /v1/connections/{connection_id}/secrets | Set connection secret | Operator session | served |
| POST | /v1/connections/{connection_id}/test | Test connection | Operator session | served |
GET /v1/config/public
Get public capabilities.
| Operation ID | getPublicCapabilities |
| Auth | None (public) |
| Status | Served |
Responses
200Successful operation —PublicCapabilities
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/connections
List connections.
| Operation ID | listConnections |
| Auth | Operator session (console) |
| Status | Served |
Responses
200Successful operation — Envelope{ request_id, data, next_cursor? }(data shape not yet pinned in the contract)
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/connections
Create connection.
| Operation ID | createConnection |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Request body (application/json, required): ConnectionCreate
Responses
200Successful operation —Connection
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/connections/{connection_id}
Get connection.
| Operation ID | getConnection |
| Auth | Operator session (console) |
| Status | Served |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
connection_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Responses
200Successful operation —Connection
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/connections/{connection_id}/activate
Activate connection.
| Operation ID | activateConnection |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
connection_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted for asynchronous processing —Job
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/connections/{connection_id}/disable
Disable connection.
| Operation ID | disableConnection |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
connection_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted for asynchronous processing —Job
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/connections/{connection_id}/rotate
Rotate connection.
| Operation ID | rotateConnection |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
connection_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted for asynchronous processing —Job
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/connections/{connection_id}/secrets
Set connection secret. Secret write-only. Never echo input; account management credential is confined to provisioner.
| Operation ID | setConnectionSecret |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
connection_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ConnectionSecretSet
Responses
202Accepted for asynchronous processing —Job
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/connections/{connection_id}/test
Test connection.
| Operation ID | testConnection |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
connection_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ConnectionTestRequest
Responses
200Successful operation —ConnectionTest
Errors: 400 401 403 404 409 422 429 503 as problem details.