Ucsd Chat Completion Example

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

Ucsd Chat Completion Example is an example object payload from University of California, San Diego, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

x-provenancerequestresponse

Example Payload

Raw ↑
{
  "x-provenance": {
    "generated": "2026-07-11",
    "method": "generated",
    "source": "openapi/_original/ucsd-tritonai.yaml",
    "note": "Illustrative request/response synthesized from the OpenAPI schema. NOT captured from the TritonAI gateway and NOT published by UC San Diego; the gateway requires an issued API key and was never called."
  },
  "request": {
    "model": "gpt-4o",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful UC San Diego campus assistant."
      },
      {
        "role": "user",
        "content": "Summarize the TritonAI gateway in one sentence."
      }
    ],
    "temperature": 0.2,
    "max_tokens": 128
  },
  "response": {
    "id": "chatcmpl-abc123",
    "object": "chat.completion",
    "created": 1717372800,
    "model": "gpt-4o",
    "choices": [
      {
        "index": 0,
        "message": {
          "role": "assistant",
          "content": "TritonAI is UC San Diego's secure, centralized LLM gateway providing OpenAI-compatible access to a curated set of models."
        },
        "finish_reason": "stop"
      }
    ],
    "usage": {
      "prompt_tokens": 32,
      "completion_tokens": 24,
      "total_tokens": 56
    }
  }
}