Baseten · Schema

ChatCompletionLogProbsContent

Log probability information for a token in the content.

Artificial IntelligenceMLInferenceDeploymentMLOpsOpenAI-CompatibleAnthropic CompatibleTruss

Properties

Name Type Description
token string The token string.
logprob number The log probability of the token.
bytes array The UTF-8 byte representation of the token.
top_logprobs array List of the most likely tokens and their log probabilities at this position.
View JSON Schema on GitHub

JSON Schema

baseten-chatcompletionlogprobscontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletionLogProbsContent",
  "title": "ChatCompletionLogProbsContent",
  "additionalProperties": false,
  "properties": {
    "token": {
      "title": "Token",
      "type": "string",
      "description": "The token string."
    },
    "logprob": {
      "default": -9999,
      "title": "Logprob",
      "type": "number",
      "description": "The log probability of the token."
    },
    "bytes": {
      "default": null,
      "title": "Bytes",
      "description": "The UTF-8 byte representation of the token.",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "top_logprobs": {
      "default": null,
      "title": "Top Logprobs",
      "description": "List of the most likely tokens and their log probabilities at this position.",
      "items": {
        "$ref": "#/components/schemas/ChatCompletionLogProb"
      },
      "type": "array"
    }
  },
  "required": [
    "token"
  ],
  "type": "object",
  "description": "Log probability information for a token in the content."
}

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/baseten-chatcompletionlogprobscontent"
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.