---
title: "Get Directive"
method: GET
path: "/api/cs/directive"
tags: ["customer_service"]
---

# Get Directive

`GET /api/cs/directive`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/cs/directive`
- Auth: none declared

The Rooster header card's directive line (module doc: "Rooster
header card + the supervisor's directive"). Computed live on every
request (unlike Today's once-a-day persisted line, module doc has no
"generate once daily" rule for this one, and the underlying counts are
minute-to-minute) — see directive_adapter.py for the live/stub
composer.

If the model is unavailable (credit exhaustion, timeout, network
error), degrades to the deterministic StubDirectiveAdapter composed
over the SAME gathered context rather than 502ing the whole CS
supervisor room -- nothing here is persisted either way, so there is no
caching hazard to guard against (unlike Today's direction line).

⛔A MANAGER WHO WORKS NO QUEUE STILL GETS THE CARD (page audit 2026-10-14,
finding cs-6). Customer Service Analytics opens on the department-overview
grant (`DEPARTMENT_OVERVIEW_GATE`) and draws this card at the top, but this
route asked for a ticket grant that grant does not bring, so a Fulfillment
manager or Engineering login opened a page whose first card said it could
not load. Frederick, 2026-08-20: the manager's analytics "is supposed to
give me the stats of all the tickets ... That's the manager's visibility."
So a caller with no ticket grant who holds the overview grant is read at
oversight scope, exactly as the two analytics reads already are
(`_oversight_kinds`). The directive's counts are the ones the overview
shows them; it reveals nothing more. A caller with neither still gets 403.

## Response `200`

Successful Response

- object

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
