# listEmployeeSuggestions

An AI employee's pending suggestion cards, newest first: edits it proposes to its own instructions (`action`), with how sure it is (`confidence`). A person accepts one on the employee's page; dismissEmployeeSuggestion and commentOnEmployeeSuggestion answer one for them.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listEmployeeSuggestions", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `employeeId`: `ID!` (required)

## Response (data, an example)

```json
{
  "aiEmployeesQuery": {
    "contactAgentSuggestions": [
      {
        "id": "<ID>",
        "status": "PENDING",
        "confidence": 0,
        "action": "…",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "expiresAt": "2026-01-01T00:00:00.000Z"
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listEmployeeSuggestions",
    "variables": {
      "employeeId": "<employeeId>"
    }
  }'
```
