users

Create an API credential for the authenticated user.

post/me/tokens

Request

  • Base URL
    https://api.timbal.ai
  • URL
    https://api.timbal.ai/me/tokens
  • Auth
    HTTP bearer

Request body

namestring nullable

Operator label ("warehouse-pg box").

ttl_secsinteger nullable

Token lifetime in seconds. Default 86400 (24h), max 30 days.

Response

Credential created

expires_atstring date-time required
tokenstring required

Raw enrollment token, shown once in the response.

token_idstring required

Changes

    • breaking

      the response's property type changed from object to string for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the new optional request property

    • info

      the request property became nullable

    • info

      the request property became optional

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added