users

Create a new user.

post/api/v1/users

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Request body

aliasstring nullable

Optional admin-facing alias

allowed_modelsstring[] nullable

Default model access-list this user's keys inherit; null = unrestricted, [] = deny all

blockedboolean

Whether user is blocked

budget_idstring nullable

Optional budget ID

metadataobject

Optional metadata

user_idstring required

Unique user identifier

Response

Successful Response

aliasstring nullable required
allowed_modelsstring[] nullable required
blockedboolean required
budget_idstring nullable required
budget_started_atstring nullable required
created_atstring required
current_requestsinteger required
current_tokensinteger required
external_idstring nullable
metadataobject required
next_budget_reset_atstring nullable required
parent_user_idstring nullable
reservednumber required
reserved_requestsinteger required
reserved_tokensinteger required
spendnumber required
updated_atstring required
user_idstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status