---
title: "Get a workflow's performance statistics"
method: GET
path: "/workflows/{workflow_id}/stats"
tags: ["Workflows"]
---

# Get a workflow's performance statistics

`GET /workflows/{workflow_id}/stats`

## Request

- Base URL: `https://api.indexone.io`
- URL: `https://api.indexone.io/workflows/{workflow_id}/stats`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

**PLANNED — this route does not exist.** Today the only workflow-plane equivalent is the MCP `get_index_stats` tool.

The intent is the same statistics surface (returns, volatility, Sharpe, Sortino, max drawdown, period returns) computed over an `idx_...` index's value series.

## Path parameters

- `workflow_id` string, required

## Query parameters

- `returns` string
- `volatility` string
- `sharpe` string

## Response `200`

Intended response: the requested statistics.

- object

## Other responses

- `401`: Missing or invalid id token.
- `403`: Caller's teams do not own this workflow.
- `404`: No such workflow.
- `429`: API key usage-plan rate limit exceeded.

---

[API](https://skmtc.dev/indexone/apis/index-one-rest-api.md) · [All operations](https://skmtc.dev/indexone/apis/index-one-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/indexone/apis/index-one-rest-api/revisions/df5a92216a9c?raw)
