List 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 Create a scoped API key in the Adlass settings.
In: header
Query Parameters
Opaque continuation cursor from the previous response.
length <= 2048Filter or parameter: limit.
1 <= value <= 10050Filter or parameter: space_id.
uuidFilter or parameter: connection_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128Response 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}