{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/outcomemeter-getingeniousai-com/json-schema/outcomemeter-getingeniousai-com-post-api-events-request-schema.json",
  "title": "PostApiEventsRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/outcomemeter-getingeniousai-com-openapi-generated.yml#/components/schemas/PostApiEventsRequest",
  "type": "object",
  "properties": {
    "client": {
      "type": "string",
      "description": "Identifier of the client whose work the event belongs to."
    },
    "task": {
      "type": "string",
      "description": "Identifier of the task or workflow."
    },
    "provider": {
      "type": "string",
      "description": "Name of the AI provider."
    },
    "model": {
      "type": "string",
      "description": "Model name used for the request."
    },
    "cost": {
      "type": "string",
      "description": "Monetary cost charged for the event."
    },
    "outcome": {
      "type": "string",
      "description": "Success or fail result of the task."
    },
    "idempotency_key": {
      "type": "string",
      "description": "Key used to ensure duplicate deliveries are ignored."
    }
  },
  "required": [
    "client",
    "task",
    "provider",
    "model",
    "cost",
    "outcome",
    "idempotency_key"
  ]
}