sendraven-ai · Schema

ApprovalDecision

The same keys for both decisions; a field with nothing to say is null or false.

CompanyEmailArtificial IntelligenceInfrastructure

Properties

Name Type Description
id string
status string
message_id string
scheduled_at stringnull Set when approved and the draft carried a scheduled_at still in the future: the message was put on the schedule (status scheduled), not sent now. null when it was sent now, and on a rejection.
skipped boolean True only when approved and no To address was left after re-checking suppressions and topic opt-outs: nothing was sent and the message is recorded as rejected. The approval still counts as approved. F
reason stringnull When skipped is true: suppressed: (e.g. suppressed:hard_bounce) or unsubscribed_from_topic:. null otherwise.
View JSON Schema on GitHub

JSON Schema

sendraven-ai-approval-decision-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendraven-ai/json-schema/sendraven-ai-approval-decision-schema.json",
  "title": "ApprovalDecision",
  "description": "The same keys for both decisions; a field with nothing to say is null or false.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendraven-ai-approvals-api-openapi.yml#/components/schemas/ApprovalDecision",
  "type": "object",
  "required": [
    "id",
    "status",
    "message_id",
    "scheduled_at",
    "skipped",
    "reason"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "approved",
        "rejected"
      ]
    },
    "message_id": {
      "type": "string",
      "format": "uuid"
    },
    "scheduled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Set when approved and the draft carried a scheduled_at still in the future: the message was put on the schedule (status scheduled), not sent now. null when it was sent now, and on a rejection."
    },
    "skipped": {
      "type": "boolean",
      "description": "True only when approved and no To address was left after re-checking suppressions and topic opt-outs: nothing was sent and the message is recorded as rejected. The approval still counts as approved. False otherwise, including on a rejection."
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "When skipped is true: suppressed:<suppression reason> (e.g. suppressed:hard_bounce) or unsubscribed_from_topic:<topic key>. null otherwise."
    }
  }
}

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/sendraven-ai-approval-decision"
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.