# queueMemoryDream

Memory: queue one dreaming pass now for the key owner's own PERSON shelf (no `subjectId`), outside the nightly run: a model run that spends, at most $0.50, so it needs the person's approval. Any other shelf (TEAM, an EMPLOYEE) is Goliath-admin only. False when dreaming is off for the organization.

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

## Variables

- `shelf`: `SpacesMemoryShelf!` (required, one of `PERSON`, `TEAM`, `EMPLOYEE`, `CONTACT`, `PROJECT`). A shelf of the Library's Memory page (Memory v2): where a note lives. PERSON is a person's own shelf ("You"); TEAM is the organization's. PROJECT is the dev fleet's, and opens only to Goliath admins. A teammate's PERSON shelf opens to everyone, written only by them and Goliath admins.
- `subjectId`: `ID`

## Response (data, an example)

```json
{
  "spacesMutation": {
    "memoryDreamNow": true
  }
}
```

## 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": "queueMemoryDream",
    "variables": {
      "shelf": "PERSON"
    }
  }'
```
