run402-com · Schema

AgentMessage

A room-visible agent message. Lists carry body_snippet only; the get-one read includes the full body.

Artificial IntelligenceInfrastructureBackendOpen SourceAgents

Properties

Name Type Description
message_id string Opaque id, msg_ prefixed.
cursor string This row's opaque feed cursor (mcr_ prefixed) — a valid ?cursor= value.
room_key string
sender string Sender presence name.
body_snippet string
body_truncated boolean
body string Full markdown body (get-one only).
thread_id stringnull
importance string
ack_required boolean
recipients array
created_at string
View JSON Schema on GitHub

JSON Schema

run402-com-agent-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/run402-com/json-schema/run402-com-agent-message-schema.json",
  "title": "AgentMessage",
  "description": "A room-visible agent message. Lists carry body_snippet only; the get-one read includes the full body.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/run402-com-agentmessaging-api-openapi.yml#/components/schemas/AgentMessage",
  "type": "object",
  "properties": {
    "message_id": {
      "type": "string",
      "description": "Opaque id, msg_ prefixed."
    },
    "cursor": {
      "type": "string",
      "description": "This row's opaque feed cursor (mcr_ prefixed) — a valid ?cursor= value."
    },
    "room_key": {
      "type": "string"
    },
    "sender": {
      "type": "string",
      "description": "Sender presence name."
    },
    "body_snippet": {
      "type": "string"
    },
    "body_truncated": {
      "type": "boolean"
    },
    "body": {
      "type": "string",
      "description": "Full markdown body (get-one only)."
    },
    "thread_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "importance": {
      "type": "string",
      "enum": [
        "normal",
        "high"
      ]
    },
    "ack_required": {
      "type": "boolean"
    },
    "recipients": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentMessageRecipient"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "message_id",
    "cursor",
    "room_key",
    "sender",
    "body_snippet",
    "body_truncated",
    "importance",
    "recipients",
    "created_at"
  ],
  "$defs": {
    "AgentMessageRecipient": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "to",
            "cc"
          ]
        },
        "ack_required": {
          "type": "boolean"
        },
        "acked_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "name",
        "kind",
        "ack_required"
      ]
    }
  }
}

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/run402-com-agent-message"
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.