Skip to main content
Version: 1.0.0

End User APIs

Self-service profile management for end users — location, locale, default generation config, and free-form metadata.

Every endpoint is scoped to the caller's own profile. The user is derived server-side from the gateway-verified x-user-id / x-tenant-id headers, so there is deliberately no user identifier in any request body: an end user can only read and write their own record, and there is no way to address someone else's.

Field naming

Request bodies accept either snake_case or camelCase — both parse. Response bodies are always camelCase (endUser, localeOverride, defaultGenerationConfig), because responses are encoded with protojson. Fields that are unset, empty, zero, or false are omitted from the response entirely rather than sent as null — read them with a default, not a presence check.

All endpoints use POST /api/v1/enduser/<method> with a JSON request body.

Authentication

Your API key. sk_… for backend-to-backend calls, pk_… for client apps. Never valid on its own — see the combinations under Security below.

Security Scheme Type:

apiKey

Header parameter name:

X-API-Key