AIMLAPI API Key Management API

## **Creating an API Key** To create a new API key Sign-ip to [app.aimlapi.com](https://app.aimlapi.com), navigate to Key Management page and create an API Key Note that your Keys only work with an Active Subscription ## **Disabling an API Key** If you need to revoke access temporarily, disable an API key by: - Sending a PUT request to `/service/api-keys/{id}/disable`, replacing `{id}` with the key's unique identifier. - This will change the key's status to inactive. ## **Enabling an API Key** To restore access using a previously disabled API key: - Send a PUT request to `/service/api-keys/{id}/enable`, replacing `{id}` with the key's unique identifier. - The key's status will be updated to active. ## **Best Practices** - Regularly review and manage your API keys to ensure optimal security. - Use separate keys for different services or environments to limit the scope of access. - Rotate your API keys periodically to reduce the risk of unauthorized use. By effectively managing your API keys, you maintain control over who can access your AI/ML API services and safeguard your resources.

Operations 2

PUT /api-keys/{id}/disable AIMLAPI Disable API Key #
PUT /api-keys/{id}/enable AIMLAPI Enable 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/aimlapi-api-key-management-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

aimlapi-api-key-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AIMLAPI AI/ML API Documentation API Key Management API
  description: '=K Welcome to the AI/ML API docs! AI/ML API makes integrating state-of-the-art AI models into your applications effortless, offering seamless compatibility with OpenAI-like interfaces.


    **Features Include:**


    - **Inference**: Easily evaluate models for text, images, and more using our API.


    - **API Key Management**: Securely manage your API keys for controlled access.


    - **Broad Model Selection**: Access a diverse range of models for various AI tasks.


    See Quickstart'
  version: 1.0.0
servers:
- url: https://api.aimlapi.com
security:
- bearerAuth: []
tags:
- name: API Key Management
  description: '## **Creating an API Key**


    To create a new API key Sign-ip to app.aimlapi.com, navigate to Key Management page and create an API Key


    Note that your Keys only work with an Active Subscription


    ## **Disabling an API Key**


    If you need to revoke access temporarily, disable an API key by:


    - Sending a PUT request to `/service/api-keys/{id}/disable`, replacing `{id}` with the key''s unique identifier.'
paths:
  /api-keys/{id}/disable:
    put:
      tags:
      - API Key Management
      summary: AIMLAPI Disable API Key
      requestBody:
        content: {}
      parameters:
      - name: id
        in: path
        schema:
          type: string
        required: true
        description: '(Required) '
        example: <number>
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
              example: ''
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      operationId: putApiKeysByIdDisable
      x-operation-id-source: derived
  /api-keys/{id}/enable:
    put:
      tags:
      - API Key Management
      summary: AIMLAPI Enable API Key
      requestBody:
        content: {}
      parameters:
      - name: id
        in: path
        schema:
          type: string
        required: true
        description: '(Required) '
        example: <number>
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
              example: ''
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      operationId: putApiKeysByIdEnable
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer