Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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 KeyNote 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.

AIMLAPI API Key Management API is one of 10 APIs that AIMLAPI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include API Key Management. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

This API exposes 2 operations across 2 paths. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against a single base URL, http://{{baseurl}}.

2 operations 2 paths 0 schemas 2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Server
http://{{baseurl}}
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

AIMLAPI API Key Management API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 2

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

API Key Management 2

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 w…

PUT
/api-keys/{id}/disable
AIMLAPI Disable API Key
1 param body → 200
PUT
/api-keys/{id}/enable
AIMLAPI Enable API Key
1 param body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

aimlapi-api-key-management-api-openapi.yml Raw ↑

Other APIs AIMLAPI publishes across the network.

AIMLAPI Assistants API
AIMLAPI Chat API
AIMLAPI Images API
AIMLAPI Models API
AIMLAPI Threads API
AIMLAPI Threads > Messages API
AIMLAPI Threads > Runs API
AIMLAPI Voice API
AIMLAPI [WIP] Completions API