Docs navigation
Agents

Get Agent Inherited Secrets

Get Agent Inherited Secrets

GET/v2/agents/{agent_id}/secrets/inherited

Names of the secrets this agent inherits, and any conflicts. Behind the same manage authority as the plaintext ``secrets`` field even though it returns no values: knowing which credentials an agent holds is itself project-scoped information. It exists as its own route so the web client can render the inheritance UI without fetching the agent object, which DOES carry plaintext values.

Path Parameters

agent_idstring · uuidrequired
Request
curl --request GET \
  --url https://api.brainbaselabs.com/v2/agents/{agent_id}/secrets/inherited \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response
json
{
  "enabled": true,
  "inherited": [
    {
      "key": "string",
      "orchestration_id": "9dd89140-c482-4cac-a9ef-d3fd3f520018",
      "orchestration_name": "string"
    }
  ],
  "conflicts": [
    {
      "key": "string",
      "orchestration_ids": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ],
      "orchestration_names": [
        "string"
      ]
    }
  ]
}