> For the complete documentation index, see [llms.txt](https://clients.medianova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clients.medianova.com/api-documentation/analytics/stook-analytics.md).

# Stook Analytics

Access Stook Object Storage analytics endpoints for usage metrics, request activity, error rates, bucket statistics, and access logs.

Use the Stook Analytics API to retrieve aggregated metrics, analyze request and error trends, compare bucket performance, and query object storage access logs.

### Overview

Retrieve aggregated usage metrics and available filter definitions.

{% openapi src="/files/xcJycHl7dc1WPJfrGKnq" path="/api/v2/stook/overview" method="post" %}
[stook-overview.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-b54e6bf34bf48d756e0ece3d6ba8de092efa2c9f%2Fstook-overview.json?alt=media)
{% endopenapi %}

{% openapi src="/files/9kXzbajVEBgAvah4OcKD" path="/api/v2/stook/filters" method="post" %}
[stook-filters.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-20a836b5bdd652631f1a709ee0dc819420a610d5%2Fstook-filters.json?alt=media)
{% endopenapi %}

### Request and Error Analytics

Retrieve time-series request counts and HTTP 4xx/5xx error ratios.

{% openapi src="/files/PiFhmN6EX7BMdKuXCyMK" path="/api/v2/stook/request\_histogram" method="post" %}
[stook-request-histogram.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-ee5dc2d1db25ec28ddf4c9f9d67637aad6ff8aa3%2Fstook-request-histogram.json?alt=media)
{% endopenapi %}

{% openapi src="/files/kTJLzdO5gqzYSAGUceDA" path="/api/v2/stook/error\_ratio\_histogram" method="post" %}
[stook-error-ratio-histogram.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-5ac080a1b4cc2f2d162e9fbf3003f54908b05695%2Fstook-error-ratio-histogram.json?alt=media)
{% endopenapi %}

### Storage and Bucket Analytics

Retrieve time-series metrics grouped by bucket, endpoint, HTTP method, or country. Access bucket-level statistics and failure-rate trends.

{% openapi src="/files/yg1ScVgdFdG0bv12F2Jw" path="/api/v2/stook/charts" method="post" %}
[stook-charts.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-2f56fc46cbdc8bfc0e216e7e52f50144ad982235%2Fstook-charts.json?alt=media)
{% endopenapi %}

{% openapi src="/files/D0eFS9WimiE6icppnVuv" path="/api/v2/stook/bucket\_details" method="post" %}
[stook-bucket-details.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-9a39c7f6231a490c6c63f7c418e4f7691d534ce4%2Fstook-bucket-details.json?alt=media)
{% endopenapi %}

{% openapi src="/files/aVl39yFPHCbQPEMU7xkR" path="/api/v2/stook/failure\_rate\_per\_bucket" method="post" %}
[stook-failure-rate-per-bucket.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-5dd9a04bf6f8c413d71e823e28b176bdabc13d03%2Fstook-failure-rate-per-bucket.json?alt=media)
{% endopenapi %}

### Access Logs

Retrieve paginated object storage access logs with filtering and sorting options.

{% openapi src="/files/GQ625JoGPx6QRALv51DJ" path="/api/v2/stook/raw\_logs" method="post" %}
[stook-raw-logs.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fgit-blob-3c852fb4a145737cbaf54b0e497a024c937ce0e4%2Fstook-raw-logs.json?alt=media)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://clients.medianova.com/api-documentation/analytics/stook-analytics.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
