> ## Documentation Index
> Fetch the complete documentation index at: https://usenaive.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Provision Operator Bundle

> Device-token authenticated. Creates the operator and returns the runtime-token bundle.

After a device is claimed, the box calls this to create its operator and receive
the runtime-token bundle its local runtime uses to reach the egress gateway.
Device-token authenticated.

<RequestExample>
  ```bash theme={"theme":"css-variables"}
  curl -X POST https://api.usenaive.ai/v1/devices/self/provision \
    -H "Authorization: Bearer <device_token>"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"theme":"css-variables"}
  {
    "company_id": "co_01H...",
    "tenant_user_id": "tu_01H...",
    "runtime_token": "rt_...",
    "environment": "sandbox"
  }
  ```
</ResponseExample>

<Note>
  Self-hosted only. The `runtime_token` is scoped to the operator and is revoked
  when the device is [revoked](/docs/api-reference/devices/revoke). See
  [claim & provisioning](/docs/self-hosting/claim-and-provisioning).
</Note>
