---
title: "List the coach's connected agents (active OAuth connections)"
method: GET
path: "/api/oauth-connections"
tags: ["OAuth connections"]
---

# List the coach's connected agents (active OAuth connections)

`GET /api/oauth-connections`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/oauth-connections`
- Auth: API key in cookie `luca.session_token`

Every agent the coach has authorized over OAuth, newest first, with the scopes it holds and when it was last used. Revoked connections are left out.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- OauthConnectionsResponse
  - `ok` true, required
  - `connections` object[], required
    - `id` string, required
    - `clientId` string, required
    - `clientName` string, required
    - `scopes` string[], required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `lastUsedAt` string, nullable, required
    - `revokedAt` string, nullable, required

## Other responses

- `401`: unauthorized
- `429`: rate limited
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
