Ondemand User API

The User API from Ondemand — 2 operation(s) for user.

Operations 2

POST /user/v1/public/user/apiKey/create Generate a REST API key #
DELETE /user/v1/public/user/apiKey/revoke/{apiKeyId} Delete a REST API key #

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/ondemand-user-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

ondemand-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OnDemand AI Chat User API
  version: 1.0.0
  description: OnDemand AI is a RAG-powered AI Platform-as-a-Service. This OpenAPI definition was assembled by the API Evangelist enrichment pipeline from the per-operation OpenAPI fragments published on the OnDemand AI ReadMe documentation (https://docs.on-demand.io/reference).
servers:
- url: https://api.on-demand.io
- url: https://api.on-demand.io/automation/api
- url: https://api.on-demand.io/services/v1/public/service
- url: https://gateway-dev.on-demand.io
security:
- apikey: []
tags:
- name: User
paths:
  /user/v1/public/user/apiKey/create:
    post:
      summary: Generate a REST API key
      operationId: generateApiKey
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                key:
                  type: object
                  properties:
                    name:
                      type: string
                      description: Name or purpose of the API key
                      example: For dev env testing
                  required:
                  - name
              required:
              - key
      responses:
        '200':
          description: API key generated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      key:
                        type: object
                        properties:
                          id:
                            type: string
                            description: Unique identifier for the API key
                            example: 66074509feq77890dg27d1d7
                          name:
                            type: string
                            description: Name of the API key
                            example: For Local dev
                          companyId:
                            type: string
                            description: Company ID associated with the API key
                            example: 66054042a919189hsde63d40
                          key:
                            type: string
                            description: The generated API key
                            example: btvIWWWnsLug18wb1ZTASRyVxn8ssNPLL
                          status:
                            type: string
                            description: Status of the API key
                            example: active
                          last_used:
                            type: string
                            format: date-time
                            description: Last used timestamp of the API key
                            example: '0001-01-01T00:00:00Z'
                          created_at:
                            type: string
                            format: date-time
                            description: Timestamp when the API key was created
                            example: '2024-03-28T15:53:05+05:30'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Invalid request message
                    example: Invalid request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Unauthorized message
                    example: Unauthorized
        '500':
          description: Server error
      security:
      - ApiKeyAuth: []
      tags:
      - User
  /user/v1/public/user/apiKey/revoke/{apiKeyId}:
    delete:
      summary: Delete a REST API key
      operationId: deleteApiKey
      parameters:
      - name: apiKeyId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the API key to delete
      responses:
        '200':
          description: API key revoked successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Success message
                    example: API key revoked successfully
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Bad request message
                    example: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: API key not found
        '500':
          description: Server error
      security:
      - ApiKeyAuth: []
      tags:
      - User
components:
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: apikey
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey