---
title: "enroll organization in AI Gateway"
method: POST
path: "/llm_gateway_configurations"
tags: ["LlmGatewayConfigurations"]
---

# enroll organization in AI Gateway

`POST /llm_gateway_configurations`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/llm_gateway_configurations`
- Auth: API key in header `Authorization`

Enrolls an organization in the AI Gateway service, creating a new LLM Gateway configuration.

## Query parameters

- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Request body

- CreateLlmGatewayConfigurationRequest
  - `organization_id` string, required: The organization to enroll

## Response `200`

already enrolled (idempotent)

- LlmGatewayConfiguration
  - `id` integer, required: Database ID of the LLM Gateway Configuration
  - `_type` string, required
  - `organization_id` string, required: The organization this configuration belongs to
  - `team_id` string, required: The LiteLLM team ID for this organization
  - `trial` boolean, required: Whether the organization is on a trial AI Gateway plan
  - `spend_limit` string, required: Monthly spend limit in USD (decimal, serialized as string)
  - `models` string[], required: List of permitted model identifiers
  - `created_at` string, dateTime, required
  - `updated_at` string, dateTime, required
  - `_links` LlmGatewayConfigurationLinks
    - `self` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri

## Other responses

- `201`: enrolled
- `default`: Error response. Often a 4xx or 5xx status code

## Changes

- **2026-07-24** `1dc1e5b8c6eb`: 2 info
  - added the new optional `header` request parameter `Prefer`
  - added the new optional `query` request parameter `no_embed`
- **2026-07-15** `5c71f4c63067`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/llm_gateway_configurations/post.md)

---

[API](https://skmtc.dev/aptible/apis/aptible-api-v1.md) - [All operations](https://skmtc.dev/aptible/apis/aptible-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/aptible/apis/aptible-api-v1/revisions/a21f6b1bc6fe?raw)
