Read a project's agent permissions
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
Each action's effective value for this project and where it comes from (source: account or project), the project's own value (project, null when it follows the account), the account default, and the latest acts agents did here under them (recent). Any workspace member. 404 for another workspace's project.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidrepository_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
actions*array<>can_edit*booleanrecent*array<>curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-grants'Example Response
{ "actions": [ { "account": true, "action": "string", "effective": true, "project": true, "source": "string" } ], "can_edit": true, "recent": [ { "action": "string", "at": "2019-08-24T14:15:22Z", "coding_run_id": "string", "package": "string", "paths": 0 } ]}