cURL
curl --request POST \ --url https://api.onecli.sh/v1/agents/{agentId}/set-default \ --header 'Authorization: Bearer <token>'
{ "success": true }
Marks the specified agent as the project’s default agent.
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
Default agent updated