How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LangWatch Gateway API

The Gateway API from LangWatch — 14 operation(s) for gateway.

LangWatch Gateway API is one of 62 APIs that LangWatch publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Gateways. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 24 operations across 14 paths. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://app.langwatch.ai.

24 operations 14 paths 0 schemas 3 DELETE8 GET4 PATCH9 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Server
https://app.langwatch.ai
Authentication
API Key, HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 6

LangWatch Gateway API declares 6 security schemes for authenticating requests. An API key is passed in the header as X-Auth-Token (project_api_key). It accepts HTTP bearer tokens (admin_api_key). It accepts HTTP bearer tokens (scim_bearer). It accepts HTTP bearer tokens (cli_access_token). It accepts HTTP bearer tokens (instance_admin_key). It accepts HTTP bearer tokens (internal_secret). By default, every request must be authenticated.

  • project_api_key — Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin AP…
  • admin_api_key — Admin API key for organization-level operations (managing projects, API keys). Create one in Settings API Keys or via POST /api/api-keys. Format: sk-lw-{id}{se…
  • scim_bearer — SCIM token for one organization's directory connection, created with POST /api/scim-tokens or in Settings SCIM. It authenticates provisioning calls only, and s…
  • cli_access_token — The device session the LangWatch CLI holds after langwatch login. It acts as the person who signed in, in the organization they chose, and expires unless the C…
  • instance_admin_key — Instance administrator key, set as LANGWATCHINSTANCEADMINAPIKEY on a self-hosted deployment. It exists to create the first organization, before any organizatio…
  • internal_secret — The deployment's own shared secret, presented by another LangWatch service rather than by a customer. The families behind it are ingress-blocked; they are desc…

Paths & Operations 24

Across 14 paths, the API surfaces 24 operations — 3 DELETE, 8 GET, 4 PATCH, 9 POST. Each is listed below with its method, path, parameters, and response codes.

Gateway 24
GET
/api/gateway/v1/virtual-keys
List virtual keys
getApiGatewayV1VirtualKeys 3 params → 200400401403500
POST
/api/gateway/v1/virtual-keys
Create virtual key
postApiGatewayV1VirtualKeys 1 param body → 201400401403409500
GET
/api/gateway/v1/virtual-keys/{id}
Get virtual key
getApiGatewayV1VirtualKeysById 1 param → 200400401403500
PATCH
/api/gateway/v1/virtual-keys/{id}
Update virtual key
patchApiGatewayV1VirtualKeysById 1 param body → 200400401403500
GET
/api/gateway/v1/virtual-keys/{id}/spend
Read a virtual key's spend
getApiGatewayV1VirtualKeysByIdSpend 3 params → 200400401403500
POST
/api/gateway/v1/virtual-keys/{id}/rotate
Rotate virtual key secret
postApiGatewayV1VirtualKeysByIdRotate 2 params → 200400401403500
POST
/api/gateway/v1/virtual-keys/{id}/disable
Disable virtual key
postApiGatewayV1VirtualKeysByIdDisable 1 param body → 200400401403500
POST
/api/gateway/v1/virtual-keys/{id}/enable
Enable virtual key
postApiGatewayV1VirtualKeysByIdEnable 1 param → 200400401403500
POST
/api/gateway/v1/virtual-keys/{id}/revoke
Revoke virtual key
postApiGatewayV1VirtualKeysByIdRevoke 1 param → 200400401403500
GET
/api/gateway/v1/budgets
List budgets
getApiGatewayV1Budgets 4 params → 200400401403500
POST
/api/gateway/v1/budgets
Create budget
postApiGatewayV1Budgets 1 param body → 201400401403409500
GET
/api/gateway/v1/budgets/{id}
Get budget
getApiGatewayV1BudgetsById 1 param → 200400401403500
PATCH
/api/gateway/v1/budgets/{id}
Update budget
patchApiGatewayV1BudgetsById 1 param body → 200400401403500
DELETE
/api/gateway/v1/budgets/{id}
Archive budget
deleteApiGatewayV1BudgetsById 1 param → 200400401403500
POST
/api/gateway/v1/budgets/{id}/reset
Reset budget period
postApiGatewayV1BudgetsByIdReset 2 params body → 200400401403500
GET
/api/gateway/v1/cache-rules
List cache-control rules
getApiGatewayV1CacheRules 2 params → 200400401403500
POST
/api/gateway/v1/cache-rules
Create a cache rule
postApiGatewayV1CacheRules 1 param body → 201400401403409500
GET
/api/gateway/v1/cache-rules/{id}
Get a cache rule
getApiGatewayV1CacheRulesById 1 param → 200400401403500
PATCH
/api/gateway/v1/cache-rules/{id}
Update a cache rule
patchApiGatewayV1CacheRulesById 1 param body → 200400401403500
DELETE
/api/gateway/v1/cache-rules/{id}
Archive a cache rule
deleteApiGatewayV1CacheRulesById 1 param → 200400401403500
GET
/api/gateway/v1/providers
List provider bindings
getApiGatewayV1Providers → 200400401403410500
POST
/api/gateway/v1/providers
Bind a model provider to the gateway
postApiGatewayV1Providers → 200400401403410500
PATCH
/api/gateway/v1/providers/{id}
Update provider binding
patchApiGatewayV1ProvidersById 1 param → 200400401403410500
DELETE
/api/gateway/v1/providers/{id}
Disable provider binding
deleteApiGatewayV1ProvidersById 1 param → 200400401403410500

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langwatch-gateway-api-openapi.yml Raw ↑

Other APIs LangWatch publishes across the network.

LangWatch Agents API
LangWatch Analytics API
LangWatch Annotations API
LangWatch Api Keys API
LangWatch Dashboards API
LangWatch Dataset API
LangWatch Evaluators API
LangWatch Graphs API
LangWatch Model Defaults API
LangWatch Model Providers API
LangWatch Monitors API
LangWatch Projects API
Where this information came from

This is an independent, third-party profile of LangWatch Gateway API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.