{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elocuenti-com/json-schema/elocuenti-com-automation-run-accepted-response-schema.json",
  "title": "AutomationRunAcceptedResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elocuenti-com-automations-api-openapi.yml#/components/schemas/AutomationRunAcceptedResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/AutomationRunAccepted"
    },
    "request_id": {
      "type": "string",
      "description": "The identifier of this request. Give it to support if you need help.",
      "title": "Request Id"
    },
    "simulated": {
      "description": "`true` only with a sandbox key: everything was checked, nothing was started, and the `run_id` is not kept.",
      "type": "boolean",
      "title": "Simulated"
    }
  },
  "required": [
    "data",
    "request_id"
  ],
  "$defs": {
    "AutomationRunAccepted": {
      "type": "object",
      "properties": {
        "run_id": {
          "type": "string",
          "description": "The identifier of the run. Use it to read how it went: `GET /api/v1/automations/{id}/runs/{run_id}`.",
          "title": "Run Id"
        },
        "automation_id": {
          "type": "string",
          "description": "The automation that was started.",
          "title": "Automation Id"
        },
        "contact_id": {
          "type": "string",
          "description": "The contact the run is for, whichever way you named it.",
          "title": "Contact Id"
        },
        "status": {
          "type": "string",
          "const": "queued",
          "description": "Always `queued`: the run was accepted and will start in a moment. It does not mean it finished.",
          "title": "Status"
        }
      },
      "required": [
        "run_id",
        "automation_id",
        "contact_id",
        "status"
      ],
      "description": "The run that was accepted.",
      "title": "AutomationRunAccepted"
    }
  }
}