# Performance Statistics

This section documents the Flashback API’s statistics endpoints:

* **Storage statistics** (`/stats/daily`, `/stats/minute`) — daily and minute-level insights into storage activity across buckets and repositories, for tracking storage trends and usage analytics.
* **AI statistics** (`/aistats/daily`, `/aistats/minute`) — daily and minute-level AI/LLM usage metrics (tokens, API calls, policy violations, etc.), with optional filters by repository, user, conversation, model, and more.

{% hint style="info" %}
To perform this operation, you must be authenticated by means of one of the following methods: [BearerAuth](/support-reference/platform-api-reference.md#http-bearer-authentication).
{% endhint %}

## Performance Statistics API Calls <a href="#flashback-api-nodes" id="flashback-api-nodes"></a>

| Method                                                   | API Reference                                                                                             | Description                                                                                        |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| <mark style="color:green;">`GET`</mark>`/stats/daily`    | [**get\_\_stats\_daily**](/support-reference/platform-api-reference/statistics/get__stats_daily.md)       | Retrieve daily aggregated statistics for storage activity.                                         |
| <mark style="color:green;">`GET`</mark>`/stats/minute`   | [**get\_\_stats\_minute**](/support-reference/platform-api-reference/statistics/get__stats_minute.md)     | Retrieve high-resolution, minute-level statistics for storage operations.                          |
| <mark style="color:green;">`GET`</mark>`/aistats/daily`  | [**get\_\_aistats\_daily**](/support-reference/platform-api-reference/statistics/get__aistats_daily.md)   | Retrieve daily aggregated AI statistics for LLM usage (tokens, API calls, policy violations).      |
| <mark style="color:green;">`GET`</mark>`/aistats/minute` | [**get\_\_aistats\_minute**](/support-reference/platform-api-reference/statistics/get__aistats_minute.md) | Retrieve minute-level AI statistics for LLM usage. Filter by repo, user, conversation, model, etc. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flashback.tech/support-reference/platform-api-reference/statistics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
