PathwayAssignment
A request or response body; the type column links to the schemas it refers to.
PathwayAssignment
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | yes | — |
| pathway_id | string (uuid) | yes | — |
| assignee_kind | string | yes | one of "role" | "department" | "organization" |
| role_id | string (uuid) | null | yes | — |
| role_name | string | null | yes | — |
| department_id | string (uuid) | null | yes | The role's department on a role assignment, the audience itself on a department one (covering departments nested beneath it too), null on an organization one. |
| department_name | string | null | yes | — |
| created_at | string (date-time) | yes | — |
jsonExample
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"pathway_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"assignee_kind": "role",
"role_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"role_name": "string",
"department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"department_name": "string",
"created_at": "2026-01-01T00:00:00.000Z"
}