cURL
curl --request GET \ --url https://api.onecli.sh/v1/agents \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "name": "<string>", "identifier": "<string>", "isDefault": true, "createdAt": "2023-11-07T05:31:56Z", "_count": { "agentSecrets": 123, "agentAppConnections": 123 } } ]
Returns all agents in the current project with secret and connection counts.
Documentation IndexFetch the complete documentation index at: https://onecli.sh/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key obtained from the dashboard or GET /user/api-key
GET /user/api-key
List of agents
all
selective
Show child attributes