There is no public account-registration API. Accounts are created through the onboarding flow at dash.piramyd.cloud — not via the API.
API Keys (Inference)
API keys are the primary credential for calling inference and web intelligence endpoints. Every key begins withsk-. Create and manage your keys in the API Keys section of the dashboard.
Passing your API key
Include your key in theAuthorization header on every inference request:
POST /v1/messages) also accepts the key in the x-api-key header — useful if you’re migrating an existing Anthropic client without changing its auth configuration:
PIRAMYD_API_KEY) and never commit it to source control.
JWT (Account Management)
JWTs are required for account management endpoints — reading your profile, refreshing tokens, or deleting your account. You obtain a JWT by posting your credentials toPOST /v1/auth/token.
Getting a JWT
Using a JWT
Pass the JWT in theAuthorization header exactly as you would an API key:
Auth Endpoints
Request Tracing
Send anX-Request-ID header on any request and Piramyd will echo the same value in the response. Use any stable identifier — a UUID is a good choice. Persist the value in your logs so you can correlate a specific request with error reports or support tickets.
Error Codes
For
429 responses, the API returns a Retry-After header indicating how many seconds to wait before retrying. Use exponential backoff with a base of 1 second, a maximum of 8 seconds, and jitter.