List of active export requests

To get a list of all active data export requests, make the following request:

GET /logs/v1/export/get_active_queries?application_id={application_id} HTTP/1.1
Host: api.appmetrica.yandex.com
Authorization: OAuth <your_token>

where <your_token> is an OAuth token that you can obtain by following this guide, and {application_id} is the app ID.

Sample request:

GET /logs/v1/export/get_active_queries?application_id=123456
Host: api.appmetrica.yandex.com
Authorization: OAuth <your_token>

Response example:

[
  {
    "application_id": 123456,
    "create_time": "2026-06-26 16:00:41",
    "entity": 1,
    "output_format": 0,
    "request_id": "112233445566778899",
    "query": "application_id=123456&date_since=...&date_until=...&date_dimension=default&fields=...",
    "status": 0,
    "total_progress": 0.125275,
    "total_rows_loaded": 0,
    "shards_unavailable": 0
  }
]

Parameter name

Description

Sample value

application_id

App ID.

123456

create_time

Date and time when the request was created.

"2026-03-17 10:11:17"

entity

Event type. Possible values:

  • 0 — Tracking URL clicks
  • 1 — App installs
  • 2 — App events
  • 3 — Postbacks
  • 4 — Errors
  • 5 — Crashes
  • 6 — Push tokens
  • 7 — Session starts
  • 8 — Deprecated, not used
  • 9 — App openings via a deeplink
  • 10 — Revenue events
  • 11 — Notifications
  • 12 — Profiles
  • 13 — Ad Revenue events
  • 14 — Ecommerce events

5

output_format

Output format:

  • 0 — CSV
  • 1 — JSON

1

request_id

Request ID.

112233445566778899

query

Request text.

"application_id=123456&date_since=2026-02-19&date_until=2026-02-19%2023%3A59%3A57&date_dimension=default&use_utf8_bom=true&fields=error_id%2Cerror_json&skip_unavailable_shards=true"

status

Current request status. Possible values:

  • 0 — Created
  • 1 — Processed

0

total_progress

Completion rate. Value from 0 to 1.

0.99

total_rows_loaded

Number of exported data rows.

0

shards_unavailable

Indicator/share of unavailable shards.

0

If there are no active requests, an empty array [] is returned.

If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.

Contact support Suggest an improvement for documentation