Ask Sage Allocation API

Token allocation and distribution policies

Operations 5

POST /admin-allocation-policy-get Get allocation policy (admin) #
POST /admin-allocation-policy-update Update allocation policy (admin) #
POST /admin-token-distribution-preview Preview token distribution (admin) #
POST /admin-token-distribution-execute Execute token distribution (admin) #
POST /admin-allocation-dashboard Get allocation dashboard (admin) #

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-allocation-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-allocation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ask Sage User Allocation API
  description: Ask Sage User API for account management, organization administration, billing, and platform configuration.
  version: '2.0'
  contact:
    name: Ask Sage 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:
- name: Allocation
  description: Token allocation and distribution policies
paths:
  /admin-allocation-policy-get:
    post:
      summary: Get allocation policy (admin)
      tags:
      - Allocation
      responses:
        '200':
          description: Policy retrieved
      operationId: postAdminAllocationPolicyGet
      x-operation-id-source: derived
  /admin-allocation-policy-update:
    post:
      summary: Update allocation policy (admin)
      tags:
      - Allocation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                strategy:
                  type: string
                percentage:
                  type: number
                fixed_amount:
                  type: integer
                min_allocation:
                  type: integer
                max_allocation:
                  type: integer
      responses:
        '200':
          description: Policy updated
      operationId: postAdminAllocationPolicyUpdate
      x-operation-id-source: derived
  /admin-token-distribution-preview:
    post:
      summary: Preview token distribution (admin)
      tags:
      - Allocation
      responses:
        '200':
          description: Distribution preview
      operationId: postAdminTokenDistributionPreview
      x-operation-id-source: derived
  /admin-token-distribution-execute:
    post:
      summary: Execute token distribution (admin)
      tags:
      - Allocation
      responses:
        '200':
          description: Distribution executed
      operationId: postAdminTokenDistributionExecute
      x-operation-id-source: derived
  /admin-allocation-dashboard:
    post:
      summary: Get allocation dashboard (admin)
      tags:
      - Allocation
      responses:
        '200':
          description: Dashboard data retrieved
      operationId: postAdminAllocationDashboard
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-tokens
      description: JWT authentication token. Obtain a token by calling `/get-token-with-api-key` with your email and 64-character API key. Some admin and superadmin endpoints also require an email address in the request body to identify the target user.