# listCoachingCards

Source: /openapi/thomas-federated.openapi.json

## Operation

| Method | URL |
|---|---|
| GET | https://dev-cxi-api.thomas.co/v1/ai-coaching/cards |

| Field | Value |
|---|---|
| operationId | listCoachingCards |
| method | GET |
| server | https://dev-cxi-api.thomas.co/v1 |
| path | /ai-coaching/cards |
| tags | `Coaching Cards` |
| summary | Get contextual coaching cards |
| badges | None |

## Request Parameters

| Name | In | Required | Schema | Description |
|---|---|---|---|---|
| pageId | query | true | string |  |

## Request Body

None.

## Responses

| Status | Description | Schema refs |
|---|---|---|
| 200 | Contextual coaching cards for the page | #/components/schemas/CxiCardsResponseDto |
| 400 | Invalid pageId or query parameters | #/components/schemas/ApiErrorResponseDto |
| 401 | Invalid or missing authentication token (AUTH_TOKEN_INVALID) | #/components/schemas/ApiErrorResponseDto |
| 403 | Gate-1 re-authorization denial | #/components/schemas/ApiErrorResponseDto |
| 429 | Per-individual AI-coaching rate limit exceeded | #/components/schemas/ApiErrorResponseDto |

### Response 429 headers

| Name | Description | Schema |
|---|---|---|
| Retry-After | Seconds until the rate-limit block expires before retrying. | {"type":"integer","minimum":0} |
| RateLimit-Limit | Configured request limit for the active rate-limit window. | {"type":"integer"} |
| RateLimit-Remaining | Requests remaining in the active rate-limit window; zero when blocked. | {"type":"integer"} |
| RateLimit-Reset | Seconds until the rate-limit block expires. | {"type":"integer","minimum":0} |

## Artifact Examples

### Response 400 example

```json
{
  "statusCode": 400,
  "message": "Validation failed",
  "error": "HTTP_BAD_REQUEST"
}
```

### Response 401 example

```json
{
  "statusCode": 401,
  "message": "Invalid or missing authentication token",
  "error": "AUTH_TOKEN_INVALID"
}
```

### Response 403 example

```json
{
  "statusCode": 403,
  "message": "AI coaching authorization denied",
  "error": "THOMAI_AUTHORIZATION_DENIED"
}
```

### Response 429 example

```json
{
  "statusCode": 429,
  "message": "Too many coaching requests",
  "error": "THOMAI_OPS_RATE_LIMIT_EXCEEDED"
}
```
