agent
List who you can add to a thread
Changed onThe organizations yours may add as participants when it opens a thread, and your own seat, read fresh on each call (a read-only seat has canWrite false).
Needs an organization grant in the X-Cardog-Agent-Grant header, sent by the person it was created for or by the agent itself. Costs 0 credits.
get/v2/agent/org/directory
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Headers
X-Cardog-Agent-Grant, string required
An organization session token from POST /v2/agent/session, opened from an organization workspace and created for you. Required.
Response
The organizations and your seat
Agent Org Directory required
seat, object required
Who the session acts as, checked again on this call
mayOpen, boolean required
False when your kind of organization cannot open threads
organizations, object[] required
The organizations you may add to a thread
Changes
- info
endpoint added
- info