{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentping-io/json-schema/agentping-io-post-v1-runs-id-events-request-schema.json",
  "title": "PostV1RunsIdEventsRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/agentping-io-openapi-generated.yml#/components/schemas/PostV1RunsIdEventsRequest",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "description": "Up to 50 per batch."
    },
    "events[].external_id": {
      "type": "string",
      "description": "Client-generated. Format evt_<region>_<32 hex>. Also accepted as id."
    },
    "events[].type": {
      "type": "string",
      "description": "llm_call , log , tool_call , or custom."
    },
    "events[].ts": {
      "type": "string",
      "description": "Client clock. ISO 8601, UTC."
    },
    "events[].turn": {
      "type": "integer",
      "description": "Which exchange of a conversation this belongs to."
    },
    "events[].data": {
      "type": "object",
      "description": "Payload."
    }
  },
  "required": [
    "events",
    "events[].external_id",
    "events[].type",
    "events[].ts",
    "events[].data"
  ]
}