Create an API key

Create one API key for the authenticated account. The full secret is returned in this response and never again; only its verifier is kept.

post/v1/keys

Request

  • Base URL: https://thirds.ai
  • URL: https://thirds.ai/v1/keys
  • Auth: HTTP bearer

Request body

namestring required

1 to 100 printable ASCII characters.

Response

The key was created. This is the only response that ever carries the secret.

idstring required

The key's public identifier: "key_" followed by 32 lowercase hexadecimal characters.

namestring required
secretstring required

The full secret: "thirds_sk_v1_" followed by 64 lowercase hexadecimal characters. It is shown here once and never again.

display_prefixstring required

The first characters of the secret, enough to tell keys apart in a list.

status'active' required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.