Related guides
Endpoints
Next steps
- API overview: base URLs, authentication, and pagination
- Errors: status codes and the error format
- Editions: which endpoints each edition serves
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Read the enforced policy for an agent, connection, or app with the OneCLI API. Results combine workspace grants with your organization’s rules.
| Endpoint | Method and path | What it does |
|---|---|---|
| Effective app permissions (workspace) | GET /policy/effective-app-permissions | See what the enforced policy decides for every tool of one app in your workspace, for one agent or the all-agents baseline. |
| Effective credentials of an agent | GET /agents/{agentId}/effective-credentials | List every secret and connection an agent can actually use after organization rules apply, with a status and the deciding rules for each. |
| Effective agent access to a connection | GET /connections/{connectionId}/effective-agents | For one connection, see which agents can use it and how far: usable, limited, blocked, or none, with a summary of tool decisions. |