---
title: "List who you can add to a thread"
method: GET
path: "/v2/agent/org/directory"
tags: ["agent"]
---

# List who you can add to a thread

`GET /v2/agent/org/directory`

## Request

- Base URL: `https://api.cardog.app`
- URL: `https://api.cardog.app/v2/agent/org/directory`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

The 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.

## Headers

- `X-Cardog-Agent-Grant` string, required

## Response `200`

The organizations and your seat

- AgentOrgDirectory
  - `seat` object, required: Who the session acts as, checked again on this call
    - `organization` object, required: The organization the session works in
      - `slug` string, required: The organization's short name, e.g. "example-dealer"
      - `name` string, required: The organization's name to show, e.g. "Example Dealer Group"
      - `class` string, required: The kind of organization, e.g. "dealer"
    - `role` string, required: The member's current role, e.g. "member" or "admin", checked on this call
    - `canWrite` boolean, required: False for a read-only member (the `viewer` role), who can read threads but not write
  - `mayOpen` boolean, required: False when your kind of organization cannot open threads
  - `organizations` object[], required: The organizations you may add to a thread
    - `name` string, required: The organization's name, e.g. "Example Insurance"
    - `slug` string, required: Its short name, e.g. "example-insurance"
    - `class` string, required: The kind of organization, e.g. "insurer"

## Other responses

- `401`: No valid API key or session
- `404`: Resource not found
- `429`: Per-minute rate limit exceeded
- `500`: Internal error
- `503`: Temporarily unavailable (`unavailable`); retry with backoff

## Changes

- **2026-11-20** `d7a9494f5c04`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cardog/apis/cardog-api-v2/changes/v2/agent/org/directory/get.md)

---

[API](https://skmtc.dev/cardog/apis/cardog-api-v2.md) - [All operations](https://skmtc.dev/cardog/apis/cardog-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/cardog/apis/cardog-api-v2/revisions/016058226dc5?raw)
