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

# List clients

`GET /agents/{id}/clients`

## Request

- Base URL: `https://app.artil.ai/api`
- URL: `https://app.artil.ai/api/agents/{id}/clients`
- 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`

Clients with access to the agent: completed CLI and OAuth sign-ins, and manually created tokens after their first use. Expired and revoked credentials are excluded. This list does not indicate which runtime receives new messages.

## Path parameters

- `id` string, uuid, required

## Response `200`

The clients

- Client[]
  - `id` string, uuid, required: The credential identifying this client
  - `name` string, required: The recorded client or device name, or the name of a manually created token
  - `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)
