Call2Me · Schema

SessionWithMessages

CompanyArtificial IntelligenceVoiceInterpreterReal-TimePayments

Properties

Name Type Description
session_id string
title object
status string
message_count integer
total_cost_usd number
created_at string
updated_at string
messages array
View JSON Schema on GitHub

JSON Schema

call2me-app-src-routers-v1-copilot-session-with-messages-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-src-routers-v1-copilot-session-with-messages-schema.json",
  "title": "SessionWithMessages",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-copilot-api-openapi.yml#/components/schemas/src__routers__v1__copilot__SessionWithMessages",
  "properties": {
    "session_id": {
      "type": "string",
      "title": "Session Id"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "message_count": {
      "type": "integer",
      "title": "Message Count"
    },
    "total_cost_usd": {
      "type": "number",
      "title": "Total Cost Usd"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    },
    "messages": {
      "items": {
        "$ref": "#/$defs/CopilotMessage"
      },
      "type": "array",
      "title": "Messages"
    }
  },
  "type": "object",
  "required": [
    "session_id",
    "title",
    "status",
    "message_count",
    "total_cost_usd",
    "created_at",
    "updated_at",
    "messages"
  ],
  "$defs": {
    "ActionCard": {
      "properties": {
        "action_id": {
          "type": "string",
          "title": "Action Id"
        },
        "tool_name": {
          "type": "string",
          "title": "Tool Name"
        },
        "summary": {
          "type": "string",
          "title": "Summary"
        },
        "risk": {
          "type": "string",
          "title": "Risk"
        }
      },
      "type": "object",
      "required": [
        "action_id",
        "tool_name",
        "summary",
        "risk"
      ],
      "title": "ActionCard"
    },
    "CopilotMessage": {
      "properties": {
        "message_id": {
          "type": "string",
          "title": "Message Id"
        },
        "role": {
          "type": "string",
          "title": "Role"
        },
        "content": {
          "type": "string",
          "title": "Content"
        },
        "action_cards": {
          "items": {
            "$ref": "#/$defs/ActionCard"
          },
          "type": "array",
          "title": "Action Cards",
          "default": []
        },
        "ui_blocks": {
          "items": {},
          "type": "array",
          "title": "Ui Blocks",
          "default": []
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "message_id",
        "role",
        "content",
        "created_at"
      ],
      "title": "CopilotMessage"
    }
  }
}

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/call2me-app-src-routers-v1-copilot-session-with-messages"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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