GET /v2/connections
List connections visible to the caller in their organization.
Visibility follows RBAC: a non-admin sees connections they created, shared with them (directly or via a group), or carrying an org-level role; an admin sees the whole organization. Degraded connections (rehydration failed) are included with status="needs_reconnection", not dropped.
How to use
Filter by a catalog provider_id and select a connection you may use. Non-admin results are access-filtered; missing entries may be unshared. needs_reconnection means repair is needed. This API has no connection-create route.
Authentication and permissions
Required permissions: connections.read. Resource and owner access checks also apply.
Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.
Filter by provider id
Number of items to skip
0Number of items per page
50Successful Response
Machine-readable response code, when provided.
0500Validation Error
curl --fail-with-body -sS \
"$STACKAI_BASE_URL/v2/connections" \
-H "Authorization: Bearer $STACKAI_API_KEY"{
"response_code": "text",
"meta": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": [
{
"connection_id": "123e4567-e89b-12d3-a456-426614174000",
"provider_id": "text",
"auth_method": "text",
"name": "text",
"status": "active",
"expires_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
],
"offset": 0,
"limit": 50,
"total": 0
}Last updated
Was this helpful?

