How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Ask Sage Superadmin API

Superadmin system operations

Ask Sage Superadmin API is one of 32 APIs that Ask Sage publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Superadmin. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 56 operations across 56 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, {baseUrl}/server.

56 operations 56 paths 2 schemas 1 GET53 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://api.asksage.ai/server
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Ask Sage Superadmin API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-access-tokens (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — JWT authentication token. Obtain a token by calling the User API endpoint /user/get-token-with-api-key with your email and API key.

Paths & Operations 56

Across 56 paths, the API surfaces 56 operations — 1 GET, 53 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Superadmin 56

Superadmin system operations

POST
/superadmin-get-all-users-with-tokens
Get all users with token info (superadmin)
body → 200
POST
/superadmin-export-users-csv
Export all users to CSV (superadmin)
→ 200
POST
/superadmin-get-users
Get users (superadmin)
body → 200
POST
/superadmin-get-user-count
Get total user count (superadmin)
body → 200
POST
/superadmin-get-stats
Get system statistics (superadmin)
→ 200
POST
/superadmin-get-token-stats
Get token usage statistics (superadmin)
→ 200
POST
/superadmin-get-all-logs
Get system logs (superadmin)
body → 200
POST
/superadmin-update-user-verified
Verify user email (superadmin)
body → 200
POST
/superadmin-update-user-banned
Ban/unban user (superadmin)
body → 200
POST
/superadmin-update-user-paid
Update user paid status (superadmin)
body → 200
POST
/superadmin-update-user-admin
Grant/revoke admin privileges (superadmin)
body → 200
POST
/superadmin-update-user-tokens
Update user token limit (superadmin)
body → 200
POST
/superadmin-update-user-train-tokens
Update user training token limit (superadmin)
body → 200
POST
/superadmin-change-email
Change user email (superadmin)
body → 200
POST
/superadmin-assign-payer
Assign payer email to user (superadmin)
body → 200
POST
/superadmin-deassign-organization
Remove user from organization (superadmin)
body → 200
POST
/superadmin-cuimfa
Enable/disable CUI MFA authorization (superadmin)
body → 200
POST
/superadmin-delete-last-chatsession
Delete user's last chat session (superadmin)
body → 200
POST
/superadmin-reset-mfa
Reset user MFA (superadmin)
body → 200
POST
/superadmin-reset-cac
Reset user CAC (superadmin)
body → 200
POST
/superadmin-reset-pw
Reset user password (superadmin)
body → 200
POST
/superadmin-assign-dataset
Assign dataset to user (superadmin)
body → 200
POST
/superadmin-deassign-dataset
Remove dataset from user (superadmin)
body → 200
POST
/superadmin-get-dataset
Get user datasets (superadmin)
body → 200
POST
/superadmin-delete-all-dataset
Delete dataset from all users (superadmin)
body → 200
POST
/superadmin-assign-persona
Assign persona to user (superadmin)
body → 200
POST
/superadmin-assign-plugin
Assign plugin to user (superadmin)
body → 200
POST
/superadmin-get-user-api-keys
Get user API keys (superadmin)
body → 200
POST
/superadmin-user-api-key
Create API key for user (superadmin)
body → 200
POST
/superadmin-get-all-organizations
Get all organizations (superadmin)
→ 200
POST
/superadmin-add-organization
Add new organization (superadmin)
body → 200
PUT
/superadmin-update-organization/{organization_id}
Update organization (superadmin)
1 param body → 200
GET
/superadmin-get-organization/{organization_id}
Get organization details (superadmin)
1 param → 200
POST
/superadmin-assign-users-to-organization
Assign users to organization (superadmin)
body → 200
POST
/superadmin-add-organization-purchase
Add organization purchase (superadmin)
body → 200
PUT
/superadmin-update-organization-purchase/{purchase_id}
Update organization purchase (superadmin)
1 param body → 200
POST
/superadmin-get-organization-purchases/{organization_id}
Get organization purchases (superadmin)
1 param → 200
POST
/superadmin-update-sales
Import sales data from Excel (superadmin)
body → 200
POST
/superadmin-export-weekly-reports
Export weekly organization report (superadmin)
body → 200
POST
/superadmin-export-weekly-model-usage-csv
Export model usage report (superadmin)
body → 200
POST
/superadmin-allocation-policy-get
Get allocation policy (superadmin)
body → 200
POST
/superadmin-allocation-policy-update
Update allocation policy (superadmin)
body → 200
POST
/superadmin-token-distribution-preview
Preview token distribution (superadmin)
body → 200
POST
/superadmin-token-distribution-execute
Execute token distribution (superadmin)
body → 200
POST
/superadmin-allocation-dashboard
Get allocation dashboard (superadmin)
body → 200
POST
/superadmin-get-all-datasets
Get all datasets (superadmin)
body → 200
POST
/superadmin-get-dataset-files
Get dataset files (superadmin)
body → 200
POST
/superadmin-get-dataset-statistics
Get dataset statistics (superadmin)
→ 200
POST
/superadmin-get-dataset-details
Get dataset details (superadmin)
body → 200
POST
/superadmin-export-datasets-csv
Export datasets to CSV (superadmin)
→ 200
POST
/superadmin-get-analytics-data
Get analytics data (superadmin)
body → 200
POST
/superadmin-export-label-usage-csv
Export label usage to CSV (superadmin)
→ 200
POST
/superadmin-get-token-requests
Get token requests (superadmin)
body → 200
POST
/superadmin-review-token-request
Review token request (superadmin)
body → 200
POST
/superadmin-total-purchased-tokens-organization
Get total purchased tokens for organization (superadmin)
body → 200
POST
/superadmin-used-tokens-for-organization
Get used tokens for organization (superadmin)
body → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Organization (12 properties), OrganizationPurchase (8 properties). Each schema is shown below with its type and property counts.

Organization
object
12 properties
OrganizationPurchase
object
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ask-sage-superadmin-api-openapi.yml Raw ↑

Other APIs Ask Sage publishes across the network.

Ask Sage Admin API
Ask Sage Agent Builder API
Ask Sage Allocation API
Ask Sage API Key Management API
Ask Sage Audio API
Ask Sage Authentication API
Ask Sage Chat Management API
Ask Sage Completions API
Ask Sage Configuration API
Ask Sage Dataset Management API
Ask Sage Datasets API
Ask Sage Deep Agent API
Where this information came from

This is an independent, third-party profile of Ask Sage Superadmin API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.