{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/app.orgonaut.co"
        }
    ],
    "info": {
        "name": "Orgonaut API Reference",
        "_postman_id": "9fc2e0a4-dabc-4ecb-9729-7af791098f6c",
        "description": "REST API for reading, modelling and planning your organisation in Orgonaut.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "API Tokens",
            "description": "\nCreate and manage the Bearer tokens used to call this API.\n\nA token belongs to one user in one organisation. On every request its abilities are intersected with the user's current role, so a token never grants more than its owner has. Most people create tokens in **Settings \u2192 API tokens**; `POST \/api\/v1\/tokens` exists for automation that must bootstrap its own token.",
            "item": [
                {
                    "name": "Create an API token",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tokens",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tokens"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"ada@example.com\",\"password\":\"secret-password-123\",\"name\":\"CI\\\/CD Bot\",\"abilities\":[\"actors.read\",\"scenarios.read\"]}"
                        },
                        "description": "Exchanges a member's email and password for a new token bound to the organisation in `X-Tenant`.\nOnly members whose role allows `tokens.manage` (owners and admins) can create tokens, and the\nplan's API token limit applies. Invalid credentials and non-members both return `401`.\n\nStore the returned token securely; it is shown only once. List every ability the token needs in\n`abilities` (see the ability list in **Settings \u2192 API tokens**).\n\n- **Plan feature:** API tokens (Team, Business, Enterprise, Agency)",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"token\":\"1|abcdef123456\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\":\"Invalid credentials\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"code\":\"auth.forbidden\",\"message\":\"Forbidden.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 429,
                            "body": "{\"code\":\"limit.api_tokens\",\"message\":\"API token plan limit reached (1\/1). Revoke an existing token or upgrade your plan.\",\"limit\":1,\"current\":1}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List API tokens",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tokens",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tokens"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "List the authenticated user's tokens.\n\n- **Abilities:** `tokens.manage`\n- **Plan feature:** API tokens (Team, Business, Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12,\n    \"name\": \"CI\/CD Bot\",\n    \"abilities\": [\"actors.read\", \"scenarios.update\"],\n    \"last_used_at\": \"2025-08-01T09:30:12Z\",\n    \"created_at\": \"2025-07-15T12:00:00Z\",\n    \"updated_at\": \"2025-08-01T09:30:12Z\",\n    \"tenant_id\": 3\n  }\n]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Rename an API token",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tokens\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tokens\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "12",
                                    "description": "Token ID."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"CI bot token\"}"
                        },
                        "description": "- **Abilities:** `tokens.manage`\n- **Plan feature:** API tokens (Team, Business, Enterprise, Agency)\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Rotate an API token",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tokens\/:token\/rotate",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tokens\/:token\/rotate",
                            "variable": [
                                {
                                    "id": "token",
                                    "key": "token",
                                    "value": "12",
                                    "description": "Token ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `tokens.manage`\n- **Plan feature:** API tokens (Team, Business, Enterprise, Agency)\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"token\":\"1|abcdef123456\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Revoke an API token",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tokens\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tokens\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "12",
                                    "description": "Token ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `tokens.manage`\n- **Plan feature:** API tokens (Team, Business, Enterprise, Agency)\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Organisations",
            "description": "\nFind the organisations a token can reach and read the current organisation's plan and lifecycle state.\n\nThese endpoints resolve the organisation from the token, so the `X-Tenant` header is optional here.",
            "item": [
                {
                    "name": "List your organisations",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/me\/organisations",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/me\/organisations"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns every organisation the authenticated user belongs to, with their role, plan and lifecycle state.\nUse a `slug` from this list as the `X-Tenant` header."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": 12,\n      \"name\": \"Acme Product\",\n      \"slug\": \"acme-product\",\n      \"plan_code\": \"team\",\n      \"subscription_status\": \"trialing\",\n      \"trial_ends_at\": \"2026-03-06T12:00:00Z\",\n      \"onboarding_completed_at\": null,\n      \"role\": \"owner\"\n    }\n  ]\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show the current organisation",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/organisations\/current",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/organisations\/current"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the organisation this request resolves to: the organisation subdomain when the request uses one,\notherwise the organisation the token was issued for."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": 12,\n    \"name\": \"Acme Product\",\n    \"slug\": \"acme-product\",\n    \"plan_code\": \"team\",\n    \"onboarding_choice\": \"import\",\n    \"onboarding_completed_at\": null,\n    \"trial_started_at\": \"2026-02-21T12:00:00Z\",\n    \"trial_ends_at\": \"2026-03-06T12:00:00Z\",\n    \"subscription_status\": \"trialing\",\n    \"grace_ends_at\": null,\n    \"locked_at\": null,\n    \"role\": \"owner\",\n    \"saml_enabled\": false,\n    \"current_token\": {\n      \"abilities\": [\"cli.access\", \"actors.read\", \"scenarios.read\"],\n      \"cli_access\": true\n    }\n  }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"code\":\"tenant.not_resolved\",\"message\":\"No Organisation Account is currently selected.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Set the onboarding choice",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/organisations\/current\/onboarding-choice",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/organisations\/current\/onboarding-choice"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"onboarding_choice\":\"import\"}"
                        },
                        "description": "Records how the current organisation will start onboarding.\n\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": 12,\n    \"name\": \"Acme Product\",\n    \"slug\": \"acme-product\",\n    \"onboarding_choice\": \"import\",\n    \"subscription_status\": \"trialing\"\n  }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"code\":\"tenant.not_resolved\",\"message\":\"No Organisation Account is currently selected.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Members",
            "description": "\nManage the users who can sign in to the organisation: list, archive, reactivate, change roles and transfer ownership.\n\nMembers are user accounts. The people and agents you model are [Actors](#actors).",
            "item": [
                {
                    "name": "List members",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-members",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-members"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns active and archived members of the organisation with their roles.\n\n- **Abilities:** `members.manage`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"active\":[{\"tenant_id\":3,\"user_id\":42,\"name\":\"Aisling O'Neill\",\"email\":\"aisling@example.com\",\"role\":\"admin\",\"membership_state\":\"active\",\"archived_at\":null,\"archived_by\":null,\"reactivated_at\":null,\"reactivated_by\":null}],\"archived\":[{\"tenant_id\":3,\"user_id\":51,\"name\":\"Niall Byrne\",\"email\":\"niall@example.com\",\"role\":\"member\",\"membership_state\":\"archived\",\"archived_at\":\"2026-02-21T09:30:00Z\",\"archived_by\":42,\"reactivated_at\":null,\"reactivated_by\":null}]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Archive a member",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-members\/:user\/archive",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-members\/:user\/archive",
                            "variable": [
                                {
                                    "id": "user",
                                    "key": "user",
                                    "value": "42",
                                    "description": "User ID of the member."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Archives a member so they can no longer sign in to this organisation. The owner cannot be archived.\n\n- **Abilities:** `members.manage`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"tenant_id\":3,\"user_id\":42,\"name\":\"Aisling O'Neill\",\"email\":\"aisling@example.com\",\"role\":\"member\",\"membership_state\":\"archived\",\"archived_at\":\"2026-03-07T10:15:00Z\",\"archived_by\":7,\"reactivated_at\":null,\"reactivated_by\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Reactivate a member",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-members\/:user\/reactivate",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-members\/:user\/reactivate",
                            "variable": [
                                {
                                    "id": "user",
                                    "key": "user",
                                    "value": "42",
                                    "description": "User ID of the member."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `members.manage`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"tenant_id\":3,\"user_id\":42,\"name\":\"Aisling O'Neill\",\"email\":\"aisling@example.com\",\"role\":\"member\",\"membership_state\":\"active\",\"archived_at\":\"2026-03-01T10:15:00Z\",\"archived_by\":7,\"reactivated_at\":\"2026-03-07T11:05:00Z\",\"reactivated_by\":7}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Change a member's role",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-members\/:user\/role",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-members\/:user\/role",
                            "variable": [
                                {
                                    "id": "user",
                                    "key": "user",
                                    "value": "42",
                                    "description": "User ID of the member."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"role\":\"\\\"viewer\\\"\"}"
                        },
                        "description": "Changes a member's role. To make someone the owner, use **Transfer ownership**.\n\n- **Abilities:** `members.manage`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"tenant_id\":3,\"user_id\":42,\"name\":\"Aisling O'Neill\",\"email\":\"aisling@example.com\",\"role\":\"viewer\",\"membership_state\":\"active\",\"archived_at\":null,\"archived_by\":null,\"reactivated_at\":null,\"reactivated_by\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"Archived memberships must be reactivated before changing the user type.\",\"code\":\"tenancy.invalid_state\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Transfer ownership",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-members\/transfer-ownership",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-members\/transfer-ownership"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"target_user_id\":42}"
                        },
                        "description": "Makes an existing active admin the owner of the organisation.\n\n- **Abilities:** `tenant.ownership.transfer`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"status\":\"ok\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Invitations",
            "description": "\nInvite people to the organisation by email and manage pending invitations.",
            "item": [
                {
                    "name": "List invitations",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-invitations",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-invitations"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `members.manage`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":17,\"tenant_id\":3,\"email\":\"new.user@example.com\",\"role\":\"manager\",\"state\":\"pending\",\"invited_by\":7,\"expires_at\":\"2026-03-14T09:00:00Z\",\"accepted_at\":null,\"accepted_by_user_id\":null,\"revoked_at\":null,\"created_at\":\"2026-03-07T09:00:00Z\",\"updated_at\":\"2026-03-07T09:00:00Z\"}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Invite a member",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-invitations",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-invitations"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"\\\"new.user@example.com\\\"\",\"role\":\"\\\"manager\\\"\"}"
                        },
                        "description": "- **Abilities:** `members.manage`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":17,\"tenant_id\":3,\"email\":\"new.user@example.com\",\"role\":\"manager\",\"state\":\"pending\",\"invited_by\":7,\"expires_at\":\"2026-03-14T09:00:00Z\",\"accepted_at\":null,\"accepted_by_user_id\":null,\"revoked_at\":null,\"created_at\":\"2026-03-07T09:00:00Z\",\"updated_at\":\"2026-03-07T09:00:00Z\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Resend an invitation",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-invitations\/:invite\/resend",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-invitations\/:invite\/resend",
                            "variable": [
                                {
                                    "id": "invite",
                                    "key": "invite",
                                    "value": "17",
                                    "description": "Invitation ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Sends a fresh invitation email. The previous invitation link stops working.\n\n- **Abilities:** `members.manage`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":23,\"tenant_id\":3,\"email\":\"new.user@example.com\",\"role\":\"manager\",\"state\":\"pending\",\"invited_by\":7,\"expires_at\":\"2026-03-21T09:00:00Z\",\"accepted_at\":null,\"accepted_by_user_id\":null,\"revoked_at\":null,\"created_at\":\"2026-03-07T10:00:00Z\",\"updated_at\":\"2026-03-07T10:00:00Z\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Revoke an invitation",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/tenant-invitations\/:invite\/revoke",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/tenant-invitations\/:invite\/revoke",
                            "variable": [
                                {
                                    "id": "invite",
                                    "key": "invite",
                                    "value": "17",
                                    "description": "Invitation ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `members.manage`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":17,\"tenant_id\":3,\"email\":\"new.user@example.com\",\"role\":\"manager\",\"state\":\"revoked\",\"invited_by\":7,\"expires_at\":\"2026-03-14T09:00:00Z\",\"accepted_at\":null,\"accepted_by_user_id\":null,\"revoked_at\":\"2026-03-07T10:15:00Z\",\"created_at\":\"2026-03-07T09:00:00Z\",\"updated_at\":\"2026-03-07T10:15:00Z\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Org Units",
            "description": "\nOrg units are the canonical hierarchy. Every department and team has a matching org unit, and `parent_id` links units into a tree that can be time-bounded with `valid_from` \/ `valid_to`.\n\nUse these endpoints to read the tree and its roll-ups, and to restructure it. Create and edit departments and teams, with their metadata, through the [Departments](#departments) and [Teams](#teams) endpoints. Requests run against Live unless `?scenario={slug}` is passed.",
            "item": [
                {
                    "name": "List org units",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "q3-plan",
                                    "description": "Scenario slug to read from. Omit for the Live Baseline. Unknown scenarios return 400.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario_id%5D",
                                    "value": "7",
                                    "description": "Scenario id or slug; `baseline`\/`live`\/`null` for the Live Baseline. Overrides `scenario`.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario%5D",
                                    "value": "q3-plan",
                                    "description": "Same as filter[scenario_id]; also accepts `current`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-created_at%2Clabel",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,label,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Btype%5D",
                                    "value": "node",
                                    "description": "Filter by the org unit type (string). Typical values include node, team, and department. Other values may appear if inserted in data.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bparent_id%5D",
                                    "value": "42",
                                    "description": "Filter by parent org unit ID.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Borg_units%5D",
                                    "value": "id%2Clabel",
                                    "description": "Sparse fields for org units.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "scenario%2Cactors%2Cmetrics",
                                    "description": "Comma-separated relationships. Allowed: scenario,actors,metrics.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "date Filter actors memberships or metrics by date. Format: YYYY-MM-DD.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units?page=1&per_page=25&scenario=q3-plan&filter%5Bscenario_id%5D=7&filter%5Bscenario%5D=q3-plan&sort=-created_at%2Clabel&filter%5Btype%5D=node&filter%5Bparent_id%5D=42&fields%5Borg_units%5D=id%2Clabel&include=scenario%2Cactors%2Cmetrics&as_of=2025-09-01"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `org-units.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":202,\"type\":\"node\",\"entity_id\":4102,\"label\":\"Retail \u2013 Ireland\",\"scenario_id\":1,\"parent_id\":101}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"total\":1,\"current_page\":1,\"per_page\":15,\"last_page\":1}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported sort: salary\",\"details\":{\"allowed\":[\"id\",\"label\",\"created_at\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"per_page\":[\"The per page must be at least 1.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get the org unit tree",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units\/tree",
                            "query": [
                                {
                                    "key": "root_id",
                                    "value": "1",
                                    "description": "Optional root node id.",
                                    "disabled": false
                                },
                                {
                                    "key": "depth",
                                    "value": "3",
                                    "description": "The max depth to traverse from the root. Default: 2.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "actors%2Cparent",
                                    "description": "Comma-separated includes: actors,members,parent,ancestors,path,metrics.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter[]",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                },
                                {
                                    "key": "filter.type",
                                    "value": "team",
                                    "description": "Filter by org unit type.",
                                    "disabled": false
                                },
                                {
                                    "key": "search",
                                    "value": "Apollo",
                                    "description": "Case-insensitive search on label.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-label",
                                    "description": "Sort by label asc\/desc. Allowed: label, -label. Default: label.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Btype%5D",
                                    "value": "team",
                                    "description": "Filter by org unit type.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units\/tree?root_id=1&depth=3&include=actors%2Cparent&filter[]=&filter.type=team&search=Apollo&sort=-label&filter%5Btype%5D=team"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Get an org subtree (nested) for the current tenant.\n\nReturns the subtree for the given root_id (or the tenant root if omitted),\nup to a maximum depth. Supports includes (members,parent,ancestors,path,metrics),\nsearch by name, and filtering by type.\n\n- **Abilities:** `org-units.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": 101,\n    \"label\": \"Engineering\",\n    \"code\": null,\n    \"type\": \"node\",\n    \"entity_id\": 4102,\n    \"parent_id\": null,\n    \"scenario_id\": 1,\n    \"valid_from\": null,\n    \"valid_to\": null,\n    \"created_at\": \"2025-01-10T09:00:00Z\",\n    \"parent\": null,\n    \"ancestors\": [],\n    \"path\": [\"Engineering\"],\n    \"metrics\": {\n      \"as_of\": \"2025-01-10\",\n      \"direct_headcount\": 0,\n      \"subtree_headcount\": 0,\n      \"direct_monthly_cost\": {\"value\": 0, \"formatted\": \"\u20ac0.00\", \"currency\": \"EUR\"},\n      \"subtree_monthly_cost\": {\"value\": 0, \"formatted\": \"\u20ac0.00\", \"currency\": \"EUR\"}\n    },\n    \"children\": [\n      {\n        \"id\": 202,\n        \"label\": \"Team C\u00faChulainn\",\n        \"code\": null,\n        \"type\": \"team\",\n        \"entity_id\": 15,\n        \"parent_id\": 101,\n        \"scenario_id\": 1,\n        \"valid_from\": null,\n        \"valid_to\": null,\n        \"created_at\": \"2025-01-10T09:00:00Z\",\n        \"parent\": {\"id\":101,\"label\":\"Engineering\"},\n        \"ancestors\": [{\"id\":101,\"label\":\"Engineering\"}],\n        \"path\": [\"Engineering\",\"Team C\u00faChulainn\"],\n    \"metrics\": {\n      \"as_of\": \"2025-01-10\",\n      \"direct_headcount\": 0,\n      \"subtree_headcount\": 0,\n      \"direct_monthly_cost\": {\"value\": 0, \"formatted\": \"\u20ac0.00\", \"currency\": \"EUR\"},\n      \"subtree_monthly_cost\": {\"value\": 0, \"formatted\": \"\u20ac0.00\", \"currency\": \"EUR\"}\n    },\n        \"children\": []\n      }\n    ]\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show an org unit",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units\/:id",
                            "query": [
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "date Format YYYY-MM-DD.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to read from; omit for Live. An unknown slug returns `400`.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units\/:id?as_of=2025-09-01&scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "202",
                                    "description": "Org unit ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Show a single org unit summary.\n\n- **Abilities:** `org-units.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":202,\"label\":\"Retail \u2013 Ireland\",\"type\":\"node\",\"entity_id\":4102,\"rollup\":{\"direct_headcount\":12,\"subtree_headcount\":38,\"direct_monthly_cost\":{\"value\":528500,\"formatted\":\"\u20ac5,285.00\",\"currency\":\"EUR\"},\"subtree_monthly_cost\":{\"value\":1285000,\"formatted\":\"\u20ac12,850.00\",\"currency\":\"EUR\"},\"direct_monthly_cost_cents\":528500,\"subtree_monthly_cost_cents\":1285000,\"velocity_sp\":35,\"velocity_team_count\":3},\"children\":[]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "List an org unit's children",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units\/:org_unit\/children",
                            "query": [
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "date Format YYYY-MM-DD.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit\/children?as_of=2025-09-01",
                            "variable": [
                                {
                                    "id": "org_unit",
                                    "key": "org_unit",
                                    "value": "202",
                                    "description": "Org unit ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "List an org unit's immediate children.\n\n- **Abilities:** `org-units.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":210,\"label\":\"Team C\u00faChulainn\",\"type\":\"team\",\"entity_id\":15,\"rollup\":{\"direct_headcount\":8,\"subtree_headcount\":8,\"direct_monthly_cost\":{\"value\":428500,\"formatted\":\"\u20ac4,285.00\",\"currency\":\"EUR\"},\"subtree_monthly_cost\":{\"value\":428500,\"formatted\":\"\u20ac4,285.00\",\"currency\":\"EUR\"},\"direct_monthly_cost_cents\":428500,\"subtree_monthly_cost_cents\":428500,\"velocity_sp\":18,\"velocity_team_count\":1},\"children\":[]}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List an org unit's descendants",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units\/:id\/descendants",
                            "query": [
                                {
                                    "key": "depth",
                                    "value": "2",
                                    "description": "The max depth to traverse from the root. Default: 3.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "parent",
                                    "description": "Comma-separated includes: actors,members,parent,ancestors,path,metrics.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter[]",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                },
                                {
                                    "key": "filter.type",
                                    "value": "team",
                                    "description": "Filter by org unit type.",
                                    "disabled": false
                                },
                                {
                                    "key": "search",
                                    "value": "Apollo",
                                    "description": "Case-insensitive search on label.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "50",
                                    "description": "Items per page. Max 200.",
                                    "disabled": false
                                },
                                {
                                    "key": "cursor",
                                    "value": "ab",
                                    "description": "Pagination cursor",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Btype%5D",
                                    "value": "team",
                                    "description": "Filter by org unit type.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units\/:id\/descendants?depth=2&include=parent&filter[]=&filter.type=team&search=Apollo&per_page=50&cursor=ab&filter%5Btype%5D=team",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "202",
                                    "description": "Org unit ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Get flattened descendants with cursor pagination.\n\n- **Abilities:** `org-units.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": 202,\n      \"label\": \"Team C\u00faChulainn\",\n      \"code\": null,\n      \"type\": \"team\",\n      \"entity_id\": 15,\n      \"parent_id\": 101,\n      \"scenario_id\": 1,\n      \"valid_from\": null,\n      \"valid_to\": null,\n      \"created_at\": \"2025-01-10T09:00:00Z\",\n      \"metrics\": {\n        \"as_of\": \"2025-01-10\",\n        \"direct_headcount\": 0,\n        \"subtree_headcount\": 0,\n        \"direct_monthly_cost\": {\"value\": 0, \"formatted\": \"\u20ac0.00\", \"currency\": \"EUR\"},\n        \"subtree_monthly_cost\": {\"value\": 0, \"formatted\": \"\u20ac0.00\", \"currency\": \"EUR\"}\n      }\n    },\n    {\n      \"id\": 203,\n      \"label\": \"Team Fianna\",\n      \"code\": null,\n      \"type\": \"team\",\n      \"entity_id\": 16,\n      \"parent_id\": 101,\n      \"scenario_id\": 1,\n      \"valid_from\": null,\n      \"valid_to\": null,\n      \"created_at\": \"2025-01-10T09:00:00Z\"\n    }\n  ],\n  \"links\": {\"next\": null, \"prev\": null},\n  \"meta\": {\"per_page\": 50}\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Summarise org units for charts",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units\/summary",
                            "query": [
                                {
                                    "key": "root_id",
                                    "value": "202",
                                    "description": "The ID of the root org unit.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "date Format YYYY-MM-DD.",
                                    "disabled": false
                                },
                                {
                                    "key": "sprint_id",
                                    "value": "42",
                                    "description": "The sprint for velocity metrics.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units\/summary?root_id=202&as_of=2025-09-01&sprint_id=42"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Get a summarized charts view.\n\n- **Abilities:** `org-units.read` + `costs.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":202,\"label\":\"Retail \u2013 Ireland\",\"type\":\"node\",\"entity_id\":4102,\"rollup\":{\"direct_headcount\":12,\"subtree_headcount\":38,\"direct_monthly_cost\":{\"value\":528500,\"formatted\":\"\u20ac5,285.00\",\"currency\":\"EUR\"},\"subtree_monthly_cost\":{\"value\":1285000,\"formatted\":\"\u20ac12,850.00\",\"currency\":\"EUR\"},\"direct_monthly_cost_cents\":528500,\"subtree_monthly_cost_cents\":1285000,\"velocity_sp\":35,\"velocity_team_count\":3},\"children\":[]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create an org unit",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type\":\"team\",\"entity_id\":15,\"label\":\"Team C\u00faChulainn\",\"scenario_id\":1,\"parent_id\":202,\"valid_from\":\"2025-01-01\",\"valid_to\":\"2025-12-31\"}"
                        },
                        "description": "- **Abilities:** `org-units.create`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":210,\"type\":\"team\",\"entity_id\":15,\"label\":\"Team C\u00faChulainn\",\"scenario_id\":1,\"parent_id\":202,\"valid_from\":\"2025-01-01\",\"valid_to\":\"2025-12-31\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update an org unit",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "202",
                                    "description": "Org unit ID."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type\":\"team\",\"entity_id\":15,\"label\":\"Team C\u00faChulainn\",\"scenario_id\":1,\"parent_id\":202,\"valid_from\":\"2025-01-01\",\"valid_to\":\"2025-12-31\"}"
                        },
                        "description": "- **Abilities:** `org-units.update`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":210,\"type\":\"team\",\"entity_id\":15,\"label\":\"Team C\u00faChulainn\",\"scenario_id\":1,\"parent_id\":202,\"valid_from\":\"2025-01-01\",\"valid_to\":\"2025-12-31\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Structure",
                    "description": "Move, merge, split, delete and restore org units. Each operation updates the hierarchy and queues aggregate recalculation.",
                    "item": [
                        {
                            "name": "Move an org unit",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/:org_unit_id\/move",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit_id\/move",
                                    "variable": [
                                        {
                                            "id": "org_unit_id",
                                            "key": "org_unit_id",
                                            "value": "202",
                                            "description": "Org unit ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"target_parent_id\":11,\"position\":11,\"expected_updated_at\":\"ab\"}"
                                },
                                "description": "Move an org unit to a new parent.\n\n- **Abilities:** `org-units.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":202,\"label\":\"Retail \u2013 Ireland\",\"code\":null,\"type\":\"node\",\"entity_id\":4102,\"parent_id\":88,\"scenario_id\":1,\"valid_from\":\"2025-01-01\",\"valid_to\":null,\"created_at\":\"2025-08-20T10:00:00Z\"}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Merge org units",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/merge",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/merge"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"source_id\":11,\"target_id\":11,\"strategy\":\"ab\",\"expected_updated_at_source\":\"2025-08-29T10:00:00Z\",\"expected_updated_at_target\":\"2025-08-29T10:00:00Z\"}"
                                },
                                "description": "Merge two org units.\n\n- **Abilities:** `org-units.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":202,\"label\":\"Retail \u2013 Ireland\",\"code\":null,\"type\":\"node\",\"entity_id\":4102,\"parent_id\":101,\"scenario_id\":1,\"valid_from\":\"2025-01-01\",\"valid_to\":null,\"created_at\":\"2025-08-20T10:00:00Z\"}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Split an org unit",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/:org_unit_id\/split",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit_id\/split",
                                    "variable": [
                                        {
                                            "id": "org_unit_id",
                                            "key": "org_unit_id",
                                            "value": "202",
                                            "description": "Org unit ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"mode\":\"ab\",\"label\":\"ab\",\"children_to_move\":[\"ab\"],\"expected_updated_at\":\"ab\"}"
                                },
                                "description": "- **Abilities:** `org-units.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"original\":{\"id\":202,\"label\":\"Retail \u2013 Ireland\",\"code\":null,\"type\":\"node\",\"entity_id\":4102,\"parent_id\":101,\"scenario_id\":1,\"valid_from\":\"2025-01-01\",\"valid_to\":null,\"created_at\":\"2025-08-20T10:00:00Z\"},\"created\":{\"id\":244,\"label\":\"Payments \u2013 Ops\",\"code\":null,\"type\":\"node\",\"entity_id\":4102,\"parent_id\":101,\"scenario_id\":1,\"valid_from\":\"2025-01-01\",\"valid_to\":null,\"created_at\":\"2026-03-07T10:30:00Z\"}}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete an org unit",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "202",
                                            "description": "Org unit ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"target_parent_id\":101,\"position\":2,\"expected_updated_at\":\"ab\"}"
                                },
                                "description": "Soft delete an org unit.\n\n- **Abilities:** `org-units.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "{}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Restore an org unit",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/:org_unit_id\/restore",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit_id\/restore",
                                    "variable": [
                                        {
                                            "id": "org_unit_id",
                                            "key": "org_unit_id",
                                            "value": "202",
                                            "description": "Org unit ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "- **Abilities:** `org-units.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":202,\"label\":\"Retail \u2013 Ireland\",\"code\":null,\"type\":\"node\",\"entity_id\":4102,\"parent_id\":101,\"scenario_id\":1,\"valid_from\":\"2025-01-01\",\"valid_to\":null,\"created_at\":\"2025-08-20T10:00:00Z\"}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Metrics",
                    "description": "Cached roll-ups for an org unit and its subtree: headcount, FTE and capacity, cost and velocity.",
                    "item": [
                        {
                            "name": "Show org unit metrics",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/:org_unit\/metrics",
                                    "query": [
                                        {
                                            "key": "as_of",
                                            "value": "2025-09-01",
                                            "description": "date The date to compute metrics as of. Dates after today are projected from dated placements, pay and approved deployments.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit\/metrics?as_of=2025-09-01",
                                    "variable": [
                                        {
                                            "id": "org_unit",
                                            "key": "org_unit",
                                            "value": "202",
                                            "description": "Org unit ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Show the cached aggregate metrics for a single org unit.\n\n- **Abilities:** `org-units.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"as_of\":\"2025-09-01\",\"direct_headcount\":8,\"subtree_headcount\":37,\"direct_monthly_cost_cents\":1250000,\"subtree_monthly_cost_cents\":4185000,\"metrics\":{\"span_of_control\":2}}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Velocity",
                    "description": "Sprint velocity rolled up from the teams under an org unit.",
                    "item": [
                        {
                            "name": "Show org unit velocity",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/:org_unit\/velocity",
                                    "query": [
                                        {
                                            "key": "sprint_id",
                                            "value": "11",
                                            "description": "The sprint to query.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "as_of",
                                            "value": "ab",
                                            "description": "date Mutually exclusive with sprint_id.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit\/velocity?sprint_id=11&as_of=ab",
                                    "variable": [
                                        {
                                            "id": "org_unit",
                                            "key": "org_unit",
                                            "value": "202",
                                            "description": "Org unit ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Get velocity for an org unit.\n\n- **Abilities:** `org-metrics.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"org_unit_id\":202,\"sprint_id\":42,\"period\":{\"label\":\"Sprint 18\",\"starts_at\":\"2025-09-01\",\"ends_at\":\"2025-09-14\"},\"velocity_sp\":88,\"teams_count\":4}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show an org unit velocity series",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/org-units\/:org_unit\/velocity\/series",
                                    "query": [
                                        {
                                            "key": "from_sprint_id",
                                            "value": "1",
                                            "description": "Starting sprint ID. The id of an existing record in the sprint_periods table.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "to_sprint_id",
                                            "value": "10",
                                            "description": "Ending sprint ID. The id of an existing record in the sprint_periods table.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "from",
                                            "value": "2025-01-01",
                                            "description": "Start date (YYYY-MM-DD). Must be a valid date. Must be a valid date in the format Y-m-d.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "to",
                                            "value": "2025-06-01",
                                            "description": "End date (YYYY-MM-DD). Must be a valid date. Must be a valid date in the format Y-m-d.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "limit",
                                            "value": "12",
                                            "description": "Maximum number of sprints to return. Must be at least 1. Must not be greater than 50.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "order",
                                            "value": "asc",
                                            "description": "Sort order by sprint start.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit\/velocity\/series?from_sprint_id=1&to_sprint_id=10&from=2025-01-01&to=2025-06-01&limit=12&order=asc",
                                    "variable": [
                                        {
                                            "id": "org_unit",
                                            "key": "org_unit",
                                            "value": "202",
                                            "description": "Org unit ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Get velocity series for an org unit.\n\n- **Abilities:** `org-metrics.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"org_unit_id\":202,\"sprint_id\":41,\"period\":{\"label\":\"Sprint 17\",\"starts_at\":\"2025-08-18\",\"ends_at\":\"2025-08-31\"},\"velocity_sp\":81,\"teams_count\":4},{\"org_unit_id\":202,\"sprint_id\":42,\"period\":{\"label\":\"Sprint 18\",\"starts_at\":\"2025-09-01\",\"ends_at\":\"2025-09-14\"},\"velocity_sp\":88,\"teams_count\":4}]}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Departments",
            "description": "\nDepartments group teams and people. Each department has a type, an optional lead and cost centre, and a matching org unit that places it in the hierarchy.\n\nMembership comes from [placements](#placements), not from a department field on the actor. Requests run against Live unless `?scenario={slug}` is passed.",
            "item": [
                {
                    "name": "List departments",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/departments",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "q3-plan",
                                    "description": "Scenario slug to read from. Omit for the Live Baseline. Unknown scenarios return 400.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario_id%5D",
                                    "value": "7",
                                    "description": "Scenario id or slug; `baseline`\/`live`\/`null` for the Live Baseline. Overrides `scenario`.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario%5D",
                                    "value": "q3-plan",
                                    "description": "Same as filter[scenario_id]; also accepts `current`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-created_at%2Cname",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,name,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Blead_id%5D",
                                    "value": "44",
                                    "description": "Filter by lead.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bdepartments%5D",
                                    "value": "id%2Cname%2Cdepartment_type_id",
                                    "description": "Sparse fields for departments.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "lead%2CdepartmentType",
                                    "description": "Comma-separated relationships. Allowed: lead,departmentType,parentDepartment,aggregate.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/departments?page=1&per_page=25&scenario=q3-plan&filter%5Bscenario_id%5D=7&filter%5Bscenario%5D=q3-plan&sort=-created_at%2Cname&filter%5Blead_id%5D=44&fields%5Bdepartments%5D=id%2Cname%2Cdepartment_type_id&include=lead%2CdepartmentType"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `departments.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":3,\"name\":\"Engineering\",\"lead_id\":44,\"cost_center\":\"ENG-001\",\"department_type_id\":7,\"department_type\":{\"id\":7,\"name\":\"Division\",\"slug\":\"division\",\"color\":\"#0052cc\"},\"parent_org_unit_id\":202,\"parent_department_id\":2,\"parent_department\":{\"id\":2,\"name\":\"Product\"},\"scenario_id\":1,\"is_active\":true,\"description\":\"Platform engineering for core services.\",\"created_at\":\"2025-01-10T09:00:00Z\"}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"total\":1,\"current_page\":1,\"per_page\":15,\"last_page\":1}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported sort: salary\",\"details\":{\"allowed\":[\"id\",\"name\",\"created_at\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"per_page\":[\"The per page must be at least 1.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a department",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/departments",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/departments?scenario="
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Engineering\",\"department_type_id\":5,\"parent_org_unit_id\":42,\"cost_center\":\"ENG-1001\",\"department_lead_id\":44,\"is_active\":true,\"description\":\"Supports the full product org.\"}"
                        },
                        "description": "- **Abilities:** `departments.create`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":3,\"name\":\"Engineering\",\"lead_id\":44,\"cost_center\":\"ENG-001\",\"department_type_id\":7,\"department_type\":{\"id\":7,\"name\":\"Division\",\"slug\":\"division\",\"color\":\"#0052cc\"},\"parent_org_unit_id\":202,\"parent_department_id\":null,\"parent_department\":null,\"scenario_id\":1,\"is_active\":true,\"description\":\"Owns platform reliability.\",\"created_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Show a department",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/departments\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/departments\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "3",
                                    "description": "Department ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `departments.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":3,\"name\":\"Engineering\",\"lead_id\":44,\"cost_center\":\"ENG-001\",\"department_type_id\":7,\"department_type\":{\"id\":7,\"name\":\"Division\",\"slug\":\"division\",\"color\":\"#0052cc\"},\"parent_org_unit_id\":202,\"parent_department_id\":2,\"parent_department\":{\"id\":2,\"name\":\"Product\"},\"scenario_id\":1,\"is_active\":true,\"description\":\"Platform engineering for core services.\",\"created_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a department",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/departments\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/departments\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "3",
                                    "description": "Department ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Engineering\",\"department_type_id\":5,\"parent_org_unit_id\":42,\"department_lead_id\":44,\"cost_center\":\"ENG-1001\",\"is_active\":true,\"description\":\"Supports the full product org.\"}"
                        },
                        "description": "- **Abilities:** `departments.update`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":3,\"name\":\"Engineering & Infrastructure\",\"lead_id\":44,\"cost_center\":\"ENG-001\",\"department_type_id\":7,\"department_type\":{\"id\":7,\"name\":\"Division\",\"slug\":\"division\",\"color\":\"#0052cc\"},\"parent_org_unit_id\":202,\"parent_department_id\":2,\"parent_department\":{\"id\":2,\"name\":\"Product\"},\"scenario_id\":1,\"is_active\":true,\"description\":\"Platform engineering for core services.\",\"created_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Delete a department",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/departments\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/departments\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "3",
                                    "description": "Department ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `departments.delete`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Teams",
            "description": "\nTeams are where work happens. Each team has a team type (for example Stream-aligned or Platform), a purpose and a matching org unit for its place in the hierarchy.\n\nRequests run against Live unless `?scenario={slug}` is passed.",
            "item": [
                {
                    "name": "List teams",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/teams",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "q3-plan",
                                    "description": "Scenario slug to read from. Omit for the Live Baseline. Unknown scenarios return 400.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario_id%5D",
                                    "value": "7",
                                    "description": "Scenario id or slug; `baseline`\/`live`\/`null` for the Live Baseline. Overrides `scenario`.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario%5D",
                                    "value": "q3-plan",
                                    "description": "Same as filter[scenario_id]; also accepts `current`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-created_at%2Cname",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,name,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bdepartment_id%5D",
                                    "value": "5",
                                    "description": "Filter by department id.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Borg_unit_id%5D",
                                    "value": "10",
                                    "description": "Filter by org unit id (department subtree).",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bteams%5D",
                                    "value": "id%2Cname",
                                    "description": "Sparse fields for teams.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "aggregate",
                                    "description": "Comma-separated relationships. Allowed: aggregate.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/teams?page=1&per_page=25&scenario=q3-plan&filter%5Bscenario_id%5D=7&filter%5Bscenario%5D=q3-plan&sort=-created_at%2Cname&filter%5Bdepartment_id%5D=5&filter%5Borg_unit_id%5D=10&fields%5Bteams%5D=id%2Cname&include=aggregate"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `teams.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":15,\"name\":\"Team C\u00faChulainn\",\"team_type_id\":3,\"team_type\":{\"id\":3,\"name\":\"Cross-functional\",\"slug\":\"cross-functional\"},\"purpose\":\"Platform delivery\",\"parent_org_unit_id\":202,\"scenario_id\":1,\"valid_from\":\"2025-01-10\",\"valid_to\":null,\"created_at\":\"2025-01-10T09:00:00Z\"}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"total\":1,\"current_page\":1,\"per_page\":15,\"last_page\":1}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported sort: salary\",\"details\":{\"allowed\":[\"id\",\"name\",\"created_at\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"per_page\":[\"The per page must be at least 1.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a team",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/teams",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/teams?scenario="
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Platform\",\"team_type_id\":1,\"purpose\":\"Internal platforms\",\"valid_from\":\"2025-01-01\",\"valid_to\":\"2025-12-31\",\"parent_org_unit_id\":7}"
                        },
                        "description": "- **Abilities:** `teams.create`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":15,\"name\":\"Team C\u00faChulainn\",\"team_type_id\":3,\"team_type\":{\"id\":3,\"name\":\"Cross-functional\",\"slug\":\"cross-functional\"},\"purpose\":\"Platform delivery\",\"parent_org_unit_id\":202,\"scenario_id\":1,\"valid_from\":\"2025-01-10\",\"valid_to\":null,\"created_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Show a team",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/teams\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to read from; omit for Live. An unknown slug returns `400`.",
                                    "disabled": true
                                },
                                {
                                    "key": "filter%5Bscenario_id%5D",
                                    "value": "1",
                                    "description": "Filter by scenario ID.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/teams\/:id?scenario=&filter%5Bscenario_id%5D=1",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "15",
                                    "description": "Team ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `teams.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":15,\"name\":\"Team C\u00faChulainn\",\"team_type_id\":3,\"team_type\":{\"id\":3,\"name\":\"Cross-functional\",\"slug\":\"cross-functional\"},\"purpose\":\"Platform delivery\",\"parent_org_unit_id\":202,\"scenario_id\":1,\"valid_from\":\"2025-01-10\",\"valid_to\":null,\"created_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Update a team",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/teams\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/teams\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "15",
                                    "description": "Team ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Platform\",\"team_type_id\":1,\"purpose\":\"Internal platforms\",\"valid_from\":\"2025-01-01\",\"valid_to\":\"2025-12-31\",\"parent_org_unit_id\":7}"
                        },
                        "description": "- **Abilities:** `teams.update`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":15,\"name\":\"Team Fianna\",\"team_type_id\":3,\"team_type\":{\"id\":3,\"name\":\"Cross-functional\",\"slug\":\"cross-functional\"},\"purpose\":\"Platform delivery\",\"parent_org_unit_id\":202,\"scenario_id\":1,\"valid_from\":\"2025-01-10\",\"valid_to\":null,\"created_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Delete a team",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/teams\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/teams\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "15",
                                    "description": "Team ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `teams.delete`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Velocity",
                    "description": "Sprint velocity for a team, from recorded sprint stats.",
                    "item": [
                        {
                            "name": "Show team velocity for a sprint",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/teams\/:team_id\/velocity",
                                    "query": [
                                        {
                                            "key": "sprint_id",
                                            "value": "11",
                                            "description": "The sprint to query.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "as_of",
                                            "value": "ab",
                                            "description": "date Mutually exclusive with sprint_id.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/teams\/:team_id\/velocity?sprint_id=11&as_of=ab",
                                    "variable": [
                                        {
                                            "id": "team_id",
                                            "key": "team_id",
                                            "value": "15",
                                            "description": "Team ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Get velocity stats for a team in a sprint.\n\n- **Abilities:** `org-metrics.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"team_id\":12,\"sprint_id\":42,\"period\":{\"label\":\"Sprint 18\",\"starts_at\":\"2025-09-01\",\"ends_at\":\"2025-09-14\"},\"committed_sp\":34,\"completed_sp\":31,\"scope_added_sp\":3,\"carried_over_sp\":5,\"stories_done\":12,\"source\":\"jira\"}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show a team velocity series",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/teams\/:team_id\/velocity\/series",
                                    "query": [
                                        {
                                            "key": "from_sprint_id",
                                            "value": "11",
                                            "description": "Starting sprint ID.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "to_sprint_id",
                                            "value": "11",
                                            "description": "Ending sprint ID.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "from",
                                            "value": "ab",
                                            "description": "date Start date.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "to",
                                            "value": "ab",
                                            "description": "date End date.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "limit",
                                            "value": "11",
                                            "description": "Maximum results. Defaults to 12.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "order",
                                            "value": "ab",
                                            "description": "asc or desc. Defaults to asc.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/teams\/:team_id\/velocity\/series?from_sprint_id=11&to_sprint_id=11&from=ab&to=ab&limit=11&order=ab",
                                    "variable": [
                                        {
                                            "id": "team_id",
                                            "key": "team_id",
                                            "value": "15",
                                            "description": "Team ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Get a velocity series for a team.\n\n- **Abilities:** `org-metrics.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"team_id\":12,\"sprint_id\":41,\"period\":{\"label\":\"Sprint 17\",\"starts_at\":\"2025-08-18\",\"ends_at\":\"2025-08-31\"},\"committed_sp\":29,\"completed_sp\":27,\"scope_added_sp\":2,\"carried_over_sp\":4,\"stories_done\":10,\"source\":\"jira\"},{\"team_id\":12,\"sprint_id\":42,\"period\":{\"label\":\"Sprint 18\",\"starts_at\":\"2025-09-01\",\"ends_at\":\"2025-09-14\"},\"committed_sp\":34,\"completed_sp\":31,\"scope_added_sp\":3,\"carried_over_sp\":5,\"stories_done\":12,\"source\":\"jira\"}]}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Actors",
            "description": "\nActors are the people, AI agents and robots in your organisation (`kind`: `human`, `agent` or `robot`).\n\nWhere an actor sits comes from their [placements](#placements): `team` and `department` are derived from the primary placement. `title`, `contract_type` and target pay come from the actor's current position. Requests run against Live unless `?scenario={slug}` is passed.",
            "item": [
                {
                    "name": "List actors",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/actors",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "q3-plan",
                                    "description": "Scenario slug to read from. Omit for the Live Baseline. Unknown scenarios return 400.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario_id%5D",
                                    "value": "7",
                                    "description": "Scenario id or slug; `baseline`\/`live`\/`null` for the Live Baseline. Overrides `scenario`.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario%5D",
                                    "value": "q3-plan",
                                    "description": "Same as filter[scenario_id]; also accepts `current`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-created_at%2Cname",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,name,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bstatus%5D",
                                    "value": "active",
                                    "description": "Filter by status.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bdepartment_id%5D",
                                    "value": "5",
                                    "description": "Filter by department id. Uses the department org unit mapping derived from `org_unit_actor`.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Borg_unit_id%5D",
                                    "value": "10",
                                    "description": "Filter by org unit id (department or team subtree).",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bactors%5D",
                                    "value": "id%2Cfirst_name%2Clast_name",
                                    "description": "Sparse fields for actors.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "manager%2Cteam",
                                    "description": "Comma-separated expansions. Allowed: manager,org_units,team,department. The `team`\/`department` flags surface computed placement data.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "The date\/datetime used for time-window checks. Defaults to now.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario_id",
                                    "value": "4",
                                    "description": "The scenario ID to scope results. Omit or pass `scenario_id=null` for baseline data.",
                                    "disabled": false
                                },
                                {
                                    "key": "with_counts",
                                    "value": "reports",
                                    "description": "Comma-separated relationship counts. Allowed: reports.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/actors?page=1&per_page=25&scenario=q3-plan&filter%5Bscenario_id%5D=7&filter%5Bscenario%5D=q3-plan&sort=-created_at%2Cname&filter%5Bstatus%5D=active&filter%5Bdepartment_id%5D=5&filter%5Borg_unit_id%5D=10&fields%5Bactors%5D=id%2Cfirst_name%2Clast_name&include=manager%2Cteam&as_of=2025-09-01&scenario_id=4&with_counts=reports"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns actors with their primary team resolved from primary org-unit placements (primary=true) inside\nthe active scenario context.\n\n- **Abilities:** `actors.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": 44,\n      \"first_name\": \"Aoife\",\n      \"last_name\": \"Ryan\",\n      \"name\": \"Aoife Ryan\",\n      \"email\": \"aoife.ryan@example.com\",\n      \"fte\": 1.0,\n      \"manager_id\": 2,\n      \"team\": {\n        \"id\": 15,\n        \"name\": \"Team C\u00faChulainn\",\n        \"team_type\": {\n          \"id\": 3,\n          \"name\": \"Product Squad\",\n          \"slug\": \"product-squad\"\n        }\n      },\n      \"department\": {\"id\": 3, \"name\": \"Engineering\"}\n    }\n  ]\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported sort: salary\",\"details\":{\"allowed\":[\"id\",\"name\",\"created_at\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"per_page\":[\"The per page must be at least 1.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create an actor",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/actors",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/actors?scenario="
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"first_name\":\"Aoife\",\"last_name\":\"Ryan\",\"email\":\"aoife.ryan@example.com\",\"external_uid\":\"01J9ZQ4J6W2Q0WJ9V6YV5NPQ4W\",\"kind\":\"human\",\"status\":\"active\",\"fte\":1,\"position_id\":42,\"create_placement\":true,\"location\":\"Dublin, IE\",\"start_date\":\"2025-09-01\",\"end_date\":\"2025-09-30\",\"manager_id\":2,\"agent_profile\":{\"provider\":\"openai\",\"orchestrator\":\"langgraph\",\"meta\":{\"capabilities\":[\"search\"]},\"endpoint_base_url\":\"https:\\\/\\\/api.openai.com\",\"model_default\":\"gpt-4.1\"}}"
                        },
                        "description": "Manager must belong to the same tenant and cannot reference the actor themselves.\n\n- **Abilities:** `actors.create`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":44,\"first_name\":\"Aoife\",\"last_name\":\"Ryan\",\"name\":\"Aoife Ryan\",\"email\":\"aoife.ryan@example.com\",\"kind\":\"human\",\"status\":\"active\",\"contract_type\":\"perm\",\"fte\":1.0,\"manager_id\":2,\"start_date\":\"2025-09-01\",\"end_date\":\"2025-09-30\",\"created_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 429,
                            "body": "{\"code\":\"limit.actors\",\"message\":\"Actor plan limit reached (250\/250). Upgrade your plan to add more people.\",\"limit\":250,\"current\":250}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show an actor",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/actors\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to read from; omit for Live. An unknown slug returns `400`.",
                                    "disabled": true
                                },
                                {
                                    "key": "include",
                                    "value": "manager%2Cteam",
                                    "description": "Comma-separated expansions. Allowed: manager,org_units,team,department. The `team`\/`department` flags surface computed placement data.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "The date\/datetime used for time-window checks. Defaults to now.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario_id",
                                    "value": "",
                                    "description": "The scenario context to resolve against. Defaults to current (baseline if none).",
                                    "disabled": true
                                },
                                {
                                    "key": "with_counts",
                                    "value": "reports",
                                    "description": "Comma-separated relationship counts. Allowed: reports.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/actors\/:id?scenario=&include=manager%2Cteam&as_of=2025-09-01&scenario_id=&with_counts=reports",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "44",
                                    "description": "Actor ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns an actor with their primary team resolved from primary org-unit placement (primary=true) within\nthe active scenario context.\n\n- **Abilities:** `actors.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n    \"data\": {\n        \"id\": 44,\n        \"first_name\": \"Aoife\",\n        \"last_name\": \"Ryan\",\n        \"name\": \"Aoife Ryan\",\n        \"email\": \"aoife.ryan@example.com\",\n        \"kind\": \"human\",\n        \"status\": \"active\",\n        \"contract_type\": \"perm\",\n        \"fte\": 1.0,\n        \"manager_id\": 2,\n        \"manager\": {\"id\":2,\"first_name\":\"Brian\",\"last_name\":\"O'Neil\",\"name\":\"Brian O'Neil\"},\n        \"reports_count\": 3,\n        \"team\": {\n            \"id\": 15,\n            \"name\": \"Team C\u00faChulainn\",\n            \"team_type\": {\n                \"id\": 3,\n                \"name\": \"Product Squad\",\n                \"slug\": \"product-squad\"\n            }\n        },\n        \"department\": {\"id\":3,\"name\":\"Engineering\"},\n        \"created_at\": \"2025-01-10T09:00:00Z\"\n    }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Update an actor",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/actors\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/actors\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "44",
                                    "description": "Actor ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"first_name\":\"Aoife\",\"last_name\":\"Ryan\",\"email\":\"aoife.ryan@example.com\",\"external_uid\":\"01J9ZQ4J6W2Q0WJ9V6YV5NPQ4W\",\"kind\":\"human\",\"status\":\"active\",\"fte\":1,\"position_id\":42,\"create_placement\":true,\"location\":\"Dublin, IE\",\"start_date\":\"2025-09-01\",\"end_date\":\"2025-09-30\",\"manager_id\":2,\"agent_profile\":{\"provider\":\"openai\",\"orchestrator\":\"langgraph\",\"meta\":{\"capabilities\":[\"search\"]}}}"
                        },
                        "description": "Manager must belong to the same tenant and cannot reference the actor themselves.\n\n- **Abilities:** `actors.update`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n    \"data\": {\n        \"id\": 44,\n        \"first_name\": \"Aoife\",\n        \"last_name\": \"Ryan\",\n        \"name\": \"Aoife Ryan\",\n        \"email\": \"aoife.ryan@example.com\",\n        \"kind\": \"human\",\n        \"status\": \"active\",\n        \"fte\": 1.0,\n        \"manager_id\": 2,\n        \"team\": {\"id\":15,\"name\":\"Team C\u00faChulainn\"},\n        \"department\": {\"id\":3,\"name\":\"Engineering\"},\n        \"created_at\": \"2025-01-10T09:00:00Z\"\n    }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Delete an actor",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/actors\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/actors\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "44",
                                    "description": "Actor ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `actors.delete`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Compensation",
                    "description": "Effective-dated pay records (salary or day rate) for an actor. Reading pay requires `costs.read`.",
                    "item": [
                        {
                            "name": "List an actor's compensation",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/actors\/:actor_id\/compensations",
                                    "query": [
                                        {
                                            "key": "scenario_id",
                                            "value": "4",
                                            "description": "Scenario id to scope results; omit or pass null for baseline only.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "as_of",
                                            "value": "2025-03-01",
                                            "description": "Date used to flag current slices.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "include",
                                            "value": "scenario",
                                            "description": "Comma-separated relationships. Allowed: scenario,actor.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "fields%5Bactor_compensations%5D",
                                            "value": "id%2Ccurrency%2Cbase_salary_cents",
                                            "description": "Sparse fieldset.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/actors\/:actor_id\/compensations?scenario_id=4&as_of=2025-03-01&include=scenario&fields%5Bactor_compensations%5D=id%2Ccurrency%2Cbase_salary_cents",
                                    "variable": [
                                        {
                                            "id": "actor_id",
                                            "key": "actor_id",
                                            "value": "44",
                                            "description": "Actor ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Lists compensation slices for the given actor. When a scenario context is supplied,\nscenario slices are returned alongside baseline fallbacks, ordered with scenario data first.\n\n- **Abilities:** `actors.read` + `costs.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":1,\"currency\":\"USD\",\"base_salary_cents\":12000000}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Add a compensation record",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/actors\/:actor_id\/compensations",
                                    "query": [
                                        {
                                            "key": "include",
                                            "value": "scenario",
                                            "description": "Comma-separated relationships. Allowed: scenario,actor.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/actors\/:actor_id\/compensations?include=scenario&scenario=",
                                    "variable": [
                                        {
                                            "id": "actor_id",
                                            "key": "actor_id",
                                            "value": "44",
                                            "description": "Actor ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"scenario_id\":3,\"employment_type\":\"Permanent\",\"currency\":\"USD\",\"base_salary_cents\":12000000,\"daily_rate_cents\":45000,\"valid_from\":\"2025-01-01\",\"valid_to\":\"2025-12-31\",\"meta\":{\"note\":\"Includes sign-on bonus\"}}"
                                },
                                "description": "Stores a new compensation slice for the actor.\n\n- **Abilities:** `actors.update`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":9,\"currency\":\"EUR\",\"daily_rate_cents\":55000}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Update a compensation record",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/actors\/:actor_id\/compensations\/:id",
                                    "query": [
                                        {
                                            "key": "include",
                                            "value": "scenario",
                                            "description": "Comma-separated relationships. Allowed: scenario,actor.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/actors\/:actor_id\/compensations\/:id?include=scenario&scenario=",
                                    "variable": [
                                        {
                                            "id": "actor_id",
                                            "key": "actor_id",
                                            "value": "44",
                                            "description": "Actor ID."
                                        },
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "9",
                                            "description": "Compensation record ID."
                                        }
                                    ]
                                },
                                "method": "PATCH",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"scenario_id\":3,\"employment_type\":\"Contractor\",\"currency\":\"GBP\",\"base_salary_cents\":9800000,\"daily_rate_cents\":60000,\"valid_from\":\"2025-02-01\",\"valid_to\":\"2025-09-30\",\"meta\":{\"note\":\"Updated after promotion\"}}"
                                },
                                "description": "Updates an existing compensation slice for the actor.\n\n- **Abilities:** `actors.update`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":9,\"currency\":\"USD\",\"base_salary_cents\":9900000}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Delete a compensation record",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/actors\/:actor_id\/compensations\/:id",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/actors\/:actor_id\/compensations\/:id?scenario=",
                                    "variable": [
                                        {
                                            "id": "actor_id",
                                            "key": "actor_id",
                                            "value": "44",
                                            "description": "Actor ID."
                                        },
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "9",
                                            "description": "Compensation record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Soft deletes a compensation slice.\n\n- **Abilities:** `actors.delete`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "{}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Positions",
            "description": "\nPositions are effective-dated seats on a team: title, level, discipline, FTE and target pay.\n\nPositions describe roles; they do not enforce headcount. Who sits where comes from [placements](#placements). Requests run against Live unless `?scenario={slug}` is passed.",
            "item": [
                {
                    "name": "List positions",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/positions",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number to return.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Results per page (max 100).",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "q3-plan",
                                    "description": "Scenario slug to read from. Omit for the Live Baseline. Unknown scenarios return 400.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario_id%5D",
                                    "value": "7",
                                    "description": "Scenario id or slug; `baseline`\/`live`\/`null` for the Live Baseline. Overrides `scenario`.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario%5D",
                                    "value": "q3-plan",
                                    "description": "Same as filter[scenario_id]; also accepts `current`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-valid_from",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,valid_from,valid_to,fte,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Borg_unit_team_id%5D",
                                    "value": "4201",
                                    "description": "Filter by a budgeted team org unit (planning metadata only).",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Btarget_employment_type%5D",
                                    "value": "perm",
                                    "description": "Restrict by budgeted employment type (perm or contractor).",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bactive_as_of%5D",
                                    "value": "2025-09-20",
                                    "description": "date Return positions active on this ISO date (YYYY-MM-DD).",
                                    "disabled": false
                                },
                                {
                                    "key": "q",
                                    "value": "platform+engineer",
                                    "description": "Free-text search across title, team name, and actor name.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "team%2Cactor",
                                    "description": "Comma-separated relationships. Allowed: team,actor.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bpositions%5D",
                                    "value": "id%2Ctitle%2Cteam",
                                    "description": "Sparse fieldset selection.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/positions?page=1&per_page=25&scenario=q3-plan&filter%5Bscenario_id%5D=7&filter%5Bscenario%5D=q3-plan&sort=-valid_from&filter%5Borg_unit_team_id%5D=4201&filter%5Btarget_employment_type%5D=perm&filter%5Bactive_as_of%5D=2025-09-20&q=platform+engineer&include=team%2Cactor&fields%5Bpositions%5D=id%2Ctitle%2Cteam"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns positions in Live, or in a scenario when `scenario` (or `filter[scenario]`) is passed.\nUnknown scenario slugs return `400`.\n\n- **Abilities:** `positions.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n    \"data\": [\n        {\n            \"id\": 17,\n            \"org_unit_team_id\": 4201,\n            \"actor_id\": null,\n            \"title\": \"Staff Platform Engineer\",\n            \"target_employment_type\": \"perm\",\n            \"fte\": 1,\n            \"target_annual_salary_cents\": 11850000,\n            \"target_daily_rate_cents\": null,\n            \"target_currency\": \"EUR\",\n            \"valid_from\": \"2024-03-01\",\n            \"valid_to\": null,\n            \"scenario_id\": null,\n            \"meta\": {\n                \"cost_centre\": \"ENG-PLAT\",\n                \"notes\": \"Supports platform migration.\"\n            },\n            \"team\": {\n                \"id\": 8,\n                \"name\": \"Platform Experience\",\n                \"slug\": \"platform-experience\"\n            },\n            \"actor\": null,\n            \"budget\": {\n                \"employment_type\": \"perm\",\n                \"fte\": 1,\n                \"annual_salary_cents\": 11850000,\n                \"daily_rate_cents\": null,\n                \"currency\": \"EUR\"\n            },\n            \"links\": {\n                \"self\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions\/17\",\n                \"team\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/teams\/8\",\n                \"actor\": null\n            },\n            \"created_at\": \"2025-09-19T09:00:00Z\",\n            \"updated_at\": \"2025-09-19T09:00:00Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions?page=1\",\n        \"last\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions?page=3\",\n        \"prev\": null,\n        \"next\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 3,\n        \"path\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions\",\n        \"per_page\": 25,\n        \"to\": 25,\n        \"total\": 62\n    }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\n    \"code\": \"query.invalid_parameter\",\n    \"message\": \"Unsupported filter[scenario]: future\",\n    \"details\": {\n        \"allowed\": [\"baseline\", \"live\", \"current\", \"{id}\", \"{slug}\"]\n    }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Create a position",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/positions",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/positions?scenario="
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"ab\",\"role_type_id\":11,\"org_unit_team_id\":4201,\"target_employment_type\":\"ab\",\"fte\":1,\"target_annual_salary_cents\":8500000,\"target_daily_rate_cents\":45000,\"target_currency\":\"EUR\",\"valid_from\":\"2025-09-20\",\"valid_to\":\"2026-03-31\",\"meta\":{\"cost_centre\":\"ENG-PLAT\"},\"create_placement\":true,\"tenant_id\":11,\"scenario_id\":11}"
                        },
                        "description": "Creates the position in Live, or in the scenario named by `?scenario={slug}`.\n\n- **Abilities:** `positions.create`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n    \"data\": {\n        \"id\": 24,\n        \"org_unit_team_id\": 4201,\n        \"actor_id\": null,\n        \"title\": \"Staff Platform Engineer\",\n        \"target_employment_type\": \"perm\",\n        \"fte\": 1,\n        \"target_annual_salary_cents\": 11850000,\n        \"target_daily_rate_cents\": null,\n        \"target_currency\": \"EUR\",\n        \"valid_from\": \"2024-03-01\",\n        \"valid_to\": null,\n        \"scenario_id\": null,\n        \"meta\": {\n            \"cost_centre\": \"ENG-PLAT\",\n            \"notes\": \"Supports platform migration.\"\n        },\n        \"team\": {\n            \"id\": 8,\n            \"name\": \"Platform Experience\",\n            \"slug\": \"platform-experience\"\n        },\n        \"actor\": null,\n        \"budget\": {\n            \"employment_type\": \"perm\",\n            \"fte\": 1,\n            \"annual_salary_cents\": 11850000,\n            \"daily_rate_cents\": null,\n            \"currency\": \"EUR\"\n        },\n        \"links\": {\n            \"self\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions\/24\",\n            \"team\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/teams\/8\",\n            \"actor\": null\n        },\n        \"created_at\": \"2025-09-19T09:15:00Z\",\n        \"updated_at\": \"2025-09-19T09:15:00Z\"\n    }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"target_annual_salary_cents\": [\n            \"Budgeted annual salary applies to permanent roles only.\"\n        ]\n    }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show a position",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/positions\/:id",
                            "query": [
                                {
                                    "key": "include",
                                    "value": "team",
                                    "description": "Comma-separated relationships. Allowed: team,actor.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bpositions%5D",
                                    "value": "id%2Ctitle%2Cteam",
                                    "description": "Sparse fieldset.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/positions\/:id?include=team&fields%5Bpositions%5D=id%2Ctitle%2Cteam",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "27",
                                    "description": "Position ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Reads the position from Live, or from the scenario named by `?scenario={slug}`.\n\n- **Abilities:** `positions.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n    \"data\": {\n        \"id\": 24,\n        \"org_unit_team_id\": 4201,\n        \"actor_id\": null,\n        \"title\": \"Staff Platform Engineer\",\n        \"target_employment_type\": \"perm\",\n        \"fte\": 1,\n        \"target_annual_salary_cents\": 11850000,\n        \"target_daily_rate_cents\": null,\n        \"target_currency\": \"EUR\",\n        \"valid_from\": \"2024-03-01\",\n        \"valid_to\": null,\n        \"scenario_id\": null,\n        \"meta\": {\n            \"cost_centre\": \"ENG-PLAT\",\n            \"notes\": \"Supports platform migration.\"\n        },\n        \"team\": {\n            \"id\": 8,\n            \"name\": \"Platform Experience\",\n            \"slug\": \"platform-experience\"\n        },\n        \"actor\": null,\n        \"budget\": {\n            \"employment_type\": \"perm\",\n            \"fte\": 1,\n            \"annual_salary_cents\": 11850000,\n            \"daily_rate_cents\": null,\n            \"currency\": \"EUR\"\n        },\n        \"links\": {\n            \"self\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions\/24\",\n            \"team\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/teams\/8\",\n            \"actor\": null\n        },\n        \"created_at\": \"2025-09-19T09:15:00Z\",\n        \"updated_at\": \"2025-09-19T09:15:00Z\"\n    }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a position",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/positions\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/positions\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "27",
                                    "description": "Position ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"ab\",\"role_type_id\":11,\"org_unit_team_id\":4201,\"target_employment_type\":\"ab\",\"fte\":1,\"target_annual_salary_cents\":8500000,\"target_daily_rate_cents\":45000,\"target_currency\":\"EUR\",\"valid_from\":\"2025-09-20\",\"valid_to\":\"2026-03-31\",\"meta\":{\"cost_centre\":\"ENG-PLAT\"},\"create_placement\":true,\"tenant_id\":11,\"scenario_id\":11}"
                        },
                        "description": "A position has either a target salary or a target day rate, not both, as on create.\n\n- **Abilities:** `positions.update`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n    \"data\": {\n        \"id\": 24,\n        \"org_unit_team_id\": 4201,\n        \"actor_id\": null,\n        \"title\": \"Principal Platform Engineer\",\n        \"target_employment_type\": \"perm\",\n        \"fte\": 1,\n        \"target_annual_salary_cents\": 12600000,\n        \"target_daily_rate_cents\": null,\n        \"target_currency\": \"EUR\",\n        \"valid_from\": \"2024-03-01\",\n        \"valid_to\": null,\n        \"scenario_id\": null,\n        \"meta\": {\n            \"cost_centre\": \"ENG-PLAT\",\n            \"notes\": \"Role upgraded to lead migration.\"\n        },\n        \"team\": {\n            \"id\": 8,\n            \"name\": \"Platform Experience\",\n            \"slug\": \"platform-experience\"\n        },\n        \"actor\": null,\n        \"budget\": {\n            \"employment_type\": \"perm\",\n            \"fte\": 1,\n            \"annual_salary_cents\": 12600000,\n            \"daily_rate_cents\": null,\n            \"currency\": \"EUR\"\n        },\n        \"links\": {\n            \"self\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/positions\/24\",\n            \"team\": \"https:\/\/tenant.orgonaut.test\/api\/v1\/teams\/8\",\n            \"actor\": null\n        },\n        \"created_at\": \"2025-09-19T09:15:00Z\",\n        \"updated_at\": \"2025-09-26T11:20:00Z\"\n    }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"target_daily_rate_cents\": [\n            \"Budgeted daily rate applies to contractor roles only.\"\n        ]\n    }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete a position",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/positions\/:id",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/positions\/:id?scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "27",
                                    "description": "Position ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Soft delete a position.\n\n- **Abilities:** `positions.delete`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Placements",
            "description": "\nPlacements are the source of truth for who sits where. Each placement links an actor to an org unit with `fte`, `allocation_pct` (which can exceed 100), a `primary` flag and validity dates.\n\nAn actor's primary department placement decides their department; their primary team placement decides their team. Requests run against Live unless `?scenario={slug}` is passed.",
            "item": [
                {
                    "name": "List an actor's placements",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/actors\/:actor_id\/placements",
                            "query": [
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "Filter placements active on this ISO 8601 date.",
                                    "disabled": false
                                },
                                {
                                    "key": "include_history",
                                    "value": "1",
                                    "description": "Include historical placements in addition to the active set.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario_id",
                                    "value": "future-plan",
                                    "description": "Scenario slug or id to scope placements; omit or pass `null` for baseline.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "actor%2Corg_unit",
                                    "description": "Comma-separated relationships. Allowed: actor,org_unit.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bplacements%5D",
                                    "value": "id%2Corg_unit_id%2Cvalid_from%2Cvalid_to",
                                    "description": "Sparse fieldset.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/actors\/:actor_id\/placements?as_of=2025-09-01&include_history=1&scenario_id=future-plan&include=actor%2Corg_unit&fields%5Bplacements%5D=id%2Corg_unit_id%2Cvalid_from%2Cvalid_to",
                            "variable": [
                                {
                                    "id": "actor_id",
                                    "key": "actor_id",
                                    "value": "44",
                                    "description": "Actor ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Return placements for an actor as of a date. By default only active placements\nare returned; pass `include_history=1` to include historical rows as well.\n\n- **Abilities:** `placements.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":1,\"actor_id\":42,\"org_unit_id\":10,\"scenario_id\":null,\"primary\":true,\"allocation_pct\":100,\"fte\":1.0,\"valid_from\":\"2025-01-01\",\"valid_to\":null,\"is_active\":true}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Place an actor",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/actors\/:actor_id\/placements",
                            "query": [
                                {
                                    "key": "include",
                                    "value": "org_unit",
                                    "description": "Comma-separated relationships. Allowed: actor,org_unit.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/actors\/:actor_id\/placements?include=org_unit&scenario=",
                            "variable": [
                                {
                                    "id": "actor_id",
                                    "key": "actor_id",
                                    "value": "44",
                                    "description": "Actor ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"org_unit_id\":10,\"scenario_id\":4,\"primary\":true,\"allocation_pct\":60,\"valid_from\":\"2025-09-01\",\"valid_to\":\"2025-12-31\",\"source\":\"manual\",\"meta\":[]}"
                        },
                        "description": "Creates a new placement for the given actor.\n\n- **Abilities:** `placements.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":9,\"actor_id\":11,\"org_unit_id\":10,\"scenario_id\":null,\"primary\":false,\"allocation_pct\":60,\"fte\":0.6,\"valid_from\":\"2025-09-01\",\"valid_to\":null,\"is_active\":true}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Update a placement",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/placements\/:id",
                            "query": [
                                {
                                    "key": "include",
                                    "value": "actor",
                                    "description": "Comma-separated relationships. Allowed: actor,org_unit.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/placements\/:id?include=actor&scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "310",
                                    "description": "Placement ID."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"org_unit_id\":12,\"scenario_id\":4,\"primary\":false,\"allocation_pct\":50,\"valid_from\":\"2025-06-01\",\"valid_to\":\"2025-09-30\",\"source\":\"manual\",\"meta\":[]}"
                        },
                        "description": "Updates an existing placement.\n\n- **Abilities:** `placements.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":9,\"actor_id\":11,\"org_unit_id\":12,\"scenario_id\":null,\"primary\":false,\"allocation_pct\":50,\"fte\":0.5,\"valid_from\":\"2025-06-01\",\"valid_to\":\"2025-09-30\",\"is_active\":false}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "End a placement",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/placements\/:id",
                            "query": [
                                {
                                    "key": "valid_to",
                                    "value": "2025-10-01",
                                    "description": "Date to end the placement on (YYYY-MM-DD). Defaults to today.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "org_unit",
                                    "description": "Comma-separated relationships. Allowed: actor,org_unit.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario",
                                    "value": "",
                                    "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/placements\/:id?valid_to=2025-10-01&include=org_unit&scenario=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "310",
                                    "description": "Placement ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Ends a placement by stamping the `valid_to` date. Omitting the\n`valid_to` query parameter defaults to today.\n\n- **Abilities:** `placements.delete`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":9,\"actor_id\":11,\"org_unit_id\":12,\"scenario_id\":null,\"primary\":false,\"allocation_pct\":50,\"fte\":0.5,\"valid_from\":\"2025-06-01\",\"valid_to\":\"2025-10-01\",\"is_active\":false}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "List an org unit's members",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/org-units\/:org_unit_id\/actors",
                            "query": [
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "Date used to evaluate active placements.",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario_id",
                                    "value": "future-plan",
                                    "description": "Scenario slug or id to scope placements; omit or pass `null` for baseline.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "actor",
                                    "description": "Comma-separated relationships. Allowed: actor,org_unit.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bplacements%5D",
                                    "value": "id%2Cactor_id%2Callocation_pct",
                                    "description": "Sparse fieldset.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/org-units\/:org_unit_id\/actors?as_of=2025-09-01&scenario_id=future-plan&include=actor&fields%5Bplacements%5D=id%2Cactor_id%2Callocation_pct",
                            "variable": [
                                {
                                    "id": "org_unit_id",
                                    "key": "org_unit_id",
                                    "value": "202",
                                    "description": "Org unit ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Lists active placements for the specified org unit. Results default to placements\nactive today but may be scoped to a different date using `as_of`.\n\n- **Abilities:** `placements.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":7,\"actor\":{\"id\":14,\"name\":\"Aisling O'Neill\"},\"allocation_pct\":100,\"fte\":1,\"valid_from\":\"2025-07-01\",\"valid_to\":null,\"is_active\":true}]}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Reference Data",
            "description": "\nTenant-wide classifications used across the model: department types, team types, role types and work categories. They are shared by Live and every scenario, so `?scenario` has no effect.",
            "item": [
                {
                    "name": "Department types",
                    "description": "Tenant-wide classifications for departments. Shared by Live and every scenario.",
                    "item": [
                        {
                            "name": "List department types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/department-types",
                                    "query": [
                                        {
                                            "key": "include_inactive",
                                            "value": "",
                                            "description": "Include deactivated department types.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/department-types?include_inactive="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns every department type in display order. Unlike search, the list is not capped.\n\n- **Abilities:** `departments.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":1,\"name\":\"Operations\",\"slug\":\"operations\",\"color\":\"#008080\",\"description\":null,\"is_active\":true,\"display_order\":0}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Search department types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/department-types\/search",
                                    "query": [
                                        {
                                            "key": "q",
                                            "value": "ops",
                                            "description": "Search term applied to name and slug.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/department-types\/search?q=ops"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns up to 20 matching department types ordered by display order then name.\n\n- **Abilities:** `departments.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"Operations\",\"slug\":\"operations\",\"color\":\"#008080\"}]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a department type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/department-types",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/department-types"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Operations\",\"slug\":\"ops\",\"color\":\"#008080\",\"description\":\"Supports company-wide services\"}"
                                },
                                "description": "- **Abilities:** `departments.create`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":3,\"name\":\"Operations\",\"slug\":\"operations\",\"color\":\"#008080\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show a department type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/department-types\/:departmentType_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/department-types\/:departmentType_id",
                                    "variable": [
                                        {
                                            "id": "departmentType_id",
                                            "key": "departmentType_id",
                                            "value": "3",
                                            "description": "Department type ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "- **Abilities:** `departments.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":1,\"name\":\"Operations\",\"slug\":\"operations\",\"color\":\"#008080\",\"description\":null,\"is_active\":true,\"display_order\":0}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not found.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update a department type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/department-types\/:departmentType_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/department-types\/:departmentType_id",
                                    "variable": [
                                        {
                                            "id": "departmentType_id",
                                            "key": "departmentType_id",
                                            "value": "3",
                                            "description": "Department type ID."
                                        }
                                    ]
                                },
                                "method": "PATCH",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Enablement\",\"slug\":\"enablement\",\"color\":\"#008080\",\"description\":\"Supports company-wide services\",\"is_active\":true,\"display_order\":1}"
                                },
                                "description": "All fields are optional; omitted fields keep their current value.\n\n- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":1,\"name\":\"Enablement\",\"slug\":\"enablement\",\"color\":\"#008080\",\"description\":null,\"is_active\":true,\"display_order\":0}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not found.\"}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"The name has already been taken.\",\"errors\":{\"name\":[\"The name has already been taken.\"]}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete a department type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/department-types\/:departmentType_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/department-types\/:departmentType_id",
                                    "variable": [
                                        {
                                            "id": "departmentType_id",
                                            "key": "departmentType_id",
                                            "value": "3",
                                            "description": "Department type ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Associated departments will have their\n`department_type_id` set to null on delete.\n\n- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "{}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not found.\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Team types",
                    "description": "Tenant-wide classifications for teams, such as Stream-aligned or Platform. Shared by Live and every scenario.",
                    "item": [
                        {
                            "name": "List team types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/team-types",
                                    "query": [
                                        {
                                            "key": "include_inactive",
                                            "value": "",
                                            "description": "Include deactivated team types.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/team-types?include_inactive="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns every team type in display order. Unlike search, the list is not capped.\n\n- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":1,\"name\":\"Stream-aligned\",\"slug\":\"stream-aligned\",\"color\":\"#fbbf24\",\"description\":null,\"is_active\":true,\"display_order\":0}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Search team types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/team-types\/search",
                                    "query": [
                                        {
                                            "key": "q",
                                            "value": "stream",
                                            "description": "Search term applied to name and slug.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/team-types\/search?q=stream"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns up to 20 matching types ordered by display order then name.\n\n- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":1,\"name\":\"Stream-aligned\",\"slug\":\"stream-aligned\",\"color\":\"#fbbf24\",\"description\":null,\"is_active\":true,\"display_order\":0}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a team type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/team-types",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/team-types"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Platform\",\"slug\":\"platform\",\"color\":\"#7c3aed\",\"description\":\"Infrastructure and tooling teams\",\"display_order\":2}"
                                },
                                "description": "- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":5,\"name\":\"Platform\",\"slug\":\"platform\",\"color\":\"#7c3aed\",\"description\":null,\"is_active\":true,\"display_order\":0}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"The name has already been taken.\",\"errors\":{\"name\":[\"The name has already been taken.\"]}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show a team type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/team-types\/:teamType_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/team-types\/:teamType_id",
                                    "variable": [
                                        {
                                            "id": "teamType_id",
                                            "key": "teamType_id",
                                            "value": "2",
                                            "description": "Team type ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":1,\"name\":\"Stream-aligned\",\"slug\":\"stream-aligned\",\"color\":\"#fbbf24\",\"description\":null,\"is_active\":true,\"display_order\":0}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not found.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update a team type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/team-types\/:teamType_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/team-types\/:teamType_id",
                                    "variable": [
                                        {
                                            "id": "teamType_id",
                                            "key": "teamType_id",
                                            "value": "2",
                                            "description": "Team type ID."
                                        }
                                    ]
                                },
                                "method": "PATCH",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Platform\",\"slug\":\"platform\",\"color\":\"#7c3aed\",\"description\":\"Infrastructure and tooling teams\",\"is_active\":true,\"display_order\":2}"
                                },
                                "description": "All fields are optional; omitted fields keep their current value.\n\n- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":1,\"name\":\"Platform\",\"slug\":\"platform\",\"color\":\"#7c3aed\",\"description\":null,\"is_active\":true,\"display_order\":2}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not found.\"}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"The name has already been taken.\",\"errors\":{\"name\":[\"The name has already been taken.\"]}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete a team type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/team-types\/:teamType_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/team-types\/:teamType_id",
                                    "variable": [
                                        {
                                            "id": "teamType_id",
                                            "key": "teamType_id",
                                            "value": "2",
                                            "description": "Team type ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Associated teams will have their\n`team_type_id` set to null on delete.\n\n- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "{}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not found.\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Role types",
                    "description": "Seniority-ordered classifications for positions (for example Principal, Senior, Engineer). Used by the Matrix view and Work catalog mappings.",
                    "item": [
                        {
                            "name": "List role types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/role-types",
                                    "query": [
                                        {
                                            "key": "include_inactive",
                                            "value": "",
                                            "description": "Include deactivated role types.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/role-types?include_inactive="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns every role type ordered by display order, level, then name. Use a role\ntype's `id` for position and Work catalog role-type mappings.\n\n- **Abilities (any one):** `settings.manage`, `positions.read`, `work.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":4,\"name\":\"Senior Engineer\",\"slug\":\"senior-engineer\",\"level\":4,\"color\":\"#2563eb\",\"description\":null,\"is_active\":true,\"display_order\":6}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Search role types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/role-types\/search",
                                    "query": [
                                        {
                                            "key": "q",
                                            "value": "engineer",
                                            "description": "Search term applied to name and slug.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/role-types\/search?q=engineer"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns up to 20 matching role types ordered by display order, level, then name.\n\n- **Abilities:** `settings.manage`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":1,\"name\":\"Senior Engineer\",\"slug\":\"senior-engineer\",\"level\":4,\"color\":\"#2563eb\",\"description\":null,\"is_active\":true,\"display_order\":6}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show a role type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/role-types\/:roleType_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/role-types\/:roleType_id",
                                    "variable": [
                                        {
                                            "id": "roleType_id",
                                            "key": "roleType_id",
                                            "value": "4",
                                            "description": "Role type ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "- **Abilities (any one):** `settings.manage`, `positions.read`, `work.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":4,\"name\":\"Senior Engineer\",\"slug\":\"senior-engineer\",\"level\":4,\"color\":\"#2563eb\",\"description\":null,\"is_active\":true,\"display_order\":6}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"code\":\"resource.not_found\",\"message\":\"Resource not found.\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Work",
            "description": "\nThe Work catalog describes the activities your organisation performs and who performs them. Each activity has a category, role-type mappings (share of each role's time) and team mappings (primary or secondary emphasis).",
            "item": [
                {
                    "name": "Activities",
                    "description": "Work activities with their role-type time shares and team emphasis. Activities belong to Live or a scenario; pass `?scenario={slug}` to work in a scenario.",
                    "item": [
                        {
                            "name": "List work activities",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to read from; omit for Live. An unknown slug returns `400`.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "q",
                                            "value": "triage",
                                            "description": "Search term applied to name and slug.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "category",
                                            "value": "delivery",
                                            "description": "Filter by work category slug (see Settings \u2192 Work Categories).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "include_archived",
                                            "value": "",
                                            "description": "Include archived activities.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities?scenario=&q=triage&category=delivery&include_archived="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "- **Abilities:** `work.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":1,\"name\":\"Triage support tickets\",\"slug\":\"triage-support-tickets\",\"category\":{\"id\":2,\"name\":\"Coordination\",\"slug\":\"coordination\",\"color\":\"#f59e0b\"},\"source\":\"manual\",\"description\":null,\"archived_at\":null,\"role_type_count\":2,\"team_count\":1}]}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Create a work activity",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities?scenario="
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Draft release notes\",\"description\":\"Summarise shipped changes for customers\",\"work_category_id\":2}"
                                },
                                "description": "- **Abilities:** `work.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":5,\"name\":\"Draft release notes\",\"slug\":\"draft-release-notes\",\"category\":{\"id\":2,\"name\":\"Delivery\",\"slug\":\"delivery\",\"color\":\"#f59e0b\"},\"source\":\"manual\",\"description\":null,\"archived_at\":null}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"A work activity with this name already exists in this context.\",\"errors\":{\"name\":[\"A work activity with this name already exists in this context.\"]}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show a work activity",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities\/:workActivity_id",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to read from; omit for Live. An unknown slug returns `400`.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities\/:workActivity_id?scenario=",
                                    "variable": [
                                        {
                                            "id": "workActivity_id",
                                            "key": "workActivity_id",
                                            "value": "5",
                                            "description": "Work activity ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Show a work activity with its role-type and team mappings.\n\n- **Abilities:** `work.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":5,\"name\":\"Draft release notes\",\"slug\":\"draft-release-notes\",\"category\":{\"id\":2,\"name\":\"Delivery\",\"slug\":\"delivery\",\"color\":\"#f59e0b\"},\"source\":\"manual\",\"description\":null,\"archived_at\":null,\"role_types\":[{\"id\":3,\"name\":\"Engineer\",\"slug\":\"engineer\",\"time_share_pct\":15}],\"teams\":[{\"id\":9,\"name\":\"Payments\",\"emphasis\":\"primary\"}]}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Update a work activity",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities\/:workActivity_id",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities\/:workActivity_id?scenario=",
                                    "variable": [
                                        {
                                            "id": "workActivity_id",
                                            "key": "workActivity_id",
                                            "value": "5",
                                            "description": "Work activity ID."
                                        }
                                    ]
                                },
                                "method": "PATCH",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Draft customer release notes\",\"description\":\"Customer-facing change summaries\",\"work_category_id\":2}"
                                },
                                "description": "- **Abilities:** `work.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":5,\"name\":\"Draft customer release notes\",\"slug\":\"draft-customer-release-notes\",\"category\":{\"id\":2,\"name\":\"Delivery\",\"slug\":\"delivery\",\"color\":\"#f59e0b\"},\"source\":\"manual\",\"description\":null,\"archived_at\":null}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Archive a work activity",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities\/:workActivity_id\/archive",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities\/:workActivity_id\/archive?scenario=",
                                    "variable": [
                                        {
                                            "id": "workActivity_id",
                                            "key": "workActivity_id",
                                            "value": "5",
                                            "description": "Work activity ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Archived activities keep their mappings but are excluded from listings by default.\n\n- **Abilities:** `work.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":5,\"archived_at\":\"2026-07-02T10:00:00.000000Z\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Restore a work activity",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities\/:workActivity_id\/restore",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities\/:workActivity_id\/restore?scenario=",
                                    "variable": [
                                        {
                                            "id": "workActivity_id",
                                            "key": "workActivity_id",
                                            "value": "5",
                                            "description": "Work activity ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "- **Abilities:** `work.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":5,\"archived_at\":null}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Replace role-type mappings",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities\/:workActivity_id\/role-types",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities\/:workActivity_id\/role-types?scenario=",
                                    "variable": [
                                        {
                                            "id": "workActivity_id",
                                            "key": "workActivity_id",
                                            "value": "5",
                                            "description": "Work activity ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"role_types\":[{\"role_type_id\":3,\"time_share_pct\":15}]}"
                                },
                                "description": "Replace the role-type mappings for a work activity.\n\n- **Abilities:** `work.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":5,\"role_types\":[{\"id\":3,\"name\":\"Engineer\",\"slug\":\"engineer\",\"time_share_pct\":15}]}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        },
                        {
                            "name": "Replace team mappings",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-activities\/:workActivity_id\/teams",
                                    "query": [
                                        {
                                            "key": "scenario",
                                            "value": "",
                                            "description": "Scenario slug to write inside; omit for Live. An unknown slug returns `400` and nothing is changed.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-activities\/:workActivity_id\/teams?scenario=",
                                    "variable": [
                                        {
                                            "id": "workActivity_id",
                                            "key": "workActivity_id",
                                            "value": "5",
                                            "description": "Work activity ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"teams\":[{\"team_id\":9,\"emphasis\":\"primary\"}]}"
                                },
                                "description": "Replace the team mappings for a work activity.\n\n- **Abilities:** `work.write`\n- **CLI tokens:** only inside a scenario (`?scenario={slug}`)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":5,\"teams\":[{\"id\":9,\"name\":\"Payments\",\"emphasis\":\"primary\"}]}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                                    "name": "Unknown scenario slug"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Categories",
                    "description": "The tenant's taxonomy for work activities (for example Delivery, Coordination, Judgment). Categories are shared by Live and every scenario; manage them in **Settings \u2192 Work Categories**.",
                    "item": [
                        {
                            "name": "List work categories",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-categories",
                                    "query": [
                                        {
                                            "key": "include_inactive",
                                            "value": "",
                                            "description": "Include deactivated categories.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-categories?include_inactive="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the tenant's work categories in display order. Use a category's `id`\nas `work_category_id` when creating work activities, or its `slug` to filter them.\n\n- **Abilities:** `work.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":2,\"name\":\"Delivery\",\"slug\":\"delivery\",\"description\":\"Producing the product or service: building, testing, designing, shipping.\",\"color\":\"#f59e0b\",\"is_active\":true,\"display_order\":0,\"activity_count\":12}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show a work category",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/work-categories\/:workCategory_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/work-categories\/:workCategory_id",
                                    "variable": [
                                        {
                                            "id": "workCategory_id",
                                            "key": "workCategory_id",
                                            "value": "2",
                                            "description": "Work category ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "- **Abilities:** `work.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":2,\"name\":\"Delivery\",\"slug\":\"delivery\",\"description\":\"Producing the product or service: building, testing, designing, shipping.\",\"color\":\"#f59e0b\",\"is_active\":true,\"display_order\":0,\"activity_count\":12}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"code\":\"resource.not_found\",\"message\":\"Resource not found.\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Capabilities",
            "description": "\nBusiness capabilities are the stable things your organisation does, such as *Resolve customer exceptions*.\n\nDefinitions are tenant-wide. State (maturity and measurements), Work mappings, AI deployments and evidence are contextual: pass `?scenario={slug}` to read a scenario and its `delta` against the scenario's source. Responses include `context` and `permissions` objects that show what was read and which figures were included.\n\nRead-only. Metric figures need `org-metrics.read`; cost figures need `transformation-cases.costs.read`.",
            "item": [
                {
                    "name": "List capabilities",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/capabilities",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "ai-enabled-operating-model",
                                    "description": "Scenario slug to read; omit for Live.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2026-09-30",
                                    "description": "date Effective date (`YYYY-MM-DD`); defaults to today.",
                                    "disabled": false
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Items per page, maximum 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bcapabilities%5D",
                                    "value": "definition%2Cstate%2Cdelta%2Cwarnings",
                                    "description": "Return only these top-level fields of each item.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "state%2Cdelta%2Cwarnings",
                                    "description": "Return only `definition` plus these top-level fields of each item.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/capabilities?scenario=ai-enabled-operating-model&as_of=2026-09-30&page=1&per_page=25&fields%5Bcapabilities%5D=definition%2Cstate%2Cdelta%2Cwarnings&include=state%2Cdelta%2Cwarnings"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns every capability with its state in the requested context, the state in that context's source, a `delta` that classifies the change (for example `strengthened`), linked measures, Work, AI solutions, evidence and completeness `warnings`.\n\nWithout `scenario` the context is Live and `source_state` and `delta` are empty.\n\n- **Abilities:** `capabilities.read`\n- **Plan feature:** Capabilities (Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"schema_version\": \"capability-studio-read.v1\",\n  \"resource_schema_version\": \"capability-context.v1\",\n  \"context\": {\n    \"type\": \"scenario\",\n    \"id\": 1,\n    \"slug\": \"ai-enabled-operating-model\",\n    \"name\": \"AI-enabled operating model\",\n    \"kind\": \"planning\",\n    \"status\": \"new\"\n  },\n  \"source\": {\n    \"type\": \"live\",\n    \"id\": null,\n    \"slug\": \"live\",\n    \"name\": \"Live\"\n  },\n  \"as_of\": \"2026-09-30\",\n  \"permissions\": {\n    \"metrics\": true,\n    \"costs\": true\n  },\n  \"summary\": {\n    \"capability_count\": 1,\n    \"complete_count\": 0,\n    \"warning_count\": 4\n  },\n  \"data\": [\n    {\n      \"definition\": {\n        \"id\": 1,\n        \"parent_id\": null,\n        \"name\": \"Resolve customer exceptions\",\n        \"slug\": \"resolve-customer-exceptions\",\n        \"outcome_statement\": \"Customer exceptions are resolved within one business day.\",\n        \"description\": \"Triage, investigate and resolve orders that fail automated checks.\",\n        \"archived\": false\n      },\n      \"state\": {\n        \"id\": 2,\n        \"status\": \"emerging\",\n        \"maturity_level\": 3,\n        \"performance_score\": null,\n        \"resilience_score\": null,\n        \"ai_readiness_score\": null,\n        \"metrics_redacted\": false,\n        \"strategic_importance\": 3,\n        \"evidence_confidence\": \"low\",\n        \"owner\": null,\n        \"accountable_position\": null,\n        \"rationale\": \"Copilot drafts resolutions for review.\",\n        \"measurement_limitation\": null,\n        \"assessment_source\": \"manual\",\n        \"assessed_at\": \"2026-09-30T09:00:00+00:00\"\n      },\n      \"source_state\": {\n        \"id\": 1,\n        \"status\": \"emerging\",\n        \"maturity_level\": 2,\n        \"performance_score\": null,\n        \"resilience_score\": null,\n        \"ai_readiness_score\": null,\n        \"metrics_redacted\": false,\n        \"strategic_importance\": 3,\n        \"evidence_confidence\": \"low\",\n        \"owner\": null,\n        \"accountable_position\": null,\n        \"rationale\": \"Manual triage across three teams.\",\n        \"measurement_limitation\": null,\n        \"assessment_source\": \"manual\",\n        \"assessed_at\": \"2026-09-30T09:00:00+00:00\"\n      },\n      \"delta\": {\n        \"classification\": \"strengthened\",\n        \"dimensions\": {\n          \"status\": {\n            \"source\": \"emerging\",\n            \"context\": \"emerging\"\n          },\n          \"maturity_level\": {\n            \"source\": 2,\n            \"context\": 3\n          },\n          \"strategic_importance\": {\n            \"source\": 3,\n            \"context\": 3\n          },\n          \"evidence_confidence\": {\n            \"source\": \"low\",\n            \"context\": \"low\"\n          },\n          \"owner_org_unit_id\": {\n            \"source\": null,\n            \"context\": null\n          },\n          \"accountable_position_id\": {\n            \"source\": null,\n            \"context\": null\n          },\n          \"performance_score\": {\n            \"source\": null,\n            \"context\": null\n          },\n          \"resilience_score\": {\n            \"source\": null,\n            \"context\": null\n          },\n          \"ai_readiness_score\": {\n            \"source\": null,\n            \"context\": null\n          }\n        }\n      },\n      \"measures\": [],\n      \"work\": [],\n      \"solutions\": [],\n      \"evidence\": [],\n      \"warnings\": [\n        \"missing_owner\",\n        \"missing_supporting_work\",\n        \"missing_evidence\",\n        \"missing_outcome_or_limitation\"\n      ],\n      \"complete\": false\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 1,\n    \"total\": 1,\n    \"last_page\": 1,\n    \"sparse_fields\": [],\n    \"includes\": []\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Show a capability",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/capabilities\/:businessCapability_slug",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "ai-enabled-operating-model",
                                    "description": "Scenario slug to read; omit for Live.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2026-09-30",
                                    "description": "date Effective date (`YYYY-MM-DD`); defaults to today.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bcapabilities%5D",
                                    "value": "definition%2Cstate%2Cdelta%2Cwarnings",
                                    "description": "Return only these top-level fields of each item.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "state%2Cdelta%2Cwarnings",
                                    "description": "Return only `definition` plus these top-level fields of each item.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/capabilities\/:businessCapability_slug?scenario=ai-enabled-operating-model&as_of=2026-09-30&fields%5Bcapabilities%5D=definition%2Cstate%2Cdelta%2Cwarnings&include=state%2Cdelta%2Cwarnings",
                            "variable": [
                                {
                                    "id": "businessCapability_slug",
                                    "key": "businessCapability_slug",
                                    "value": "resolve-customer-exceptions",
                                    "description": "Capability slug."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns one capability with the same shape as an item in the list: state, source state and delta, measures, Work, AI solutions and evidence.\n\n- **Abilities:** `capabilities.read`\n- **Plan feature:** Capabilities (Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"schema_version\": \"capability-studio-read.v1\",\n  \"resource_schema_version\": \"capability-context.v1\",\n  \"context\": {\n    \"type\": \"scenario\",\n    \"id\": 1,\n    \"slug\": \"ai-enabled-operating-model\",\n    \"name\": \"AI-enabled operating model\",\n    \"kind\": \"planning\",\n    \"status\": \"new\"\n  },\n  \"source\": {\n    \"type\": \"live\",\n    \"id\": null,\n    \"slug\": \"live\",\n    \"name\": \"Live\"\n  },\n  \"as_of\": \"2026-09-30\",\n  \"permissions\": {\n    \"metrics\": true,\n    \"costs\": true\n  },\n  \"summary\": {\n    \"capability_count\": 1,\n    \"complete_count\": 0,\n    \"warning_count\": 4\n  },\n  \"data\": {\n    \"definition\": {\n      \"id\": 1,\n      \"parent_id\": null,\n      \"name\": \"Resolve customer exceptions\",\n      \"slug\": \"resolve-customer-exceptions\",\n      \"outcome_statement\": \"Customer exceptions are resolved within one business day.\",\n      \"description\": \"Triage, investigate and resolve orders that fail automated checks.\",\n      \"archived\": false\n    },\n    \"state\": {\n      \"id\": 2,\n      \"status\": \"emerging\",\n      \"maturity_level\": 3,\n      \"performance_score\": null,\n      \"resilience_score\": null,\n      \"ai_readiness_score\": null,\n      \"metrics_redacted\": false,\n      \"strategic_importance\": 3,\n      \"evidence_confidence\": \"low\",\n      \"owner\": null,\n      \"accountable_position\": null,\n      \"rationale\": \"Copilot drafts resolutions for review.\",\n      \"measurement_limitation\": null,\n      \"assessment_source\": \"manual\",\n      \"assessed_at\": \"2026-09-30T09:00:00+00:00\"\n    },\n    \"source_state\": {\n      \"id\": 1,\n      \"status\": \"emerging\",\n      \"maturity_level\": 2,\n      \"performance_score\": null,\n      \"resilience_score\": null,\n      \"ai_readiness_score\": null,\n      \"metrics_redacted\": false,\n      \"strategic_importance\": 3,\n      \"evidence_confidence\": \"low\",\n      \"owner\": null,\n      \"accountable_position\": null,\n      \"rationale\": \"Manual triage across three teams.\",\n      \"measurement_limitation\": null,\n      \"assessment_source\": \"manual\",\n      \"assessed_at\": \"2026-09-30T09:00:00+00:00\"\n    },\n    \"delta\": {\n      \"classification\": \"strengthened\",\n      \"dimensions\": {\n        \"status\": {\n          \"source\": \"emerging\",\n          \"context\": \"emerging\"\n        },\n        \"maturity_level\": {\n          \"source\": 2,\n          \"context\": 3\n        },\n        \"strategic_importance\": {\n          \"source\": 3,\n          \"context\": 3\n        },\n        \"evidence_confidence\": {\n          \"source\": \"low\",\n          \"context\": \"low\"\n        },\n        \"owner_org_unit_id\": {\n          \"source\": null,\n          \"context\": null\n        },\n        \"accountable_position_id\": {\n          \"source\": null,\n          \"context\": null\n        },\n        \"performance_score\": {\n          \"source\": null,\n          \"context\": null\n        },\n        \"resilience_score\": {\n          \"source\": null,\n          \"context\": null\n        },\n        \"ai_readiness_score\": {\n          \"source\": null,\n          \"context\": null\n        }\n      }\n    },\n    \"measures\": [],\n    \"work\": [],\n    \"solutions\": [],\n    \"evidence\": [],\n    \"warnings\": [\n      \"missing_owner\",\n      \"missing_supporting_work\",\n      \"missing_evidence\",\n      \"missing_outcome_or_limitation\"\n    ],\n    \"complete\": false\n  },\n  \"meta\": {\n    \"sparse_fields\": [],\n    \"includes\": []\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"code\":\"resource.not_found\",\"message\":\"Resource not found.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "AI Solutions",
            "description": "\nThe governed catalogue of AI solutions: published versions, controls, cost defaults and where each solution is deployed.\n\nThe catalogue is tenant-wide; deployments are contextual, so pass `?scenario={slug}` to see a scenario's deployments. Published versions are immutable.\n\nRead-only. Cost defaults and forecasts need `transformation-cases.costs.read`; without it versions report `costs_redacted: true`.",
            "item": [
                {
                    "name": "List AI solutions",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ai-solutions",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "ai-enabled-operating-model",
                                    "description": "Scenario slug whose deployments to include; omit for Live.",
                                    "disabled": false
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Items per page, maximum 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bsolutions%5D",
                                    "value": "id%2Cname%2Clifecycle_status%2Cdeployments",
                                    "description": "Return only these top-level fields of each item.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "name%2Clifecycle_status%2Cdeployments",
                                    "description": "Return only `id` plus these top-level fields of each item.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/ai-solutions?scenario=ai-enabled-operating-model&page=1&per_page=25&fields%5Bsolutions%5D=id%2Cname%2Clifecycle_status%2Cdeployments&include=name%2Clifecycle_status%2Cdeployments"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the AI solution catalogue with each solution's versions (purpose, controls, obligations and cost defaults) and its deployments in the requested context.\n\n- **Abilities:** `ai-solutions.read`\n- **Plan feature:** AI Solutions (Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"schema_version\": \"capability-studio-read.v1\",\n  \"context\": {\n    \"type\": \"scenario\",\n    \"scenario_id\": 1,\n    \"scenario_slug\": \"ai-enabled-operating-model\",\n    \"scenario_name\": \"AI-enabled operating model\"\n  },\n  \"permissions\": {\n    \"costs\": true\n  },\n  \"summary\": {\n    \"solution_count\": 1,\n    \"deployment_count\": 1\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"slug\": \"customer-exception-copilot\",\n      \"name\": \"Customer exception copilot\",\n      \"description\": \"Drafts resolutions for failed orders.\",\n      \"solution_type\": \"copilot\",\n      \"provider_name\": \"Northwind AI\",\n      \"build_owner\": \"Transformation Lab\",\n      \"lifecycle_status\": \"draft\",\n      \"archived_at\": null,\n      \"versions\": [\n        {\n          \"id\": 1,\n          \"version_label\": \"v1\",\n          \"purpose\": \"Draft exception resolutions for agent review.\",\n          \"status\": \"published\",\n          \"deployment_model\": \"saas\",\n          \"default_autonomy_level\": \"assistive\",\n          \"default_risk_tier\": \"medium\",\n          \"claims\": [],\n          \"obligations\": [],\n          \"cost_defaults\": [\n            {\n              \"cost_key\": \"cost_ivqd\",\n              \"cost_type\": \"license\",\n              \"label\": \"Monthly license\",\n              \"rate_amount_decimal\": \"990.00000000\",\n              \"currency\": \"EUR\",\n              \"rate_unit\": \"month\",\n              \"confidence\": \"medium\",\n              \"origin_summary\": null,\n              \"zero_rationale\": null\n            }\n          ],\n          \"costs_redacted\": false\n        }\n      ],\n      \"deployments\": [\n        {\n          \"id\": 1,\n          \"name\": \"Exception copilot for Order Operations\",\n          \"scenario_id\": 1,\n          \"scope_summary\": \"Order Operations exception queue.\",\n          \"status\": \"proposed\",\n          \"autonomy_level\": \"assistive\",\n          \"risk_tier\": \"medium\",\n          \"cost_completeness\": \"unknown\",\n          \"confidence\": \"low\",\n          \"obligations\": [],\n          \"cost_forecasts\": [],\n          \"costs_redacted\": false\n        }\n      ]\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 1,\n    \"total\": 1,\n    \"last_page\": 1,\n    \"sparse_fields\": [],\n    \"includes\": []\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        }
                    ]
                },
                {
                    "name": "Show an AI solution",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ai-solutions\/:aiSolution_slug",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "ai-enabled-operating-model",
                                    "description": "Scenario slug whose deployments to include; omit for Live.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bsolutions%5D",
                                    "value": "id%2Cname%2Cversions%2Cdeployments",
                                    "description": "Return only these top-level fields of each item.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "name%2Cversions%2Cdeployments",
                                    "description": "Return only `id` plus these top-level fields of each item.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/ai-solutions\/:aiSolution_slug?scenario=ai-enabled-operating-model&fields%5Bsolutions%5D=id%2Cname%2Cversions%2Cdeployments&include=name%2Cversions%2Cdeployments",
                            "variable": [
                                {
                                    "id": "aiSolution_slug",
                                    "key": "aiSolution_slug",
                                    "value": "customer-exception-copilot",
                                    "description": "AI solution slug."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns one AI solution with its governed versions and its deployments in the requested context.\n\n- **Abilities:** `ai-solutions.read`\n- **Plan feature:** AI Solutions (Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"schema_version\": \"capability-studio-read.v1\",\n  \"context\": {\n    \"type\": \"scenario\",\n    \"scenario_id\": 1,\n    \"scenario_slug\": \"ai-enabled-operating-model\",\n    \"scenario_name\": \"AI-enabled operating model\"\n  },\n  \"permissions\": {\n    \"costs\": true\n  },\n  \"summary\": {\n    \"solution_count\": 1,\n    \"deployment_count\": 1\n  },\n  \"data\": {\n    \"id\": 1,\n    \"slug\": \"customer-exception-copilot\",\n    \"name\": \"Customer exception copilot\",\n    \"description\": \"Drafts resolutions for failed orders.\",\n    \"solution_type\": \"copilot\",\n    \"provider_name\": \"Northwind AI\",\n    \"build_owner\": \"Transformation Lab\",\n    \"lifecycle_status\": \"draft\",\n    \"archived_at\": null,\n    \"versions\": [\n      {\n        \"id\": 1,\n        \"version_label\": \"v1\",\n        \"purpose\": \"Draft exception resolutions for agent review.\",\n        \"status\": \"published\",\n        \"deployment_model\": \"saas\",\n        \"default_autonomy_level\": \"assistive\",\n        \"default_risk_tier\": \"medium\",\n        \"claims\": [],\n        \"obligations\": [],\n        \"cost_defaults\": [\n          {\n            \"cost_key\": \"cost_ivqd\",\n            \"cost_type\": \"license\",\n            \"label\": \"Monthly license\",\n            \"rate_amount_decimal\": \"990.00000000\",\n            \"currency\": \"EUR\",\n            \"rate_unit\": \"month\",\n            \"confidence\": \"medium\",\n            \"origin_summary\": null,\n            \"zero_rationale\": null\n          }\n        ],\n        \"costs_redacted\": false\n      }\n    ],\n    \"deployments\": [\n      {\n        \"id\": 1,\n        \"name\": \"Exception copilot for Order Operations\",\n        \"scenario_id\": 1,\n        \"scope_summary\": \"Order Operations exception queue.\",\n        \"status\": \"proposed\",\n        \"autonomy_level\": \"assistive\",\n        \"risk_tier\": \"medium\",\n        \"cost_completeness\": \"unknown\",\n        \"confidence\": \"low\",\n        \"obligations\": [],\n        \"cost_forecasts\": [],\n        \"costs_redacted\": false\n      }\n    ]\n  },\n  \"meta\": {\n    \"sparse_fields\": [],\n    \"includes\": []\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"code\":\"resource.not_found\",\"message\":\"Resource not found.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transformation Cases",
            "description": "\nTransformation Cases make the case for a change. Each case compares a persisted source and target context, reports deterministic readiness findings with completed \/ total \/ percentage progress, and summarises economics.\n\nCases carry their own contexts, so `?scenario` is ignored. Approved cases are immutable.\n\nRead-only. Cost facts need `transformation-cases.costs.read` and workforce facts need `transformation-cases.workforce.read`; the `permissions` object shows which were included.",
            "item": [
                {
                    "name": "List Transformation Cases",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/transformation-cases",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Items per page, maximum 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Btransformation-cases%5D",
                                    "value": "case_key%2Ctitle%2Cstatus%2Creadiness%2Ceconomics_summary",
                                    "description": "Return only these top-level fields of each item.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "title%2Cstatus%2Creadiness%2Ceconomics_summary",
                                    "description": "Return only `case_key` plus these top-level fields of each item.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/transformation-cases?page=1&per_page=25&fields%5Btransformation-cases%5D=case_key%2Ctitle%2Cstatus%2Creadiness%2Ceconomics_summary&include=title%2Cstatus%2Creadiness%2Ceconomics_summary"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns every case with its status, source and target, readiness findings with progress, and an economics summary.\n\n- **Abilities:** `transformation-cases.read`\n- **Plan feature:** Transformation Cases (Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"schema_version\": \"capability-studio-read.v1\",\n  \"permissions\": {\n    \"costs\": true,\n    \"workforce\": false\n  },\n  \"summary\": {\n    \"case_count\": 1,\n    \"approved_count\": 0\n  },\n  \"data\": [\n    {\n      \"case_key\": \"01m5gd502h0fvf4b586dxpkbk9\",\n      \"title\": \"Automate order exception handling\",\n      \"objective\": \"Cut exception handling time by half.\",\n      \"decision_requested\": \"Approve a pilot in Order Operations.\",\n      \"scope_summary\": \"Order Operations exception queue.\",\n      \"status\": \"draft\",\n      \"revision\": 1,\n      \"reporting_currency\": \"EUR\",\n      \"owner\": {\n        \"id\": 1,\n        \"name\": \"Ada Lovelace\"\n      },\n      \"source\": {\n        \"type\": null,\n        \"scenario_id\": null,\n        \"name\": \"Live baseline\",\n        \"as_of\": null\n      },\n      \"target\": null,\n      \"readiness\": {\n        \"ready\": false,\n        \"findings\": [\n          {\n            \"code\": \"missing_source\",\n            \"severity\": \"blocking\",\n            \"message\": \"Pin a Live-as-of or snapshot source.\",\n            \"section\": \"source\",\n            \"subject\": []\n          },\n          {\n            \"code\": \"missing_target\",\n            \"severity\": \"blocking\",\n            \"message\": \"Select exactly one target scenario for the Alpha case.\",\n            \"section\": \"target\",\n            \"subject\": []\n          },\n          {\n            \"code\": \"missing_capability_scope\",\n            \"severity\": \"blocking\",\n            \"message\": \"Select at least one in-scope capability.\",\n            \"section\": \"capability_scope\",\n            \"subject\": []\n          },\n          {\n            \"code\": \"missing_org_scope\",\n            \"severity\": \"blocking\",\n            \"message\": \"Select an organisational boundary.\",\n            \"section\": \"org_scope\",\n            \"subject\": []\n          }\n        ],\n        \"progress\": {\n          \"completed\": 0,\n          \"total\": 7,\n          \"percentage\": 0\n        }\n      },\n      \"economics_summary\": {\n        \"manual_only\": true,\n        \"organization\": {\n          \"source\": {\n            \"tenant_id\": 1,\n            \"scenario_id\": null,\n            \"as_of_date\": \"2026-09-30T00:00:00+00:00\",\n            \"direct_headcount\": 0,\n            \"subtree_headcount\": 0,\n            \"direct_fte\": 0,\n            \"subtree_fte\": 0,\n            \"direct_monthly_cost_cents\": 0,\n            \"subtree_monthly_cost_cents\": 0,\n            \"velocity_completed_sp\": null,\n            \"velocity_team_count\": null,\n            \"computed_at\": null,\n            \"subtree_machine_monthly_cost_cents\": 0,\n            \"unassigned_machine_monthly_cost_cents\": 0\n          },\n          \"target\": null,\n          \"delta\": null\n        },\n        \"lanes\": {\n          \"cashable_saving\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"avoided_cost\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"released_capacity\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"service_improvement\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"growth_potential\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"risk_reduction\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"implementation_cost\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"recurring_cost\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          },\n          \"consultancy_fee\": {\n            \"money\": [],\n            \"duration_seconds\": 0,\n            \"integer\": [],\n            \"decimal\": [],\n            \"line_count\": 0\n          }\n        },\n        \"overlap_findings\": []\n      },\n      \"updated_at\": \"2026-09-30T09:00:00+00:00\"\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 1,\n    \"total\": 1,\n    \"last_page\": 1,\n    \"sparse_fields\": [],\n    \"includes\": []\n  }\n}\n",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show a Transformation Case",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/transformation-cases\/:transformationCase_case_key",
                            "query": [
                                {
                                    "key": "fields%5Btransformation-cases%5D",
                                    "value": "case_key%2Ctitle%2Cstatus%2Creadiness%2Ceconomics_summary",
                                    "description": "Return only these top-level fields of each item.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "title%2Cstatus%2Creadiness%2Ceconomics_summary",
                                    "description": "Return only `case_key` plus these top-level fields of each item.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/transformation-cases\/:transformationCase_case_key?fields%5Btransformation-cases%5D=case_key%2Ctitle%2Cstatus%2Creadiness%2Ceconomics_summary&include=title%2Cstatus%2Creadiness%2Ceconomics_summary",
                            "variable": [
                                {
                                    "id": "transformationCase_case_key",
                                    "key": "transformationCase_case_key",
                                    "value": "01m5gd502h0fvf4b586dxpkbk9",
                                    "description": "Transformation Case key."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns one case with the list fields plus its capability scope, org unit scope and value lines.\n\n- **Abilities:** `transformation-cases.read`\n- **Plan feature:** Transformation Cases (Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"schema_version\": \"capability-studio-read.v1\",\n  \"permissions\": {\n    \"costs\": true,\n    \"workforce\": false\n  },\n  \"data\": {\n    \"case_key\": \"01m5gd502h0fvf4b586dxpkbk9\",\n    \"title\": \"Automate order exception handling\",\n    \"objective\": \"Cut exception handling time by half.\",\n    \"decision_requested\": \"Approve a pilot in Order Operations.\",\n    \"scope_summary\": \"Order Operations exception queue.\",\n    \"status\": \"draft\",\n    \"revision\": 1,\n    \"reporting_currency\": \"EUR\",\n    \"owner\": {\n      \"id\": 1,\n      \"name\": \"Ada Lovelace\"\n    },\n    \"source\": {\n      \"type\": null,\n      \"scenario_id\": null,\n      \"name\": \"Live baseline\",\n      \"as_of\": null\n    },\n    \"target\": null,\n    \"readiness\": {\n      \"ready\": false,\n      \"findings\": [\n        {\n          \"code\": \"missing_source\",\n          \"severity\": \"blocking\",\n          \"message\": \"Pin a Live-as-of or snapshot source.\",\n          \"section\": \"source\",\n          \"subject\": []\n        },\n        {\n          \"code\": \"missing_target\",\n          \"severity\": \"blocking\",\n          \"message\": \"Select exactly one target scenario for the Alpha case.\",\n          \"section\": \"target\",\n          \"subject\": []\n        },\n        {\n          \"code\": \"missing_capability_scope\",\n          \"severity\": \"blocking\",\n          \"message\": \"Select at least one in-scope capability.\",\n          \"section\": \"capability_scope\",\n          \"subject\": []\n        },\n        {\n          \"code\": \"missing_org_scope\",\n          \"severity\": \"blocking\",\n          \"message\": \"Select an organisational boundary.\",\n          \"section\": \"org_scope\",\n          \"subject\": []\n        }\n      ],\n      \"progress\": {\n        \"completed\": 0,\n        \"total\": 7,\n        \"percentage\": 0\n      }\n    },\n    \"economics_summary\": {\n      \"manual_only\": true,\n      \"organization\": {\n        \"source\": {\n          \"tenant_id\": 1,\n          \"scenario_id\": null,\n          \"as_of_date\": \"2026-09-30T00:00:00+00:00\",\n          \"direct_headcount\": 0,\n          \"subtree_headcount\": 0,\n          \"direct_fte\": 0,\n          \"subtree_fte\": 0,\n          \"direct_monthly_cost_cents\": 0,\n          \"subtree_monthly_cost_cents\": 0,\n          \"velocity_completed_sp\": null,\n          \"velocity_team_count\": null,\n          \"computed_at\": null,\n          \"subtree_machine_monthly_cost_cents\": 0,\n          \"unassigned_machine_monthly_cost_cents\": 0\n        },\n        \"target\": null,\n        \"delta\": null\n      },\n      \"lanes\": {\n        \"cashable_saving\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"avoided_cost\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"released_capacity\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"service_improvement\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"growth_potential\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"risk_reduction\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"implementation_cost\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"recurring_cost\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        },\n        \"consultancy_fee\": {\n          \"money\": [],\n          \"duration_seconds\": 0,\n          \"integer\": [],\n          \"decimal\": [],\n          \"line_count\": 0\n        }\n      },\n      \"overlap_findings\": []\n    },\n    \"updated_at\": \"2026-09-30T09:00:00+00:00\",\n    \"capability_scope\": [],\n    \"org_unit_scope\": [],\n    \"value_lines\": []\n  },\n  \"meta\": {\n    \"sparse_fields\": [],\n    \"includes\": []\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"code\":\"resource.not_found\",\"message\":\"Resource not found.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Initiatives",
            "description": "\nInitiatives track a planned change from a baseline scenario to a target scenario, with a lifecycle status (`draft`, `active`, `paused`, `completed`).",
            "item": [
                {
                    "name": "List initiatives",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/initiatives",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-created_at%2Ctitle",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,title,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "search",
                                    "value": "cost",
                                    "description": "Search by title or description.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bstatus%5D",
                                    "value": "active",
                                    "description": "Filter by status.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bbaseline_scenario_id%5D",
                                    "value": "1",
                                    "description": "Filter by baseline scenario.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Btarget_scenario_id%5D",
                                    "value": "2",
                                    "description": "Filter by target scenario.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Binitiatives%5D",
                                    "value": "id%2Ctitle",
                                    "description": "Sparse fields for initiatives.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "baseline_scenario%2Ctarget_scenario",
                                    "description": "Comma-separated relationships. Allowed: baseline_scenario,target_scenario.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/initiatives?page=1&per_page=25&sort=-created_at%2Ctitle&search=cost&filter%5Bstatus%5D=active&filter%5Bbaseline_scenario_id%5D=1&filter%5Btarget_scenario_id%5D=2&fields%5Binitiatives%5D=id%2Ctitle&include=baseline_scenario%2Ctarget_scenario"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `initiatives.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":1,\"title\":\"Cost Reduction\",\"description\":\"Reduce infrastructure spend by 15%\",\"status\":\"active\",\"baseline_scenario_id\":1,\"target_scenario_id\":2,\"created_at\":\"2025-01-10T09:00:00Z\",\"updated_at\":\"2025-01-10T09:00:00Z\"},{\"id\":2,\"title\":\"Mobile Workforce Rollout\",\"description\":null,\"status\":\"draft\",\"baseline_scenario_id\":1,\"target_scenario_id\":3,\"created_at\":\"2025-01-11T10:00:00Z\",\"updated_at\":\"2025-01-11T10:00:00Z\"}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"total\":2,\"current_page\":1,\"per_page\":15,\"last_page\":1}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported sort: salary\",\"details\":{\"allowed\":[\"id\",\"title\",\"created_at\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"per_page\":[\"The per page must be at least 1.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create an initiative",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/initiatives",
                            "query": [
                                {
                                    "key": "fields%5Binitiatives%5D",
                                    "value": "id%2Ctitle",
                                    "description": "Sparse fields for initiatives.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "baseline_scenario%2Ctarget_scenario",
                                    "description": "Comma-separated relationships. Allowed: baseline_scenario,target_scenario.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/initiatives?fields%5Binitiatives%5D=id%2Ctitle&include=baseline_scenario%2Ctarget_scenario"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"Reduce Cloud Spend\",\"description\":\"Target a 15% reduction by Q4.\",\"status\":\"active\",\"baseline_scenario_id\":1,\"target_scenario_id\":2}"
                        },
                        "description": "- **Abilities:** `initiatives.create`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Cost Reduction\",\"description\":\"Reduce infrastructure spend by 15%\",\"status\":\"active\",\"baseline_scenario_id\":1,\"target_scenario_id\":2,\"created_at\":\"2025-01-10T09:00:00Z\",\"updated_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"title\":[\"The title field is required.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show an initiative",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/initiatives\/:id",
                            "query": [
                                {
                                    "key": "fields%5Binitiatives%5D",
                                    "value": "id%2Ctitle",
                                    "description": "Sparse fields for initiatives.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "baseline_scenario%2Ctarget_scenario",
                                    "description": "Comma-separated relationships. Allowed: baseline_scenario,target_scenario.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/initiatives\/:id?fields%5Binitiatives%5D=id%2Ctitle&include=baseline_scenario%2Ctarget_scenario",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Initiative ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `initiatives.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Cost Reduction\",\"description\":\"Reduce infrastructure spend by 15%\",\"status\":\"active\",\"baseline_scenario_id\":1,\"target_scenario_id\":2,\"baseline_scenario\":{\"id\":1,\"name\":\"Current State\",\"status\":\"published\"},\"target_scenario\":{\"id\":2,\"name\":\"Optimized State\",\"status\":\"draft\"},\"created_at\":\"2025-01-10T09:00:00Z\",\"updated_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update an initiative",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/initiatives\/:id",
                            "query": [
                                {
                                    "key": "fields%5Binitiatives%5D",
                                    "value": "id%2Ctitle",
                                    "description": "Sparse fields for initiatives.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "baseline_scenario%2Ctarget_scenario",
                                    "description": "Comma-separated relationships. Allowed: baseline_scenario,target_scenario.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/initiatives\/:id?fields%5Binitiatives%5D=id%2Ctitle&include=baseline_scenario%2Ctarget_scenario",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Initiative ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"Reduce Cloud Spend\",\"description\":\"Target a 15% reduction by Q4.\",\"status\":\"paused\",\"baseline_scenario_id\":1,\"target_scenario_id\":2}"
                        },
                        "description": "- **Abilities:** `initiatives.update`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Cost Optimization\",\"description\":\"Reduce infrastructure spend by 20%\",\"status\":\"active\",\"baseline_scenario_id\":1,\"target_scenario_id\":2,\"created_at\":\"2025-01-10T09:00:00Z\",\"updated_at\":\"2025-01-10T09:00:00Z\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"status\":[\"The selected status is invalid.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete an initiative",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/initiatives\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/initiatives\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Initiative ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `initiatives.delete`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Scenarios",
            "description": "\nScenarios are copies of Live that you can change safely, review and then promote.\n\nCreating a scenario clones Live (or another scenario) in the background; follow progress with [scenario tasks](#scenarios-tasks). To read or change data in a scenario, pass `?scenario={slug}` to any model endpoint. Archived scenarios and snapshots are read-only.",
            "item": [
                {
                    "name": "List scenarios",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-created_at%2Cname",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,name,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bstatus%5D",
                                    "value": "cloning",
                                    "description": "Filter by status.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bkind%5D",
                                    "value": "planning",
                                    "description": "Filter by kind (planning, baseline_archive, applied_scenario).",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bscenarios%5D",
                                    "value": "id%2Cname%2Cstatus",
                                    "description": "Sparse fields for scenarios.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "teams%2Caggregate",
                                    "description": "Comma-separated relationships. Allowed: teams,aggregate.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "Snapshot date for aggregates. Format: YYYY-MM-DD.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios?page=1&per_page=25&sort=-created_at%2Cname&filter%5Bstatus%5D=cloning&filter%5Bkind%5D=planning&fields%5Bscenarios%5D=id%2Cname%2Cstatus&include=teams%2Caggregate&as_of=2025-09-01"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `scenarios.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":1,\"name\":\"FY26 Cost Optimisation\",\"status\":\"new\"}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"total\":1,\"current_page\":1,\"per_page\":15,\"last_page\":1}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported sort: salary\",\"details\":{\"allowed\":[\"id\",\"name\",\"created_at\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"The given data was invalid.\",\"errors\":{\"per_page\":[\"The per page must be at least 1.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a scenario",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"\\\"Q2 Planning\\\"\",\"notes\":\"\\\"Budget-cut planning run.\\\"\",\"source_scenario_id\":12}"
                        },
                        "description": "Triggers a background clone pipeline and returns immediately with status=initialising.\n\n- **Abilities:** `scenarios.create`\n- **Plan feature:** Scenario planning and cloning (Team, Business, Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 202,
                            "body": "{\n  \"message\": \"Scenario creation started. Cloning in progress.\",\n  \"status\": \"initialising\",\n  \"scenario\": {\n    \"id\": 42,\n    \"name\": \"Q2 Planning\",\n    \"status\": \"initialising\",\n    \"notes\": \"Budget-cut planning run.\"\n  },\n  \"tasks_url\": \"https:\/\/app.orgonaut.test\/api\/v1\/scenarios\/tasks\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"code\":\"feature.unavailable\",\"message\":\"Your current subscription plan does not include this feature.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 429,
                            "body": "{\"code\":\"limit.scenarios\",\"message\":\"Active planning scenario limit reached (1\/1). Archive or apply an existing scenario, or upgrade your plan.\",\"limit\":1,\"current\":1}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show a scenario",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios\/:slug",
                            "query": [
                                {
                                    "key": "include",
                                    "value": "aggregate",
                                    "description": "Comma-separated relationships. Allowed: teams,aggregate.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "Snapshot date for aggregates. Format: YYYY-MM-DD.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios\/:slug?include=aggregate&as_of=2025-09-01",
                            "variable": [
                                {
                                    "id": "slug",
                                    "key": "slug",
                                    "value": "fy26-restructure",
                                    "description": "Scenario slug or ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `scenarios.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"name\":\"FY26 Cost Optimisation\",\"status\":\"new\",\"aggregate\":{\"as_of_date\":\"2025-09-01\",\"scenario_direct_headcount\":0,\"scenario_subtree_headcount\":0,\"scenario_direct_monthly_cost_cents\":0,\"scenario_subtree_monthly_cost_cents\":0,\"velocity_completed_sp\":0,\"velocity_team_count\":0,\"computed_at\":\"2025-09-06T12:00:00Z\",\"metrics\":{}}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show a scenario delta",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios\/:scenario_slug\/delta",
                            "query": [
                                {
                                    "key": "compare",
                                    "value": "baseline",
                                    "description": "Optional comparison source. Use \"baseline\" to compare against the live baseline instead of the scenario's source.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2028-01-01",
                                    "description": "Optional comparison date (YYYY-MM-DD). Dates up to today use recorded snapshots; later dates are projected from dated placements, pay and approved deployments. Ignored for archived scenarios.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios\/:scenario_slug\/delta?compare=baseline&as_of=2028-01-01",
                            "variable": [
                                {
                                    "id": "scenario_slug",
                                    "key": "scenario_slug",
                                    "value": "fy26-restructure",
                                    "description": "Scenario slug or ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Show changed-record deltas between a scenario and its comparison source.\n\n- **Abilities:** `scenarios.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"scenario\":{\"id\":7,\"name\":\"FY26 Restructure\",\"slug\":\"fy26-restructure\",\"status\":\"draft\",\"kind\":\"planning\",\"notes\":\"Budget-cut planning run.\",\"live_from\":null,\"live_to\":null,\"locked_at\":null,\"archived_at\":null,\"is_read_only\":false,\"source_scenario_id\":null,\"created_at\":\"2026-03-01T09:00:00Z\",\"updated_at\":\"2026-03-01T09:00:00Z\"},\"source\":null,\"source_label\":\"Live baseline\",\"as_of\":null,\"counts\":{\"added\":1,\"changed\":1,\"removed\":0,\"total\":2},\"families\":[{\"family\":\"Teams\",\"counts\":{\"added\":1,\"changed\":0,\"removed\":0,\"total\":1},\"files\":[\"team:44\"]},{\"family\":\"Scenario Metrics\",\"counts\":{\"added\":0,\"changed\":1,\"removed\":0,\"total\":1},\"files\":[\"metrics:summary\"]}],\"files\":[{\"key\":\"team:44\",\"family\":\"Teams\",\"status\":\"added\",\"title\":\"Platform Enablement\",\"path\":\"teams\/platform-enablement\",\"icon\":\"users\",\"added_lines\":4,\"removed_lines\":0,\"activity_event_ids\":[311],\"hunks\":[{\"title\":\"Team details\",\"status\":\"added\",\"lines\":[{\"type\":\"added\",\"prefix\":\"+\",\"field\":\"Name\",\"content\":\"Name: Platform Enablement\"}]}]}],\"metrics\":[{\"key\":\"metrics:summary\",\"family\":\"Scenario Metrics\",\"status\":\"changed\",\"title\":\"Scenario metrics\",\"path\":\"metrics\/summary\",\"icon\":\"chart-bar\",\"added_lines\":1,\"removed_lines\":1,\"activity_event_ids\":[],\"hunks\":[{\"title\":\"Headcount\",\"status\":\"changed\",\"lines\":[{\"type\":\"removed\",\"prefix\":\"-\",\"field\":\"Headcount\",\"content\":\"Headcount: 123\"},{\"type\":\"added\",\"prefix\":\"+\",\"field\":\"Headcount\",\"content\":\"Headcount: 118\"}]}]}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show a scenario timeline",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios\/:scenario_slug\/timeline",
                            "query": [
                                {
                                    "key": "compare",
                                    "value": "baseline",
                                    "description": "Optional comparison source. Use \"baseline\" to compare against the live baseline instead of the scenario's source.",
                                    "disabled": false
                                },
                                {
                                    "key": "dates[0]",
                                    "value": "2039-12-25",
                                    "description": "Must be a valid date in the format Y-m-d. Must be a date after or equal to 1970-01-01. Must be a date before or equal to 2076-12-02.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios\/:scenario_slug\/timeline?compare=baseline&dates[0]=2039-12-25",
                            "variable": [
                                {
                                    "id": "scenario_slug",
                                    "key": "scenario_slug",
                                    "value": "fy26-restructure",
                                    "description": "Scenario slug or ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Show a scenario's path against its comparison source on several dates.\n\nOne call returns headcount, FTE and monthly cost (total, people and agent)\nfor the scenario and its source on each date, plus the difference, so an\nagent can draw the path without calling the delta once per date. Dates up\nto today read recorded snapshots; later dates are projected from dated\nplacements, pay records and approved AI deployments. Cost figures need\n`costs.read` and are otherwise removed.\n\n- **Abilities:** `scenarios.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"scenario\":{\"id\":7,\"name\":\"Path to 2030\",\"slug\":\"path-to-2030\"},\"source\":null,\"source_label\":\"Live baseline\",\"has_dated_changes\":true,\"last_change\":\"2030-06-30\",\"points\":[{\"date\":\"2026-09-27\",\"label\":\"Today\",\"projected\":false,\"scenario\":{\"headcount\":1000,\"fte\":962.4,\"cost\":934000000,\"people_cost\":933000000,\"agent_cost\":1000000},\"source\":{\"headcount\":1000,\"fte\":962.4,\"cost\":934000000,\"people_cost\":933000000,\"agent_cost\":1000000},\"difference\":{\"headcount\":0,\"fte\":0,\"cost\":0,\"people_cost\":0,\"agent_cost\":0}},{\"date\":\"2028-01-01\",\"label\":\"2028\",\"projected\":true,\"scenario\":{\"headcount\":936,\"fte\":903.1,\"cost\":890000000,\"people_cost\":868000000,\"agent_cost\":22000000},\"source\":{\"headcount\":1000,\"fte\":962.4,\"cost\":934000000,\"people_cost\":933000000,\"agent_cost\":1000000},\"difference\":{\"headcount\":-64,\"fte\":-59.3,\"cost\":-44000000,\"people_cost\":-65000000,\"agent_cost\":21000000}}]}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 409,
                            "body": "{\"message\":\"Archived scenarios keep the figures recorded when they were archived. Use the scenario delta instead.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Submit a scenario for review",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios\/:scenario_slug\/submit",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios\/:scenario_slug\/submit",
                            "variable": [
                                {
                                    "id": "scenario_slug",
                                    "key": "scenario_slug",
                                    "value": "fy26-restructure",
                                    "description": "Scenario slug or ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `scenarios.update`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"name\":\"FY26 Cost Optimisation\",\"status\":\"under_review\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Approve a scenario",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios\/:scenario_slug\/approve",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios\/:scenario_slug\/approve",
                            "variable": [
                                {
                                    "id": "scenario_slug",
                                    "key": "scenario_slug",
                                    "value": "fy26-restructure",
                                    "description": "Scenario slug or ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `scenarios.update`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"name\":\"FY26 Cost Optimisation\",\"status\":\"approved\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Promote a scenario to Live",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/scenarios\/:scenario_slug\/promote",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/scenarios\/:scenario_slug\/promote",
                            "variable": [
                                {
                                    "id": "scenario_slug",
                                    "key": "scenario_slug",
                                    "value": "fy26-restructure",
                                    "description": "Scenario slug or ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"confirmed_promotion\":true,\"confirmed_archive\":true}"
                        },
                        "description": "Promote a planning scenario to the live baseline.\n\nQueues the existing promotion pipeline with type `scenario_promotion`.\n\n- **Abilities:** `scenarios.update`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 202,
                            "body": "{\"message\":\"Scenario promotion started. Promotion in progress.\",\"status\":\"queued\",\"scenario_id\":1,\"tasks_url\":\"https:\/\/app.orgonaut.test\/api\/v1\/scenarios\/tasks\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Tasks",
                    "description": "Progress of background clone, promotion and snapshot-restore jobs.",
                    "item": [
                        {
                            "name": "List scenario tasks",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/scenarios\/tasks",
                                    "query": [
                                        {
                                            "key": "status",
                                            "value": "running",
                                            "description": "Filter by status (pending, running, failed, complete).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "type",
                                            "value": "promotion",
                                            "description": "Filter by task type (clone, promotion, snapshot, all). Defaults to clone for compatibility.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/scenarios\/tasks?status=running&type=promotion"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns background tasks for the organisation, ordered by latest first.\nThese are the same tasks shown on the **Scenarios \u2192 Tasks** page in the app.\n\n- **Abilities:** `scenarios.read`\n- **Plan feature:** Scenario planning and cloning (Team, Business, Enterprise, Agency)"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 81,\n    \"scenario_id\": 42,\n    \"scenario_name\": \"Q2 Planning\",\n    \"type\": \"clone\",\n    \"stage\": \"actors\",\n    \"status\": \"running\",\n    \"percent\": 33,\n    \"message\": \"Copying Actors...\",\n    \"error_message\": null,\n    \"created_at\": \"2025-11-01T12:14:22Z\",\n    \"updated_at\": \"2025-11-01T12:15:03Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Snapshots",
            "description": "\nSnapshots are read-only archives of Live, taken manually from the Snapshots page or automatically before a promotion replaces Live. Restoring a snapshot archives the current Live first, then makes the snapshot Live.",
            "item": [
                {
                    "name": "List snapshots",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/snapshots",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "-created_at%2Cname",
                                    "description": "Comma-separated columns, prefix with - for DESC. Allowed: id,name,created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bstatus%5D",
                                    "value": "archived",
                                    "description": "Filter by status.",
                                    "disabled": false
                                },
                                {
                                    "key": "fields%5Bscenarios%5D",
                                    "value": "id%2Cname%2Ckind",
                                    "description": "Sparse fields for scenarios.",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "aggregate",
                                    "description": "Comma-separated relationships. Allowed: teams,aggregate.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "Snapshot date for aggregates. Format: YYYY-MM-DD.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/snapshots?page=1&per_page=25&sort=-created_at%2Cname&filter%5Bstatus%5D=archived&fields%5Bscenarios%5D=id%2Cname%2Ckind&include=aggregate&as_of=2025-09-01"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "List baseline snapshots.\n\n- **Abilities:** `scenarios.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":12,\"name\":\"Baseline Snapshot 2025-11-01\",\"kind\":\"baseline_archive\"}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"total\":1,\"current_page\":1,\"per_page\":15,\"last_page\":1}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show a snapshot",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/snapshots\/:scenario_slug",
                            "query": [
                                {
                                    "key": "include",
                                    "value": "aggregate",
                                    "description": "Comma-separated relationships. Allowed: teams,aggregate.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2025-09-01",
                                    "description": "Snapshot date for aggregates. Format: YYYY-MM-DD.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/snapshots\/:scenario_slug?include=aggregate&as_of=2025-09-01",
                            "variable": [
                                {
                                    "id": "scenario_slug",
                                    "key": "scenario_slug",
                                    "value": "baseline-snapshot-2025-11-01",
                                    "description": "Snapshot slug or ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `scenarios.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":12,\"name\":\"Baseline Snapshot 2025-11-01\",\"kind\":\"baseline_archive\",\"status\":\"archived\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Restore a snapshot to Live",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/snapshots\/:scenario_slug\/restore",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/snapshots\/:scenario_slug\/restore",
                            "variable": [
                                {
                                    "id": "scenario_slug",
                                    "key": "scenario_slug",
                                    "value": "baseline-snapshot-2025-11-01",
                                    "description": "Snapshot slug or ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"confirmed_promotion\":true,\"confirmed_archive\":true}"
                        },
                        "description": "Restore a baseline snapshot to become the live baseline.\n\nQueues the existing promotion pipeline with type `snapshot_restore`.\n\n- **Abilities:** `scenarios.update`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 202,
                            "body": "{\"message\":\"Snapshot restore started. Promotion in progress.\",\"status\":\"queued\",\"snapshot_id\":12,\"tasks_url\":\"https:\/\/app.orgonaut.test\/api\/v1\/scenarios\/tasks\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Lineage",
            "description": "\nThe history of Live: every scenario promotion and snapshot restore, with the scenarios involved.",
            "item": [
                {
                    "name": "List lineage events",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/lineage",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Max 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Btype%5D",
                                    "value": "scenario_promotion",
                                    "description": "Filter by lineage type (scenario_promotion, snapshot_restore).",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bscenario_id%5D",
                                    "value": "42",
                                    "description": "Filter by related scenario id (promoted\/applied\/archived).",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bapplied_from%5D",
                                    "value": "2025-01-01",
                                    "description": "date Filter by applied_at date (inclusive, YYYY-MM-DD).",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bapplied_to%5D",
                                    "value": "2025-12-31",
                                    "description": "date Filter by applied_at date (inclusive, YYYY-MM-DD).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/lineage?page=1&per_page=25&filter%5Btype%5D=scenario_promotion&filter%5Bscenario_id%5D=42&filter%5Bapplied_from%5D=2025-01-01&filter%5Bapplied_to%5D=2025-12-31"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"page\":61,\"per_page\":7,\"filter\":{\"type\":\"snapshot_restore\",\"scenario_id\":11,\"applied_from\":\"2026-12-02T22:11:15\",\"applied_to\":\"2026-12-02T22:11:15\"}}"
                        },
                        "description": "List baseline lineage events (promotions + snapshot restores).\n\n- **Abilities:** `lineage.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":1,\"type\":\"scenario_promotion\",\"applied_at\":\"2026-01-30T12:00:00Z\"}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"total\":1,\"current_page\":1,\"per_page\":15,\"last_page\":1}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Costs",
            "description": "\nTrack what AI agents cost: per-model token pricing and the usage events agents report.",
            "item": [
                {
                    "name": "AI model pricing",
                    "description": "Per-model token prices used to cost agent usage. Prices are tenant-wide and effective-dated.",
                    "item": [
                        {
                            "name": "List AI model prices",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/settings\/ai\/costs",
                                    "query": [
                                        {
                                            "key": "sort",
                                            "value": "-effective_from%2Cprovider",
                                            "description": "Comma-separated sort list. Allowed: id,provider,model,effective_from,effective_to,created_at. Prefix with `-` for descending order.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bprovider%5D",
                                            "value": "openai",
                                            "description": "Filter by provider slug.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bmodel%5D",
                                            "value": "gpt-4.1",
                                            "description": "Filter by model identifier.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bcurrency%5D",
                                            "value": "USD",
                                            "description": "Filter by currency code.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "fields%5Bai_model_costs%5D",
                                            "value": "id%2Cprovider%2Cmodel%2Ccurrency%2Cis_active",
                                            "description": "Sparse fieldset for AI model costs.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/settings\/ai\/costs?sort=-effective_from%2Cprovider&filter%5Bprovider%5D=openai&filter%5Bmodel%5D=gpt-4.1&filter%5Bcurrency%5D=USD&fields%5Bai_model_costs%5D=id%2Cprovider%2Cmodel%2Ccurrency%2Cis_active"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "List tenant-global model pricing rows.\n\n- **Abilities:** `costs.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":[{\"id\":11,\"provider\":\"openai\",\"model\":\"gpt-4.1\",\"currency\":\"USD\",\"input_mtok_price\":5,\"cached_input_mtok_price\":0.5,\"output_mtok_price\":15,\"effective_from\":\"2026-01-01\",\"effective_to\":null,\"is_active\":true,\"created_at\":\"2026-03-07T09:00:00Z\",\"updated_at\":\"2026-03-07T09:00:00Z\"}],\"links\":{\"first\":null,\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"last_page\":1,\"per_page\":1,\"total\":1}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create an AI model price",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/settings\/ai\/costs",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/settings\/ai\/costs"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"provider\":\"openai\",\"model\":\"gpt-4.1\",\"currency\":\"USD\",\"input_mtok_price\":5,\"cached_input_mtok_price\":0.5,\"output_mtok_price\":15,\"effective_from\":\"2026-01-01\",\"effective_to\":\"2026-06-30\"}"
                                },
                                "description": "Create a tenant-global model pricing row.\n\n- **Abilities:** `costs.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":11,\"provider\":\"openai\",\"model\":\"gpt-4.1\",\"currency\":\"USD\",\"input_mtok_price\":5,\"cached_input_mtok_price\":0.5,\"output_mtok_price\":15,\"effective_from\":\"2026-01-01\",\"effective_to\":null,\"is_active\":true,\"created_at\":\"2026-03-07T09:00:00Z\",\"updated_at\":\"2026-03-07T09:00:00Z\"}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Show an AI model price",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/settings\/ai\/costs\/:ai_model_cost",
                                    "query": [
                                        {
                                            "key": "fields%5Bai_model_costs%5D",
                                            "value": "id%2Cprovider%2Cmodel%2Ccurrency%2Cis_active",
                                            "description": "Sparse fieldset for AI model costs.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/settings\/ai\/costs\/:ai_model_cost?fields%5Bai_model_costs%5D=id%2Cprovider%2Cmodel%2Ccurrency%2Cis_active",
                                    "variable": [
                                        {
                                            "id": "ai_model_cost",
                                            "key": "ai_model_cost",
                                            "value": "11",
                                            "description": "AI model price ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Return a single tenant-global model pricing row.\n\n- **Abilities:** `costs.read`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":11,\"provider\":\"openai\",\"model\":\"gpt-4.1\",\"currency\":\"USD\",\"input_mtok_price\":5,\"cached_input_mtok_price\":0.5,\"output_mtok_price\":15,\"effective_from\":\"2026-01-01\",\"effective_to\":null,\"is_active\":true,\"created_at\":\"2026-03-07T09:00:00Z\",\"updated_at\":\"2026-03-07T09:00:00Z\"}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update an AI model price",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/settings\/ai\/costs\/:ai_model_cost",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/settings\/ai\/costs\/:ai_model_cost",
                                    "variable": [
                                        {
                                            "id": "ai_model_cost",
                                            "key": "ai_model_cost",
                                            "value": "11",
                                            "description": "AI model price ID."
                                        }
                                    ]
                                },
                                "method": "PATCH",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"provider\":\"openai\",\"model\":\"gpt-4.1\",\"currency\":\"USD\",\"input_mtok_price\":5,\"cached_input_mtok_price\":0.5,\"output_mtok_price\":15,\"effective_from\":\"2026-01-01\",\"effective_to\":\"2026-06-30\"}"
                                },
                                "description": "Update a tenant-global model pricing row.\n\n- **Abilities:** `costs.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":11,\"provider\":\"openai\",\"model\":\"gpt-4.1-mini\",\"currency\":\"USD\",\"input_mtok_price\":0.8,\"cached_input_mtok_price\":0.2,\"output_mtok_price\":3.2,\"effective_from\":\"2026-03-01\",\"effective_to\":null,\"is_active\":true,\"created_at\":\"2026-03-07T09:00:00Z\",\"updated_at\":\"2026-03-07T10:15:00Z\"}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete an AI model price",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/settings\/ai\/costs\/:ai_model_cost",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/settings\/ai\/costs\/:ai_model_cost",
                                    "variable": [
                                        {
                                            "id": "ai_model_cost",
                                            "key": "ai_model_cost",
                                            "value": "11",
                                            "description": "AI model price ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Delete a tenant-global model pricing row.\n\n- **Abilities:** `costs.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "{}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Agent cost events",
                    "description": "Usage and cost events reported by or for agent actors. Events are idempotent on `idempotency_key`.",
                    "item": [
                        {
                            "name": "Record an agent cost event",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/actor-cost-events",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/actor-cost-events"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "X-Tenant",
                                        "value": "acme"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"occurred_at\":\"2025-09-01T12:00:00Z\",\"amount\":42.55,\"currency\":\"USD\",\"idempotency_key\":\"evt_01HX...\",\"actor_id\":44,\"org_unit_id\":12,\"scenario_id\":3,\"model\":\"gpt-4.1\",\"input_tokens\":1200000,\"cached_input_tokens\":250000,\"output_tokens\":640000,\"meta\":{\"refund\":false}}"
                                },
                                "description": "Ingest a machine cost event with idempotency protection. Duplicate idempotency keys\nreturn the existing event instead of creating a new row.\n\n- **Abilities:** `costs.write`\n- **CLI tokens:** not available"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":1,\"actor_id\":44,\"actor_agent_profile_id\":9,\"org_unit_id\":12,\"scenario_id\":null,\"occurred_at\":\"2025-09-01T12:00:00Z\",\"input_tokens\":1200000,\"cached_input_tokens\":250000,\"output_tokens\":640000,\"total_tokens\":2090000,\"amount\":18.75,\"currency\":\"USD\",\"provider\":\"openai\",\"model\":\"gpt-4.1\",\"meta\":{\"refund\":false},\"created_at\":\"2025-09-02T10:00:00Z\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":1,\"actor_id\":44,\"actor_agent_profile_id\":9,\"org_unit_id\":12,\"scenario_id\":null,\"occurred_at\":\"2025-09-01T12:00:00Z\",\"input_tokens\":1200000,\"cached_input_tokens\":250000,\"output_tokens\":640000,\"total_tokens\":2090000,\"amount\":18.75,\"currency\":\"USD\",\"provider\":\"openai\",\"model\":\"gpt-4.1\",\"meta\":{\"refund\":false},\"created_at\":\"2025-09-02T10:00:00Z\"}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "AI Tooling Usage",
            "description": "\nPer-person usage of AI coding tools such as Claude Code: sessions, tokens, cost, commits, pull requests and lines changed.\n\nUsage is synced nightly from connected providers and matched to actors by email address. Connect providers in **Settings \u2192 AI Tooling**.",
            "item": [
                {
                    "name": "List daily AI tooling usage",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ai-tooling\/usage",
                            "query": [
                                {
                                    "key": "actor_id",
                                    "value": "42",
                                    "description": "Filter by actor ID. Only returns records matched to this actor.",
                                    "disabled": false
                                },
                                {
                                    "key": "provider",
                                    "value": "claude",
                                    "description": "Filter by provider slug (e.g. \"claude\").",
                                    "disabled": false
                                },
                                {
                                    "key": "from",
                                    "value": "2026-03-01",
                                    "description": "date Start of date range (inclusive, YYYY-MM-DD).",
                                    "disabled": false
                                },
                                {
                                    "key": "to",
                                    "value": "2026-03-25",
                                    "description": "date End of date range (inclusive, YYYY-MM-DD). Must be on or after `from`.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "25",
                                    "description": "Results per page. Min 1, max 100. Defaults to 25.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/ai-tooling\/usage?actor_id=42&provider=claude&from=2026-03-01&to=2026-03-25&per_page=25"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"actor_id\":11,\"provider\":\"pzdszigdqrrkthqp\",\"from\":\"2026-12-02T22:11:15\",\"to\":\"2069-12-23\",\"per_page\":4}"
                        },
                        "description": "Returns a paginated list of daily usage records across all matched and unmatched actors.\nRecords are ordered by `usage_date` descending (most recent first). Each record represents\none actor's usage of one AI tooling provider on a single day.\n\nSupports filtering by actor, provider, and date range. Unmatched records (where the\nsource email could not be resolved to an Orgonaut actor) have `actor_id: null`.\n\n- **Abilities:** `ai-tooling.manage`\n- **Plan feature:** AI tooling integrations (Business, Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": 128,\n      \"actor_id\": 42,\n      \"provider\": \"claude\",\n      \"source_email\": \"aoife.ryan@example.com\",\n      \"usage_date\": \"2026-03-24\",\n      \"sessions_count\": 5,\n      \"lines_added\": 320,\n      \"lines_removed\": 85,\n      \"commits_count\": 4,\n      \"pull_requests_count\": 1,\n      \"total_input_tokens\": 125000,\n      \"total_output_tokens\": 48000,\n      \"total_cache_read_tokens\": 32000,\n      \"total_cache_creation_tokens\": 8000,\n      \"total_cost_cents\": 245,\n      \"currency\": \"USD\",\n      \"tool_actions\": {\"edit_tool\": {\"accepted\": 18, \"rejected\": 2}, \"bash_tool\": {\"accepted\": 12, \"rejected\": 0}},\n      \"model_breakdown\": [{\"model\": \"claude-opus-4-6\", \"input_tokens\": 80000, \"output_tokens\": 30000}, {\"model\": \"claude-sonnet-4-6\", \"input_tokens\": 45000, \"output_tokens\": 18000}],\n      \"matched_at\": \"2026-03-24T03:15:42+00:00\",\n      \"actor\": {\"id\": 42, \"name\": \"Aoife Ryan\", \"email\": \"aoife.ryan@example.com\"}\n    }\n  ],\n  \"links\": {\"first\": \"\/?page=1\", \"last\": \"\/?page=3\", \"prev\": null, \"next\": \"\/?page=2\"},\n  \"meta\": {\"current_page\": 1, \"last_page\": 3, \"per_page\": 25, \"total\": 72}\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\": \"The given data was invalid.\", \"errors\": {\"to\": [\"The to field must be a date after or equal to from.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Summarise an actor's AI tooling usage",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ai-tooling\/actors\/:actor_id\/summary",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/ai-tooling\/actors\/:actor_id\/summary",
                            "variable": [
                                {
                                    "id": "actor_id",
                                    "key": "actor_id",
                                    "value": "44",
                                    "description": "Actor ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns aggregated AI tooling cost and usage totals for a single actor. Includes the\nlast full calendar month total, month-to-date total, and a per-provider breakdown.\n\nUseful for actor profile cards and dashboards.\n\n- **Abilities:** `ai-tooling.manage`\n- **Plan feature:** AI tooling integrations (Business, Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"actor_id\": 42,\n    \"has_data\": true,\n    \"monthly_cost_cents\": 850,\n    \"mtd_cost_cents\": 320,\n    \"sessions\": 15,\n    \"commits\": 8,\n    \"prs\": 2,\n    \"lines_added\": 450,\n    \"lines_removed\": 120,\n    \"by_provider\": {\n      \"claude\": {\n        \"cost_cents\": 850,\n        \"mtd_cost_cents\": 320,\n        \"sessions\": 15\n      }\n    }\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show an actor's daily AI tooling series",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ai-tooling\/actors\/:actor_id\/series",
                            "query": [
                                {
                                    "key": "from",
                                    "value": "2025-10-01",
                                    "description": "date Start of date range (YYYY-MM-DD). Defaults to 6 months ago (start of month).",
                                    "disabled": false
                                },
                                {
                                    "key": "to",
                                    "value": "2026-03-25",
                                    "description": "date End of date range (YYYY-MM-DD). Must be on or after `from`. Defaults to today.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/ai-tooling\/actors\/:actor_id\/series?from=2025-10-01&to=2026-03-25",
                            "variable": [
                                {
                                    "id": "actor_id",
                                    "key": "actor_id",
                                    "value": "44",
                                    "description": "Actor ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"from\":\"2026-12-02T22:11:15\",\"to\":\"2069-12-23\"}"
                        },
                        "description": "Returns a daily time series of AI tooling usage for a single actor. Each data point\ncontains cost, token consumption, session count, and code-change metrics for one day.\nDesigned for rendering cost trend and activity charts on actor profile pages.\n\nDefaults to the last 6 months when `from`\/`to` are omitted.\n\n- **Abilities:** `ai-tooling.manage`\n- **Plan feature:** AI tooling integrations (Business, Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"date\": \"2026-03-23\",\n      \"cost_cents\": 120,\n      \"sessions\": 3,\n      \"commits\": 2,\n      \"prs\": 0,\n      \"lines_added\": 180,\n      \"lines_removed\": 45,\n      \"input_tokens\": 52000,\n      \"output_tokens\": 19000\n    },\n    {\n      \"date\": \"2026-03-24\",\n      \"cost_cents\": 245,\n      \"sessions\": 5,\n      \"commits\": 4,\n      \"prs\": 1,\n      \"lines_added\": 320,\n      \"lines_removed\": 85,\n      \"input_tokens\": 125000,\n      \"output_tokens\": 48000\n    }\n  ]\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\": \"The given data was invalid.\", \"errors\": {\"to\": [\"The to field must be a date after or equal to from.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Summarise a team's AI tooling usage",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ai-tooling\/teams\/:team_id\/summary",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/ai-tooling\/teams\/:team_id\/summary",
                            "variable": [
                                {
                                    "id": "team_id",
                                    "key": "team_id",
                                    "value": "15",
                                    "description": "Team ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns aggregated AI tooling cost and usage totals for all actors placed in the team's\norg unit. Covers the last full calendar month and month-to-date period.\n\nIf the team has no associated org unit, zeroed metrics are returned.\n\n- **Abilities:** `ai-tooling.manage`\n- **Plan feature:** AI tooling integrations (Business, Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"team_id\": 7,\n    \"monthly_cost_cents\": 2500,\n    \"mtd_cost_cents\": 1200,\n    \"sessions\": 45,\n    \"commits\": 22,\n    \"prs\": 6,\n    \"lines_added\": 1800,\n    \"lines_removed\": 400\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Summarise a department's AI tooling usage",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ai-tooling\/departments\/:department_id\/summary",
                            "query": [
                                {
                                    "key": "scope",
                                    "value": "subtree",
                                    "description": "Aggregation scope: \"direct\" (department org unit only) or \"subtree\" (all descendants). Defaults to \"subtree\".",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/ai-tooling\/departments\/:department_id\/summary?scope=subtree",
                            "variable": [
                                {
                                    "id": "department_id",
                                    "key": "department_id",
                                    "value": "3",
                                    "description": "Department ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns aggregated AI tooling cost and usage totals for a department. By default,\naggregates across the entire department subtree (all descendant org units). Pass\n`scope=direct` to limit to actors placed directly in the department's own org unit.\n\nIf the department has no associated org unit, zeroed metrics are returned.\n\n- **Abilities:** `ai-tooling.manage`\n- **Plan feature:** AI tooling integrations (Business, Enterprise, Agency)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"department_id\": 3,\n    \"scope\": \"subtree\",\n    \"monthly_cost_cents\": 8500,\n    \"mtd_cost_cents\": 3200,\n    \"sessions\": 120,\n    \"commits\": 55,\n    \"prs\": 12,\n    \"lines_added\": 5000,\n    \"lines_removed\": 1200\n  }\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Astro",
            "description": "\nDiscover what Astro, Orgonaut's assistant, can do for the current user and context, with example prompts. Availability reflects the user's abilities, the plan and the selected view (Live, scenario or snapshot).",
            "item": [
                {
                    "name": "List Astro capabilities",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/astro\/capabilities",
                            "query": [
                                {
                                    "key": "category",
                                    "value": "work_with_scenarios",
                                    "description": "Filter by category key.",
                                    "disabled": false
                                },
                                {
                                    "key": "kind",
                                    "value": "read",
                                    "description": "Filter by capability kind.",
                                    "disabled": false
                                },
                                {
                                    "key": "availability",
                                    "value": "available",
                                    "description": "Filter by computed availability.",
                                    "disabled": false
                                },
                                {
                                    "key": "include_unavailable",
                                    "value": "",
                                    "description": "Include capabilities that are unavailable in the current context.",
                                    "disabled": true
                                },
                                {
                                    "key": "view_mode",
                                    "value": "scenario",
                                    "description": "Override the current Astro view mode (live, scenario, snapshot).",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario_id",
                                    "value": "7",
                                    "description": "Optional scenario id used for scenario- or snapshot-scoped discovery.",
                                    "disabled": false
                                },
                                {
                                    "key": "focused_entity_type",
                                    "value": "team",
                                    "description": "Optional focused entity type (actor, ai_solution, business_capability, department, org_unit, scenario, team, transformation_case, work_activity).",
                                    "disabled": false
                                },
                                {
                                    "key": "focused_entity_id",
                                    "value": "12",
                                    "description": "Optional focused entity id.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2026-03-01",
                                    "description": "date Optional as-of date for scoped discovery.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/astro\/capabilities?category=work_with_scenarios&kind=read&availability=available&include_unavailable=&view_mode=scenario&scenario_id=7&focused_entity_type=team&focused_entity_id=12&as_of=2026-03-01"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "List Astro capabilities for the current tenant, user, and context.\n\n- **Abilities:** `ai.assistant.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"key\":\"explore_organisation\",\"title\":\"Explore organisation\",\"description\":\"Browse the current organisation structure, departments, teams, and root summaries.\",\"capabilities\":[{\"key\":\"explore.organisation\",\"title\":\"Explore organisation structure\",\"kind\":\"read\",\"availability_status\":\"available\"}]}],\"meta\":{\"context\":{\"view_mode\":\"live\",\"scope_key\":\"baseline\"},\"counts\":{\"available\":5,\"limited\":2,\"unavailable\":0,\"coming_soon\":3}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Show an Astro capability",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/astro\/capabilities\/:key",
                            "query": [
                                {
                                    "key": "view_mode",
                                    "value": "scenario",
                                    "description": "Override the current Astro view mode (live, scenario, snapshot).",
                                    "disabled": false
                                },
                                {
                                    "key": "scenario_id",
                                    "value": "7",
                                    "description": "Optional scenario id used for scenario- or snapshot-scoped discovery.",
                                    "disabled": false
                                },
                                {
                                    "key": "focused_entity_type",
                                    "value": "team",
                                    "description": "Optional focused entity type (actor, ai_solution, business_capability, department, org_unit, scenario, team, transformation_case, work_activity).",
                                    "disabled": false
                                },
                                {
                                    "key": "focused_entity_id",
                                    "value": "12",
                                    "description": "Optional focused entity id.",
                                    "disabled": false
                                },
                                {
                                    "key": "as_of",
                                    "value": "2026-03-01",
                                    "description": "date Optional as-of date for scoped discovery.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/astro\/capabilities\/:key?view_mode=scenario&scenario_id=7&focused_entity_type=team&focused_entity_id=12&as_of=2026-03-01",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "explore.organisation",
                                    "description": "Astro capability key."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Show one Astro capability for the current tenant, user, and context.\n\n- **Abilities:** `ai.assistant.read`"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"key\":\"explore.organisation\",\"title\":\"Explore organisation structure\",\"kind\":\"read\",\"availability_status\":\"available\",\"examples\":[{\"prompt\":\"List the departments in the current scope.\"}]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\":\"Capability not found.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Aggregates",
            "description": "\nAggregates are cached roll-ups of headcount, FTE, cost and velocity. They update automatically when the model changes; use this endpoint to force a full rebuild.",
            "item": [
                {
                    "name": "Recalculate aggregates",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/aggregates\/recalculate",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/aggregates\/recalculate"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "- **Abilities:** `aggregates.recalculate`\n- **CLI tokens:** not available"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"status\":\"queued\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Batch",
            "description": "\nRun up to 200 actor, placement, compensation and position writes in one request.",
            "item": [
                {
                    "name": "Run a batch of writes",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/batch",
                            "query": [
                                {
                                    "key": "scenario",
                                    "value": "fy26-restructure",
                                    "description": "Scenario slug to write inside.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/batch?scenario=fy26-restructure"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-Tenant",
                                "value": "acme"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"atomic\":true,\"operations\":[{\"method\":\"POST\",\"path\":\"\\\/api\\\/v1\\\/actors\",\"body\":{\"first_name\":\"Triage\",\"last_name\":\"Agent\",\"email\":\"triage.agent@example.com\",\"fte\":1}},{\"method\":\"POST\",\"path\":\"\\\/api\\\/v1\\\/actors\\\/{ref:0.data.id}\\\/placements\",\"body\":{\"org_unit_id\":12,\"allocation_pct\":100,\"primary\":true}},{\"method\":\"POST\",\"path\":\"\\\/api\\\/v1\\\/positions\",\"body\":{\"title\":\"AI Operations Lead\",\"org_unit_team_id\":12,\"fte\":1,\"valid_from\":\"2027-01-01\"}},{\"method\":\"DELETE\",\"path\":\"\\\/api\\\/v1\\\/placements\\\/9001\"}]}"
                        },
                        "description": "Run several actor, placement, compensation and position writes in one request.\n\nBatchable endpoints: create\/update\/delete actors\n(`\/api\/v1\/actors`, `\/api\/v1\/actors\/{id}`), create placements\n(`\/api\/v1\/actors\/{id}\/placements`), update\/delete placements\n(`\/api\/v1\/placements\/{id}`), create\/update\/delete compensations\n(`\/api\/v1\/actors\/{id}\/compensations[\/{id}]`), and create\/update\/delete\npositions (`\/api\/v1\/positions[\/{id}]`; updates must resend `title`, `fte` and\n`valid_from`). Each operation runs through\nits normal endpoint, so it needs the same token abilities, follows the\nsame validation and scenario rules, and is audited the same way. Pass the\nusual `scenario` or `scenario_id` query parameter on the batch request to\nwrite inside a scenario. A batch counts as one request toward rate limits\nand quotas.\n\nLater operations can use results of earlier ones with `{ref:index.dot.path}`,\nfor example `{ref:0.data.id}` for the id of an actor created by operation 0.\nThe path starts inside that operation's response body, so `{ref:0.data.id}`\nreads `results[0].body.data.id`; do not include `body` in the path.\n\nThe response status is 200 when every operation succeeded, 422 when an\natomic batch was rolled back, and 207 when a non-atomic batch partly failed."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"atomic\":true,\"succeeded\":3,\"failed\":0,\"rolled_back\":false,\"results\":[{\"index\":0,\"method\":\"POST\",\"path\":\"\/api\/v1\/actors\",\"status\":201,\"body\":{\"data\":{\"id\":501,\"first_name\":\"Agent\",\"last_name\":\"Triage\"}}},{\"index\":1,\"method\":\"POST\",\"path\":\"\/api\/v1\/actors\/501\/placements\",\"status\":201,\"body\":{\"data\":{\"id\":9001,\"org_unit_id\":12,\"allocation_pct\":100}}},{\"index\":2,\"method\":\"POST\",\"path\":\"\/api\/v1\/positions\",\"status\":201,\"body\":{\"data\":{\"id\":730,\"title\":\"AI Operations Lead\",\"org_unit_team_id\":12,\"fte\":1}}}]}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"code\":\"query.invalid_parameter\",\"message\":\"Unsupported scenario: q3-plna\",\"details\":{\"allowed\":[\"live\",\"{scenario slug}\"]}}",
                            "name": "Unknown scenario slug"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"atomic\":true,\"succeeded\":0,\"failed\":1,\"rolled_back\":true,\"results\":[{\"index\":0,\"method\":\"PATCH\",\"path\":\"\/api\/v1\/actors\/44\",\"status\":422,\"body\":{\"message\":\"The fte field must not be greater than 3.\",\"errors\":{\"fte\":[\"The fte field must not be greater than 3.\"]}}}]}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Integrations",
            "description": "\nInbound webhooks from connected systems. These endpoints authenticate with the integration's webhook credentials, not an API token, and always acknowledge quickly.",
            "item": [
                {
                    "name": "Receive a BambooHR webhook",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/integrations\/bamboohr\/webhook\/:tenant",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/integrations\/bamboohr\/webhook\/:tenant",
                            "variable": [
                                {
                                    "id": "tenant",
                                    "key": "tenant",
                                    "value": "acme",
                                    "description": "Organisation slug the webhook was configured for."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "This endpoint always responds quickly. When the tenant is missing, the plan\ndoes not include HRIS integrations, or webhook auth fails, it still returns\n`202 Accepted` without queueing sync work.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 202,
                            "body": "{\"status\":\"accepted\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Website",
            "description": "\nOrganisation drafts from www.orgonaut.co (\"Bring your org chart\").\n\nInternal endpoint for the website's signed relay; it is not part of the public API and rejects any other caller.",
            "item": [
                {
                    "name": "Create a draft from a website OrgSpec document.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/website\/organisation-drafts",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/website\/organisation-drafts"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"orgspec\":[],\"scenario\":{\"name\":\"Coding agents in every squad\",\"orgspec\":[]},\"template\":\"platform-team-with-agents\"}"
                        },
                        "description": "Stores the document as a guest draft for the guest retention period (7 days by default) and returns a\none-time claim link. Opening the link lets the visitor sign up and loads the draft into a new organisation."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"claim_url\": \"https:\/\/app.orgonaut.co\/claim-organisation#cl_\u2026\", \"claim_expires_at\": \"2026-11-28T10:30:00Z\", \"draft_expires_at\": \"2026-12-05T10:00:00Z\", \"summary\": {\"organisation_name\": \"Brightdesk\", \"people_count\": 9, \"team_count\": 1, \"scenario_count\": 1}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\": \"invalid_document\", \"message\": \"The organisation could not be read: \u2026\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Draft an organisation from a description (\"Describe it to Astro\").",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/website\/organisation-drafts\/describe",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/website\/organisation-drafts\/describe"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"description\":\"We're 60 people: product, engineering in three squads and a small support team.\"}"
                        },
                        "description": "Returns roles, teams, departments and reporting lines for the visitor's browser to build into an OrgSpec\ndocument. Nothing is stored, and names, email addresses and costs are never returned."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"summary\": \"A 60-person product company\u2026\", \"people\": [{\"key\": \"p1\", \"title\": \"CEO\", \"department\": \"Leadership\", \"team\": null, \"manager_key\": null}]}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\": \"invalid_description\", \"message\": \"Describe your organisation in a few sentences, up to 4,000 characters.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 503,
                            "body": "{\"error\": \"unavailable\", \"message\": \"Astro cannot draft organisations right now.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "token",
                "type": "string"
            }
        ]
    }
}