---
title: "Get User Flow Quota Dates"
method: GET
path: "/api/data/flow/self"
tags: ["Data"]
---

# Get User Flow Quota Dates

`GET /api/data/flow/self`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/data/flow/self`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Query parameters

- `start_timestamp` integer
- `end_timestamp` integer
- `username` string

## Response `200`

OK

- ResponseArrayModelFlowQuotaData: Response_Array-model.FlowQuotaData schema
  - `data` FlowQuotaData[], nullable, required
    - `channel_id` integer
    - `channel_name` string
    - `count` integer, required
    - `model_name` string, required
    - `node_name` string
    - `quota` integer, required
    - `token_id` integer
    - `token_name` string
    - `token_used` integer, required
    - `use_group` string, required
    - `user_id` integer
    - `username` string
  - `message` string, required
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
