Log10 · Schema

Completion

A logged LLM completion record captured by the Log10 platform.

LLMLoggingObservabilityEvaluationFeedbackDebuggingLLMOpsArtificial IntelligenceMachine-Learning

Properties

Name Type Description
id string The unique identifier for this completion.
organization_id string The unique identifier for the organization.
kind string The kind of completion: chat messages or a single prompt.
status string The lifecycle status of this completion.
tags array Tag strings applied to this completion for filtering and task matching.
request object The LLM request payload (CreateChatCompletionRequest format).
response object The LLM response payload (CreateChatCompletionResponse format).
stacktrace array Code location stacktrace captured at inference time.
session_id string The session this completion belongs to.
duration number Duration of the LLM call in seconds.
failure_kind string Category of failure if the completion failed.
failure_reason string Human-readable reason for failure if the completion failed.
View JSON Schema on GitHub

JSON Schema

completion.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://log10.io/schemas/completion.json",
  "title": "Completion",
  "description": "A logged LLM completion record captured by the Log10 platform.",
  "type": "object",
  "required": ["organization_id"],
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for this completion."
    },
    "organization_id": {
      "type": "string",
      "description": "The unique identifier for the organization."
    },
    "kind": {
      "type": "string",
      "description": "The kind of completion: chat messages or a single prompt.",
      "enum": ["chat", "prompt"]
    },
    "status": {
      "type": "string",
      "description": "The lifecycle status of this completion.",
      "enum": ["started", "finished", "failed"]
    },
    "tags": {
      "type": "array",
      "description": "Tag strings applied to this completion for filtering and task matching.",
      "items": {
        "type": "string"
      }
    },
    "request": {
      "type": "object",
      "description": "The LLM request payload (CreateChatCompletionRequest format)."
    },
    "response": {
      "type": "object",
      "description": "The LLM response payload (CreateChatCompletionResponse format)."
    },
    "stacktrace": {
      "type": "array",
      "description": "Code location stacktrace captured at inference time.",
      "items": {
        "type": "object",
        "required": ["file", "line", "lineno", "name"],
        "properties": {
          "file": {
            "type": "string",
            "description": "The source file path."
          },
          "line": {
            "type": "string",
            "description": "The source line content."
          },
          "lineno": {
            "type": "number",
            "description": "The line number in the source file."
          },
          "name": {
            "type": "string",
            "description": "The function or module name."
          }
        }
      }
    },
    "session_id": {
      "type": "string",
      "description": "The session this completion belongs to."
    },
    "duration": {
      "type": "number",
      "description": "Duration of the LLM call in seconds."
    },
    "failure_kind": {
      "type": "string",
      "description": "Category of failure if the completion failed."
    },
    "failure_reason": {
      "type": "string",
      "description": "Human-readable reason for failure if the completion failed."
    }
  }
}

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/completion"
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.