---
title: "Keys and connected MCP clients of the team"
method: GET
path: "/v1/agents"
tags: ["account"]
---

# Keys and connected MCP clients of the team

`GET /v1/agents`

## Request

- Base URL: `https://api.briq.cloud`
- URL: `https://api.briq.cloud/v1/agents`
- Auth: HTTP bearer

## Response `200`

ok

- object
  - `agents` object[], required
    - `id` string, required
    - `kind` 'key' | 'oauth', required
    - `name` string, required
    - `prefix` string, nullable, required
    - `policy` object, required
      - `maxConcurrentBriqs` integer
      - `dailySpendCapCents` integer
      - `allowedSizes` string[]
      - `allowedRegistries` string[]
      - `maxSleep` string: The longest sleep this credential may give a briq, "never" included ("never": no bound of its own; the environment and the plan still apply)
      - `expiresAt` string, date-time, nullable
    - `client` object, nullable, required
      - `id` string, required
      - `name` string, nullable, required
      - `uri` string, nullable, required
      - `icon` string, nullable, required
    - `agent` object, nullable, required
      - `name` string, required
      - `title` string, required
      - `version` string, nullable, required
      - `userAgent` string, nullable, required
    - `createdBy` object, nullable, required
      - `name` string, nullable, required
      - `email` string, nullable, required
    - `createdAt` string, required
    - `connectedAt` string, nullable, required
    - `lastUsedAt` string, nullable, required
    - `revokedAt` string, nullable, required
  - `seats` object, required
    - `used` integer, required
    - `max` integer, required

## Other responses

- `400`: validation
- `401`: unauthorized
- `403`: forbidden
- `404`: not found

---

[API](https://skmtc.dev/briq/apis/briq-api.md) · [All operations](https://skmtc.dev/briq/apis/briq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/briq/apis/briq-api/revisions/609b424459cb?raw)
