---
title: "Операции: куда ушёл каждый рубль"
method: GET
path: "/usage/operations"
tags: ["Account"]
---

# Операции: куда ушёл каждый рубль

`GET /usage/operations`

## Request

- Base URL: `https://vibemarketolog.ru/api/agent`
- URL: `https://vibemarketolog.ru/api/agent/usage/operations`
- Auth: HTTP bearer

Каждая платная операция со своими возвратами — в том числе то, чего нет в /generations: Вордстат, Директ, лендинги, тексты, живой голос. Курсорная пагинация от новых к старым.

## Query parameters

- `scope` 'key' | 'api'
- `days` 0 | 1 | 7 | 30 | 90
- `period` 'today' | 'week' | 'month'
- `category` 'text' | 'image' | 'video' | 'audio' | 'live' | 'wordstat' | 'direct' | 'landing' | 'chatbot' | 'presentation' | 'server' | 'other'
- `cursor` string
- `limit` integer

## Response `200`

Operations

- object
  - `scope` string
  - `days` integer
  - `tz` string
  - `next_cursor` string, nullable
  - `operations` object[]
    - `id` integer
    - `at` string, date-time
    - `kind` 'charge' | 'refund'
    - `key` object
      - `id` integer, nullable
      - `name` string, nullable
    - `category` string
    - `category_label` string
    - `title` string
    - `model` string, nullable
    - `call` string, nullable
    - `charged` number
    - `refunded` number
    - `spent` number
    - `bonus` number
    - `refunds` object[]
      - `amount` number
      - `text` string
      - `at` string
    - `generation_id` integer, nullable
    - `transaction_id` integer
    - `request_id` string, nullable
    - `restored` boolean: Операция до 02.10.2026: ключ определён по журналу запросов

## Other responses

- `401`: Ключ не передан, недействителен, отозван или истёк (missing_token / invalid_token)
- `403`: У ключа нет нужного права либо адрес запроса не в списке разрешённых (insufficient_scope / ip_not_allowed)
- `422`: Неверный параметр
- `429`: Превышена частота запросов или суточный лимит траты ключа (rate_limit_exceeded / daily_spend_limit_exceeded)

---

[API](https://skmtc.dev/vibemarketolog/apis/agent-api.md) · [All operations](https://skmtc.dev/vibemarketolog/apis/agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibemarketolog/apis/agent-api/revisions/6a74f8ad5d58?raw)
