# getAutomationMapVersion

One earlier version of the Map (`pageId`, `version`), with the `story` it was written with.

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

## Variables

- `pageId`: `ID!` (required)
- `version`: `Int!` (required)

## Response (data, an example)

```json
{
  "automationPagesQuery": {
    "page": {
      "id": "<ID>",
      "version": 0,
      "story": "…",
      "note": "…",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "authorName": "…"
    }
  }
}
```

## Example

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