AkashML

Documentation

Introduction
Claude Code
List models (Anthropic shape) GETAnthropic base health probe GETCreate a message (Anthropic shape) POST
Anthropic SDK
List models GET
Create chat completion POSTCreate completion POST
Platform
Parameter controlsPresetsInferences
Models
Settings
API ReferenceAnthropic

List models (Anthropic shape)

GET
/anthropic/v1/models

Lists available models in the Anthropic API shape. Model IDs containing / are aliased with -- (e.g., anthropic/claude-3-5-sonnet → anthropic--claude-3-5-sonnet) because Claude Code rejects slashed identifiers.

Authorization

BearerAuth
AuthorizationBearer <token>

API key passed as Bearer token

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/anthropic/v1/models"
{
  "data": [
    {
      "type": "model",
      "id": "string",
      "display_name": "string",
      "created_at": "string"
    }
  ],
  "has_more": true,
  "first_id": null,
  "last_id": null
}
{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "message": "string"
  }
}
{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "message": "string"
  }
}
{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "message": "string"
  }
}

Claude Code

Use Anthropic's Claude Code CLI with AkashML by pointing it at our Anthropic-compatible Messages endpoint.

Anthropic base health probe GET

Lightweight probe used by Claude Code when it first connects to the base URL. Always returns `{ status: "ok" }`.