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

ngrok AI Gateway Anthropic API

The Anthropic API from ngrok AI Gateway — 1 operation(s) for anthropic.

ngrok AI Gateway Anthropic API is one of 3 APIs that ngrok AI Gateway publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Anthropic. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 1 operation across 1 path. It is described by OpenAPI 3.1.0, at version v1.

Requests are made against a single base URL, https://{gatewayDomain}.

1 operations 1 paths 0 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1
Base URL
https://your-ai-gateway.ngrok.app/v1
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

ngrok AI Gateway Anthropic API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as x-api-key (apiKeyAuth).

  • bearerAuth — OpenAI-style authentication. Send the AI Gateway API key (format ng-xxxxx-g1-xxxxx) as Authorization: Bearer .
  • apiKeyAuth — Anthropic-style authentication. Send the AI Gateway API key (format ng-xxxxx-g1-xxxxx) in the x-api-key header.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Anthropic 1
POST
/v1/messages
Anthropic-compatible messages
createMessage 1 param body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ngrok-ai-anthropic-api-openapi.yml Raw ↑

Other APIs ngrok AI Gateway publishes across the network.

ngrok AI Gateway
ngrok AI Gateway OpenAI API