# acceptEmployeeSuggestion

Accept one of an AI employee's suggestion cards (listEmployeeSuggestions): its edit lands on the employee's instructions, as the employee page's Accept does. `outcome` APPLIED, RETIRED (the instructions moved on; the card is gone) or REFUSED (`message` says what to fix). Only when the person asks for this card, and it waits for their yes (the write says how to ask).

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "acceptEmployeeSuggestion", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

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

## Response (data, an example)

```json
{
  "aiEmployeesMutation": {
    "acceptContactAgentSuggestion": {
      "outcome": "APPLIED",
      "message": "…",
      "suggestion": {
        "id": "<ID>",
        "status": "PENDING"
      }
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "acceptEmployeeSuggestion",
    "variables": {
      "suggestionId": "<suggestionId>"
    }
  }'
```
