{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/okareo/json-schema/okareo-find-traces-request-schema.json",
  "title": "FindTracesRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/okareo-traces-api-openapi.yml#/components/schemas/FindTracesRequest",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid",
      "title": "Project Id",
      "description": "Project UUID to fetch traces from"
    },
    "otel_trace_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Otel Trace Id",
      "description": "Trace ID to fetch"
    },
    "context_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context Token",
      "description": "Context token to look up traces for a conversation (alternative to otel_trace_id)"
    }
  },
  "type": "object",
  "required": [
    "project_id"
  ]
}