Ask Sage Organization API

Organization management

Operations 27

POST /admin-total-purchased-tokens-organization Get total purchased tokens for organization #
POST /admin-used-tokens-for-organization Get used tokens for organization #
POST /superadmin-deassign-organization Remove user from organization (superadmin) #
POST /superadmin-get-all-organizations Get all organizations (superadmin) #
POST /superadmin-add-organization Add new organization (superadmin) #
PUT /superadmin-update-organization/{organization_id} Update organization (superadmin) #
GET /superadmin-get-organization/{organization_id} Get organization details (superadmin) #
POST /superadmin-assign-users-to-organization Assign users to organization (superadmin) #
POST /superadmin-add-organization-purchase Add organization purchase (superadmin) #
PUT /superadmin-update-organization-purchase/{purchase_id} Update organization purchase (superadmin) #
POST /superadmin-get-organization-purchases/{organization_id} Get organization purchases (superadmin) #
POST /superadmin-total-purchased-tokens-organization Get total purchased tokens for organization (superadmin) #
POST /superadmin-used-tokens-for-organization Get used tokens for organization (superadmin) #
POST /admin-get-organization-policies Get organization policies (admin) #
POST /admin-update-organization-policy Update organization policy (admin) #
POST /admin-get-organization-settings Get organization settings (admin) #
PUT /admin-update-organization-settings Update organization settings (admin) #
PUT /admin-update-organization-limit-ips Update organization IP allow-list (admin) #
POST /superadmin-get-organization-policies/{org_id} Get organization policies (superadmin) #
GET /superadmin-get-organization-settings/{organization_id} Get organization settings (superadmin) #
POST /superadmin-organization-ext-oauth-config/{org_id} Organization ext oauth config (superadmin) #
GET /superadmin-organization-ext-oauth-list/{org_id} Organization ext oauth list (superadmin) #
POST /superadmin-organization-ext-oauth-update/{org_id} Organization ext oauth update (superadmin) #
PUT /superadmin-update-organization-limit-ips/{organization_id} Update organization limit ips (superadmin) #
POST /superadmin-update-organization-policy/{org_id} Update organization policy (superadmin) #
PUT /superadmin-update-organization-settings/{organization_id} Update organization settings (superadmin) #
PUT /superadmin-set-cui-authorized-sso/{organization_id} Set CUI authorized SSO (superadmin) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ask-sage:ask-sage-organization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ask-sage-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ask Sage User API — Full Response Reference Organization API
  description: 'Ask Sage User API for account management, organization administration, billing, and platform configuration.


    ## Base URL

    `https://api.asksage.ai/user`


    ## Authentication

    Most endpoints require a valid JWT token sent in the `x-access-tokens` HTTP header. Secured endpoints show a padlock in Swagger UI / Redoc — click **Authorize** and paste your token once to apply it to every request.


    Get a token from `/get-token-with-api-key` (your email + 64-character API key), then send it on each call:


    `x-access-tokens: `


    **No token required:** `/get-token-with-api-key`, `/register`, `/verify-email`, `/lost-pass`, and `GET /get-headers`.


    Beyond a valid token, admin (`admin-*`) and superadmin (`superadmin-*`) endpoints require the caller to hold the matching role, and many identify the target user via an `email` field in the request body.

    ## Key Features

    - **User Management** — Profile updates, API key management, login history

    - **Chat Sessions** — Create, retrieve, and manage conversation history

    - **Dataset Management** — Create datasets, manage permissions and assignments

    - **Workbooks** — Organize research with sources and memos

    - **Organization Admin** — User management, token allocation, usage reporting

    - **Superadmin** — Platform-wide administration and analytics'
  version: '2.0'
  contact:
    name: Support
    email: support@asksage.ai
    url: https://asksage.ai
servers:
- url: '{baseUrl}/user'
  description: Ask Sage User API
  variables:
    baseUrl:
      default: https://api.asksage.ai
      description: API base URL. Use https://api.asksage.ai for production, or your self-hosted instance URL.
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (48 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/ask-sage/refs/heads/main/openapi/ask-sage-organization-api-openapi.yml