---
title: "List tokens"
method: GET
path: "/agents/{id}/tokens"
tags: ["Tokens"]
---

# List tokens

`GET /agents/{id}/tokens`

## Request

- Base URL: `https://app.artil.ai/api`
- URL: `https://app.artil.ai/api/agents/{id}/tokens`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://mcp.artil.ai/oauth/authorize`
    - Token URL: `https://mcp.artil.ai/oauth/token` scopes: `agent`

List the tokens members made for an agent, never their values. Sign-ins from the CLI and OAuth are not listed.

## Path parameters

- `id` string, uuid, required

## Response `200`

The tokens

- Token[]
  - `id` string, uuid, required
  - `name` string, required
  - `createdAt` string, date-time, required
  - `lastUsedAt` string, date-time, nullable, required

## Other responses

- `4XX`: The request failed; the error says why
- `5XX`: The request failed; the error says why

---

[API](https://skmtc.dev/artil/apis/artil-api.md) - [All operations](https://skmtc.dev/artil/apis/artil-api/llms.txt) - [OpenAPI document](https://skmtc.dev/artil/apis/artil-api/revisions/55db0efa0cb8?raw)
