Integrations

List grants

GET
/integrations/grants

List the caller's grants and, for an organization admin, every grant in a Space of that organization, optionally for one Space: read_only, connection_status (the connection's status) and skill_count (routines of the Space bound to the grant). It also lists the grants an organization admin shared with the members of a Space the caller can access (shared: true, with the owner's name); use them by passing connection_id, space_id and grant_id.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Query Parameters

cursor?string

Opaque continuation cursor from the previous response.

Lengthlength <= 2048
limit?integer

Filter or parameter: limit.

Range1 <= value <= 100
Default50
space_id?string

Filter or parameter: space_id.

Formatuuid
connection_id?string

Filter or parameter: connection_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/integrations/grants"
{  "items": [    {      "id": "123e4567-e89b-42d3-a456-426614174000",      "connection_id": "123e4567-e89b-42d3-a456-426614174000",      "space_id": "123e4567-e89b-42d3-a456-426614174000",      "status": "ACTIVE",      "read_only": false,      "allowed_operations": [],      "safe_constraints": {},      "provider_contract_digest": "example",      "risk_acknowledgements": {},      "requires_reapproval": false,      "direct_http": {},      "contract_current": false,      "asset_boundaries": {},      "provider_key": "klaviyo",      "connection_label": "example",      "owner_name": "example",      "shared_with_members": false,      "shared": false,      "connection_status": "example",      "skill_count": 0,      "my_access": "READ"    }  ],  "next_cursor": null}