# Read a record timeline

## `GET /v1/records/{id}/timeline`

Requires the `read` scope.

```json
{
  "tags": [
    "Retrieval"
  ],
  "operationId": "get-timeline",
  "summary": "Read a record timeline",
  "description": "Requires the `read` scope.",
  "x-retainer-scope": "read",
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "description": "Retainer identifier.",
      "example": "d2c0648c-2994-4f16-bdf1-a0136be6037d",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "limit",
      "in": "query",
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 200,
        "default": 50
      },
      "description": "Maximum items in this page."
    },
    {
      "name": "cursor",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "The opaque nextCursor from the previous page."
    },
    {
      "name": "types",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "Comma-separated timeline item types."
    },
    {
      "name": "fields",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "Comma-separated field API names."
    },
    {
      "name": "eventTypes",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "Comma-separated event type API names."
    },
    {
      "name": "from",
      "in": "query",
      "schema": {
        "type": "string",
        "format": "date-time"
      },
      "description": "Start of the time range."
    },
    {
      "name": "to",
      "in": "query",
      "schema": {
        "type": "string",
        "format": "date-time"
      },
      "description": "End of the time range."
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/TimelinePage"
          }
        }
      }
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "default": {
      "$ref": "#/components/responses/ApiError"
    }
  }
}
```

[Full OpenAPI contract](/openapi.json)
