---
title: "Retrieve all active/expired API tokens for the logged in user."
method: GET
path: "/users/tokens"
tags: ["Tokens"]
---

# Retrieve all active/expired API tokens for the logged in user.

`GET /users/tokens`

## Response `200`

A successful response from this resource will contain json-encoded array of token details, excluding the secret key.

- ListTokensResponseV1
  - `items` TokenInfo[], required
    - `access_key` string, required
    - `alias` string, required
    - `created_at` string, required
    - `expires_at` string, required
    - `last_used` string, required

## Other responses

- `401` — Error Authentication Failed
- `500` — Error Internal Server

---

[API](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/revisions/a3fd2dedc72b/schema)
