---
title: "List agent tokens by userid"
method: GET
path: "/users/{login_name}/agent_tokens"
tags: ["agent_token"]
---

# List agent tokens by userid

`GET /users/{login_name}/agent_tokens`

List agent token by userid

## Path parameters

- `login_name` string, required

## Response `200`

OK

- AgentTokenList
  - `items` AgentToken[]
    - `cluster_id` string
    - `cluster_name` string
    - `token` string — Token is the token used by agent to register managed cluster

---

[API](https://skmtc.dev/modelz/apis/modelz-api.md) · [All operations](https://skmtc.dev/modelz/apis/modelz-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/modelz/modelz-api/revisions/b68d575c96e8/schema)
