TritonAI Chat Completion Request

Request body for POST /v1/chat/completions on the UC San Diego TritonAI LiteLLM gateway. Derived from https://tritonai-api.ucsd.edu/openapi.json.

EducationHigher EducationUniversityPublic Research UniversityUC SystemUnited StatesCaliforniaResearchResearch DataDigital CollectionsIdentity FederationAPI GatewayArtificial IntelligenceResearch Computing

Properties

Name Type Description
model string Model identifier as listed by GET /v1/models.
messages array Conversation messages.
temperature number
top_p number
n integer
stream boolean
max_tokens integer
View JSON Schema on GitHub

JSON Schema

ucsd-chat-completion-request-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ucsd/main/json-schema/ucsd-chat-completion-request-schema.json",
  "title": "TritonAI Chat Completion Request",
  "description": "Request body for POST /v1/chat/completions on the UC San Diego TritonAI LiteLLM gateway. Derived from https://tritonai-api.ucsd.edu/openapi.json.",
  "type": "object",
  "required": ["model", "messages"],
  "additionalProperties": true,
  "properties": {
    "model": {
      "type": "string",
      "description": "Model identifier as listed by GET /v1/models."
    },
    "messages": {
      "type": "array",
      "description": "Conversation messages.",
      "items": {
        "type": "object",
        "required": ["role"],
        "additionalProperties": true,
        "properties": {
          "role": {
            "type": "string",
            "enum": ["system", "user", "assistant", "tool", "function", "developer"]
          },
          "content": {
            "oneOf": [
              { "type": "string" },
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": ["type"],
                  "additionalProperties": true,
                  "properties": {
                    "type": { "type": "string", "enum": ["text", "image_url", "input_audio"] },
                    "text": { "type": "string" },
                    "image_url": {
                      "oneOf": [
                        { "type": "string" },
                        { "type": "object", "additionalProperties": true }
                      ]
                    }
                  }
                }
              }
            ]
          },
          "name": { "type": "string" }
        }
      }
    },
    "temperature": { "type": "number" },
    "top_p": { "type": "number" },
    "n": { "type": "integer" },
    "stream": { "type": "boolean" },
    "max_tokens": { "type": "integer" }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ucsd-chat-completion-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.