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.
Get workspace counts, list vault connections and runners, and fetch container config and credential stubs with the OneCLI API.
| Endpoint | Method and path | What it does |
|---|---|---|
| Get resource counts | GET /counts | Get headline counts for the current workspace, such as how many agents and secrets it holds. |
| List vault connections | GET /vaults | List the workspace’s external vault connections, such as 1Password and Bitwarden, and their status. |
| List runners | GET /runners | List the deployment’s hosted-agent runners and whether each one is alive. |
| Get an agent’s container configuration | GET /container-config | Get the environment variables, CA certificate, and credential stubs to point a container at the gateway as an agent. |
| List agents with credential stubs | GET /credential-stubs | List the coding agents that need a local credential stub file to start and route traffic through the gateway. |
| Get a credential stub | GET /credential-stubs/{agent} | Get the placeholder credentials file a coding agent needs locally. |
| Get the gateway skill | GET /skill/gateway | Get the Markdown skill that teaches a coding agent how to use the OneCLI gateway, tailored to a framework. |