aisa-one · Schema

ResponseD5E2470Dd28B_ChatCompletionResponse

CompanyArtificial IntelligenceDataPlatformKnowledge Graph

Properties

Name Type Description
choices array
citations array List of source URLs referenced in the answer.
created integer Unix timestamp of when the completion was created.
id string Unique identifier for the completion.
model string The model used for the completion.
object string
search_results array Detailed search results with titles, snippets, and URLs.
usage object
View JSON Schema on GitHub

JSON Schema

aisa-one-response-d5-e2470-dd28-b-chat-completion-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aisa-one/json-schema/aisa-one-response-d5-e2470-dd28-b-chat-completion-response-schema.json",
  "title": "ResponseD5E2470Dd28B_ChatCompletionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aisa-one-sonar-api-openapi.yml#/components/schemas/ResponseD5E2470Dd28B_ChatCompletionResponse",
  "properties": {
    "choices": {
      "items": {
        "properties": {
          "finish_reason": {
            "enum": [
              "stop",
              "length"
            ],
            "type": "string"
          },
          "index": {
            "type": "integer"
          },
          "message": {
            "properties": {
              "content": {
                "description": "The AI-generated answer, with inline citation references like [1][2].",
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "citations": {
      "description": "List of source URLs referenced in the answer.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "created": {
      "description": "Unix timestamp of when the completion was created.",
      "type": "integer"
    },
    "id": {
      "description": "Unique identifier for the completion.",
      "type": "string"
    },
    "model": {
      "description": "The model used for the completion.",
      "type": "string"
    },
    "object": {
      "type": "string"
    },
    "search_results": {
      "description": "Detailed search results with titles, snippets, and URLs.",
      "items": {
        "properties": {
          "date": {
            "type": "string"
          },
          "snippet": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "usage": {
      "properties": {
        "completion_tokens": {
          "type": "integer"
        },
        "prompt_tokens": {
          "type": "integer"
        },
        "search_context_size": {
          "type": "string"
        },
        "total_tokens": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}

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/aisa-one-response-d5-e2470-dd28-b-chat-completion-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.