Skip to main content
POST
/
provisioning_tokens
Python
import os
from miru_platform_sdk import Miru

client = Miru(
    api_key=os.environ.get("MIRU_API_KEY"),  # This is the default and can be omitted
)
provisioning_token = client.provisioning_tokens.create()
print(provisioning_token.token)
{
  "token": "miru_pt_123",
  "expires_at": "2025-01-01T00:00:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mirurobotics.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

The API key to use for authentication.

Headers

Miru-Version
string
required

The API version the client was built against.

Example:

"2026-05-06.rainier"

Response

200 - application/json

Successfully created the provisioning token.

token
string
required

The provisioning token. This value is only returned when the token is created.

Example:

"miru_pt_123"

expires_at
string<date-time>
required

The expiration date and time of the token.

Example:

"2025-01-01T00:00:00Z"

Last modified on May 18, 2026