---
title: "Get Api Token"
method: GET
path: "/v1/api-tokens/{api_token}"
tags: ["Authentication"]
---

# Get Api Token

`GET /v1/api-tokens/{api_token}`

## Path parameters

- `api_token` string, required

## Headers

- `xi-api-key` string, nullable
- `x-api-key` string, nullable

## Response `200`

Successful Response

- ApiToken
  - `token` string, required
  - `created_at` integer, required — creation unix timestamp
  - `name` string, required
  - `token_id` string, nullable
  - `allowed_ips` string[], nullable

## Other responses

- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.net/deepinfra/apis/deepinfra-api.md) · [All operations](https://skmtc.net/deepinfra/apis/deepinfra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepinfra/deepinfra-api/versions/51b817b3f80f/schema)
