Cherami · Schema

ReceivedSummary

CompanyEmailAI AgentsMCPWebhookMessagingEmail API
View JSON Schema on GitHub

JSON Schema

cherami-to-received-summary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cherami-to/json-schema/cherami-to-received-summary-schema.json",
  "title": "ReceivedSummary",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cherami-to-openapi.yml#/components/schemas/ReceivedSummary",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Cherami resource ID."
        },
        "inbox_id": {
          "type": "string",
          "description": "Cherami resource ID."
        },
        "thread_id": {
          "anyOf": [
            {
              "type": "string",
              "description": "Cherami resource ID."
            },
            {
              "type": "null"
            }
          ]
        },
        "envelope_from": {
          "type": "string"
        },
        "envelope_to": {
          "type": "string"
        },
        "subject": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "received_at": {
          "type": "string",
          "description": "UTC timestamp with milliseconds.",
          "format": "date-time",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
        },
        "processing_status": {
          "const": "ready"
        },
        "labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "preview": {
          "anyOf": [
            {
              "$ref": "#/$defs/Preview"
            },
            {
              "type": "null"
            }
          ]
        },
        "from": {
          "anyOf": [
            {
              "$ref": "#/$defs/ParsedAddress"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "inbox_id",
        "thread_id",
        "envelope_from",
        "envelope_to",
        "subject",
        "received_at",
        "processing_status",
        "labels",
        "preview",
        "from"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Cherami resource ID."
        },
        "inbox_id": {
          "type": "string",
          "description": "Cherami resource ID."
        },
        "thread_id": {
          "anyOf": [
            {
              "type": "string",
              "description": "Cherami resource ID."
            },
            {
              "type": "null"
            }
          ]
        },
        "envelope_from": {
          "type": "string"
        },
        "envelope_to": {
          "type": "string"
        },
        "subject": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "received_at": {
          "type": "string",
          "description": "UTC timestamp with milliseconds.",
          "format": "date-time",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
        },
        "processing_status": {
          "type": "string",
          "enum": [
            "pending",
            "processing",
            "failed"
          ]
        },
        "labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "preview": {
          "type": "null"
        }
      },
      "required": [
        "id",
        "inbox_id",
        "thread_id",
        "envelope_from",
        "envelope_to",
        "subject",
        "received_at",
        "processing_status",
        "labels",
        "preview"
      ]
    }
  ],
  "$defs": {
    "ParsedAddress": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "address": {
              "type": "string"
            }
          },
          "required": [
            "name",
            "address"
          ]
        },
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "group": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "address": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "address"
                ]
              }
            }
          },
          "required": [
            "name",
            "group"
          ]
        }
      ],
      "description": "Mailbox or group from the message headers, written by the sender and not verified."
    },
    "Preview": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Start of the chosen text, whitespace collapsed; empty when the message added no new text.",
          "maxLength": 300
        },
        "truncated": {
          "type": "boolean",
          "description": "true when the chosen text was longer than the excerpt."
        },
        "source": {
          "type": "string",
          "enum": [
            "reply_text",
            "text",
            "html"
          ],
          "description": "Which text the excerpt comes from."
        }
      },
      "required": [
        "text",
        "truncated",
        "source"
      ]
    }
  }
}

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/cherami-to-received-summary"
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.