Authentication

Get Api Token By Id

Changed on

One API token's metadata, by token_id.

token_id comes from Get Api Tokens (GET /v1/api-tokens).

get/v1/api-tokens/id/{token_id}

Request

  • Base URL: https://api.deepinfra.com
  • URL: https://api.deepinfra.com/v1/api-tokens/id/{token_id}
  • Auth: HTTP bearer

Path parameters

token_idstring required

Headers

xi-api-keystring nullable
x-api-keystring nullable

Response

Successful Response

tokenstring required
created_atinteger required

creation unix timestamp

namestring required
token_idstring required
allowed_ipsstring[] nullable
fragmentstring

display suffix; last 5 chars of the secret

Changes

    • ○

      added the optional property to the response with the status

    • ○

      the response property became required for the status

    • ○

      response property token_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • ○

      endpoint added