# clearOnToday

"Dealt with": the row leaves the key owner's Today until something newer than anchorAt happens to it. subjectGrn is `<Model>_<id>` of what the row is about (TextConversation, EmailThread, Deal, Call, Task); kind is TODAY.

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

## Variables

- `subjectGrn`: `String!` (required)
- `kind`: `String!` (required)
- `anchorAt`: `DateTime!` (required)

## Response (data, an example)

```json
{
  "subjectStateMutation": {
    "clear": {
      "subjectGrn": "…",
      "kind": "…",
      "seenThroughAt": "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" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "clearOnToday",
    "variables": {
      "subjectGrn": "<String>",
      "kind": "<String>",
      "anchorAt": "2026-01-01T00:00:00.000Z"
    }
  }'
```
