---
title: "Rotation"
method: GET
path: "/v1/rotation"
tags: ["rotation"]
---

# Rotation

`GET /v1/rotation`

## Request

- Base URL: `https://api.rayana.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rayana.ai/v1/rotation`
- Auth: none declared

The persisted rotation series: latest per-cluster quadrant/rank rows
(with deltas), rank trajectories, and quadrant-crossing events.

``include_trajectory=false`` and ``events_limit`` trim the two blocks that
carry 80% of the bytes; both default to the full payload, so the web view
and every existing caller are untouched.

## Query parameters

- `days` integer
- `include_trajectory` boolean
- `events_limit` integer, nullable

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- RotationResponse
  - `latest` ClusterMomentumRow[], required
    - `id` integer, nullable
    - `recorded_at` string, nullable
    - `snapshot_date` string, nullable
    - `asof` string, nullable
    - `cluster_name` string, required
    - `n_members` integer, nullable
    - `mom_5d` number, nullable
    - `mom_20d` number, nullable
    - `mom_60d` number, nullable
    - `rs_ratio` number, nullable
    - `rs_mom` number, nullable
    - `quadrant` string, nullable
    - `rank` integer, nullable
    - `rank_pct` number, nullable
    - `breadth` number, nullable
    - `cohesion` number, nullable
    - `rank_prev` integer, nullable
    - `quadrant_prev` string, nullable
    - `rank_delta` integer, nullable
  - `asof` string, nullable
  - `prior_date` string, nullable
  - `trajectory` ClusterTrajectory[], required
    - `cluster` string, required
    - `series` ClusterTrajectoryPoint[], required
      - `date` string, required
      - `rank` integer, nullable
  - `events` ClusterRotationEvent[], required
    - `date` string, required
    - `cluster` string, required
    - `from` string, nullable
    - `to` string, nullable
    - `flow` string, required
  - `snapshots` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rayana/apis/orca-api.md) · [All operations](https://skmtc.dev/rayana/apis/orca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rayana/apis/orca-api/revisions/ef0e2be9d10a?raw)
