Aptible Llm Gateway Configurations API
The LlmGatewayConfigurations API from Aptible — 2 operation(s) for llmgatewayconfigurations.
The LlmGatewayConfigurations API from Aptible — 2 operation(s) for llmgatewayconfigurations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/aptible-llmgatewayconfigurations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: Aptible Llm Gateway Configurations API
version: v1
contact:
email: support@aptible.com
description: 'Operations tagged LlmGatewayConfigurations across 2 of this provider''s published API definitions: aptible-deploy-openapi-original.yml, aptible-llmgatewayconfigurations-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: '{baseUrl}'
variables:
baseUrl:
default: https://api.aptible.com
description: Override for local or test environments
security:
- token: []
tags:
- name: LlmGatewayConfigurations
paths:
/llm_gateway_configurations:
get:
description: Returns a list of LLM Gateway configurations, optionally filtered by organization.
operationId: ListLlmGatewayConfigurations
parameters:
- description: Filter by organization ID
explode: true
in: query
name: organization_id
required: false
schema:
type: string
style: form
- description: 'When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.'
explode: true
in: query
name: no_embed
required: false
schema:
type: boolean
style: form
- description: When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.
explode: false
in: header
name: Prefer
required: false
schema:
enum:
- no_sensitive_extras=true
type: string
style: simple
responses:
'200':
content:
application/hal+json:
schema:
$ref: '#/components/schemas/ListLlmGatewayConfigurations_200_response'
description: successful
default:
content:
application/hal+json:
schema:
$ref: '#/components/schemas/error'
description: Error response. Often a 4xx or 5xx status code
summary: list llm_gateway_configurations
tags:
- LlmGatewayConfigurations
post:
description: Enrolls an organization in the AI Gateway service, creating a new LLM Gateway configuration.
operationId: CreateLlmGatewayConfiguration
parameters:
- description: 'When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.'
explode: true
in: query
name: no_embed
required: false
schema:
type: boolean
style: form
- description: When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.
explode: false
in: header
name: Prefer
required: false
schema:
enum:
- no_sensitive_extras=true
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateLlmGatewayConfiguration_request'
responses:
'201':
content:
application/hal+json:
schema:
$ref: '#/components/schemas/llm_gateway_configuration'
description: enrolled
'200':
content:
application/hal+json:
schema:
$ref: '#/components/schemas/llm_gateway_configuration'
description: already enrolled (idempotent)
default:
content:
application/hal+json:
schema:
$ref: '#/components/schemas/error'
description: Error response. Often a 4xx or 5xx status code
summary: enroll organization in AI Gateway
tags:
- LlmGatewayConfigurations
servers:
- url: '{baseUrl}'
variables:
baseUrl:
default: https://api.aptible.com
description: Override for local or test environments
/llm_gateway_configurations/{id}:
patch:
description: Partially updates an LLM Gateway configuration's attributes.
operationId: UpdateLlmGatewayConfiguration
parameters:
- description: LLM Gateway Configuration database ID
explode: false
in: path
name: id
required: true
schema:
type: integer
style: simple
- description: 'When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.'
explode: true
in: query
name: no_embed
required: false
schema:
type: boolean
style: form
- description: When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.
explode: false
in: header
name: Prefer
required: false
schema:
enum:
- no_sensitive_extras=true
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateLlmGatewayConfiguration_request'
responses:
'200':
content:
application/hal+json:
schema:
$ref: '#/components/schemas/llm_gateway_configuration'
description: successful
'422':
content:
application/hal+json:
schema:
$ref: '#/components/schemas/error'
description: spend_limit cannot be updated on a trial configuration
default:
content:
application/hal+json:
schema:
$ref: '#/components/schemas/error'
description: Error response. Often a 4xx or 5xx status code
summary: update llm_gateway_configuration
tags:
- LlmGatewayConfigurations
servers:
- url: '{baseUrl}'
variables:
baseUrl:
default: https://api.aptible.com
description: Override for local or test environments
components:
schemas:
ListLlmGatewayConfigurations_200_response:
properties:
_embedded:
$ref: '#/components/schemas/ListLlmGatewayConfigurations_200_response__embedded'
_links:
type: object
type: object
ListAccountsForStack_200_response__links_stack:
properties:
href:
format: uri
type: string
type: object
llm_gateway_configuration:
properties:
id:
description: Database ID of the LLM Gateway Configuration
type: integer
_type:
type: string
organization_id:
description: The organization this configuration belongs to
type: string
team_id:
description: The LiteLLM team ID for this organization
type: string
trial:
description: Whether the organization is on a trial AI Gateway plan
type: boolean
spend_limit:
description: Monthly spend limit in USD (decimal, serialized as string)
type: string
models:
description: List of permitted model identifiers
items:
type: string
type: array
created_at:
format: dateTime
type: string
x-nullable: true
updated_at:
format: dateTime
type: string
x-nullable: true
_links:
$ref: '#/components/schemas/llm_gateway_configuration__links'
required:
- _type
- created_at
- id
- models
- organization_id
- spend_limit
- team_id
- trial
- updated_at
ListLlmGatewayConfigurations_200_response__embedded:
properties:
llm_gateway_configurations:
items:
$ref: '#/components/schemas/llm_gateway_configuration'
type: array
type: object
llm_gateway_configuration__links:
properties:
self:
$ref: '#/components/schemas/ListAccountsForStack_200_response__links_stack'
type: object
error:
properties:
code:
type: integer
error:
type: string
message:
type: string
required:
- code
- error
- message
type: object
UpdateLlmGatewayConfiguration_request:
properties:
spend_limit:
description: New monthly spend limit in USD
type: number
type: object
CreateLlmGatewayConfiguration_request:
properties:
organization_id:
description: The organization to enroll
type: string
required:
- organization_id
type: object
securitySchemes:
token:
in: header
name: Authorization
type: apiKey
x-refined-from:
- aptible-deploy-openapi-original.yml
- aptible-llmgatewayconfigurations-api-openapi.yml