---
title: "Get All Users"
method: GET
path: "/api/v1/admin/users"
tags: ["Admin"]
---

# Get All Users

`GET /api/v1/admin/users`

## Request

- Base URL: `https://api.freeastroapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.freeastroapi.com/api/v1/admin/users`
- Auth: none declared

## Query parameters

- `page` integer
- `per_page` integer
- `sort_by` string
- `order` string
- `status` string, nullable
- `plan` string, nullable
- `min_requests` integer, nullable
- `last_active_days` integer, nullable
- `search` string, nullable

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- PaginatedUsersResponse
  - `items` UserStats[], required
    - `user_id` string, required
    - `email` string, required
    - `signup_date` string, required
    - `plan_name` string, required
    - `subscription_status` string, required
    - `api_key_prefix` string, nullable
    - `total_requests` integer, required
    - `last_active` string, nullable
    - `email_verified` boolean, required
    - `job_responsibility` string, nullable
    - `primary_goal` string, nullable
    - `custom_goal` string, nullable
    - `has_upgrade_click` boolean
    - `ip_address` string, nullable
    - `country_code` string, nullable
    - `liked_api` boolean, nullable
    - `specific_needs` string, nullable
    - `skipped_feedback` boolean, nullable
  - `page` integer, required
  - `per_page` integer, required
  - `total_count` integer, required
  - `total_pages` integer, required
  - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/freeastroapi/apis/astroservice-api.md) · [All operations](https://skmtc.dev/freeastroapi/apis/astroservice-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freeastroapi/apis/astroservice-api/revisions/0c9b4a759522?raw)
