# listRecentSpaceItems

The "Recent" view: files you can see (pages and documents included), most recently CHANGED first, `limit` of them (default 100, at most 200), each with `createdAt` and `createdBy`. "What did I make yesterday / this week": `mine: true` (files the person owns: theirs, or made for them in their chats) with `createdAfter` / `createdBefore` at the window's edges in their time zone; count every row, and never present `updatedAt` as when a file was made. With `mine` or a window, only a full page (`limit` rows) can mean more.

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

## Variables

- `limit`: `Int` (default `100`)
- `createdAfter`: `DateTime`
- `createdBefore`: `DateTime`
- `mine`: `Boolean`

## Response (data, an example)

```json
{
  "spacesQuery": {
    "recent": [
      {
        "id": "<ID>",
        "name": "…",
        "catalogKind": "…",
        "createdBy": {
          "label": "…"
        },
        "path": [
          {
            "name": "…"
          }
        ],
        "createdAt": "2026-01-01T00:00:00.000Z",
        "updatedAt": "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": "listRecentSpaceItems",
    "variables": {}
  }'
```
