Syndai Docs

Read the workspace's agent permissions

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/customers/{customer_id}/agent-grants

Each action's account default (merge: land changes to CI, build, protected and agent files after every check; publish: publish packages; store_release: release, halt or resume a tested store build), off unless an owner or admin turned it on; overrides lists the projects that set their own value; can_edit is whether the caller may change them. Any workspace member (coding:apps:read).

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
actions*array<>
can_edit*boolean
overrides*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-grants'
Example Response
{  "actions": [    {      "action": "string",      "on": true,      "set_by": "6589116c-916e-493a-b3f3-dcb3ee346f00",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "can_edit": true,  "overrides": [    {      "action": "string",      "on": true,      "repository_id": "b349ae61-b973-4c6c-a5e0-89183ba99ff3"    }  ]}
Was this page helpful?