Policy
Agent rules
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
What Syndai and the project's agents may do without asking, row by row. Owners and admins; anyone else gets 404.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
repository_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
level?stringDefault
"ask"rules*array<>curl -X GET 'https://api.syndai.ai/api/v1/coding/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-rules'Example Response
{ "level": "ask", "rules": [ { "custom_tool_id": "ee324563-c6f2-47e0-b512-683b3bbc5b59", "effect": "string", "exception": false, "expires_at": "string", "locked": true, "reverted_at": "string", "rule": "allow", "title": "string", "tool": "string" } ]}