Get agent dependencies
The secrets a custom agent requires and the toolkits it attaches, each with whether it is shared with the agent’s team. Read-only: nothing is shared or revoked by this call. Sharing happens when the agent is shared with its team (visibility PATCH), when the owner edits require_env_vars, and when toolkits or tools are attached or detached. Readable by anyone who can run the agent.
Authorizations
JWT authentication token
Path Parameters
Your own agent's ID (kebab-case slug), or the UUID of a custom agent: one you own, or a team-shared agent you can run (the id GET /api/v1/agents returns for it).
Response
Required secrets and attached toolkits with their sharing state
The secrets an agent requires and the toolkits it attaches, and whether each is shared with the agent's team. A team-visible agent shares the owner's secret for every name in require_env_vars and every attached toolkit the owner owns; leaving the team, changing team or deleting the agent takes back what it shared, except what was shared before or another shared agent still needs. Never contains secret values or user ids.

