Predict.aiDocs
Account

Account

Your identity and credentials — the profile behind the token, and the API tokens themselves.

Everything under /v1/user is about you, not a workspace: who you are, how you sign in, and the credentials your integrations use. The centerpiece is API tokens — the pa_live_ bearer tokens that authenticate every programmatic call to the platform.

Account routes are account-scoped: they need only the Authorization header, never X-Workspace-Id.

Thirty seconds of API

# Who am I? (also lists your workspaces)
curl "$API_BASE/v1/user/me" \
  -H "Authorization: Bearer $TOKEN"

# Mint a token for a new integration
curl -X POST "$API_BASE/v1/user/api-tokens" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "CI forecaster", "scopes": ["models.read", "inferences.create"] }'

In this section

How tokens and headers work on every other request is covered in Authentication; the workspaces your account belongs to live in Workspaces.

On this page