Skip to main content
GET
/
agents
/
{agentId}
/
secrets
List agent's assigned secrets
curl --request GET \
  --url https://api.onecli.sh/v1/agents/{agentId}/secrets \
  --header 'Authorization: Bearer <token>'
[
  "<string>"
]

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Path Parameters

agentId
string
required

Response

200 - application/json

List of secret IDs