import Avido from 'avido';const client = new Avido({ apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted});const ingest = await client.ingest.create({ events: [ { type: 'trace' }, { event: 'start', input: [{ role: 'user', content: 'Tell me a joke.' }], modelId: 'gpt-4o-2024-08-06', type: 'llm', }, ],});console.log(ingest.data);
import os
from avido import Avido
client = Avido(
api_key=os.environ.get("AVIDO_API_KEY"), # This is the default and can be omitted
application_id=os.environ.get("AVIDO_APPLICATION_ID"), # This is the default and can be omitted
)
ingest = client.ingest.create(
events=[{
"type": "trace"
}, {
"event": "start",
"input": [{
"role": "user",
"content": "Tell me a joke.",
}],
"model_id": "gpt-4o-2024-08-06",
"type": "llm",
}],
)
print(ingest.data)
Ingest an array of events (traces or steps) to store and process.
POST
/
v0
/
ingest
JavaScript
import Avido from 'avido';const client = new Avido({ apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted});const ingest = await client.ingest.create({ events: [ { type: 'trace' }, { event: 'start', input: [{ role: 'user', content: 'Tell me a joke.' }], modelId: 'gpt-4o-2024-08-06', type: 'llm', }, ],});console.log(ingest.data);
import os
from avido import Avido
client = Avido(
api_key=os.environ.get("AVIDO_API_KEY"), # This is the default and can be omitted
application_id=os.environ.get("AVIDO_APPLICATION_ID"), # This is the default and can be omitted
)
ingest = client.ingest.create(
events=[{
"type": "trace"
}, {
"event": "start",
"input": [{
"role": "user",
"content": "Tell me a joke.",
}],
"model_id": "gpt-4o-2024-08-06",
"type": "llm",
}],
)
print(ingest.data)
Array of events to be ingested, which can be traces or steps.
An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Avido","colors":{"primary":"#FF7514","light":"#FF7514","dark":"#803B0A"},"logo":{"light":"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72","dark":"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72","href":"https://avidoai.com"},"favicon":"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72","navbar":{"links":[{"href":"mailto:support@avidoai.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.avidoai.com"}},"footer":{"socials":{"x":"https://x.com/avidoai","github":"https://github.com/avido-ai","linkedin":"https://www.linkedin.com/company/avidoai"}},"fonts":{"family":"Geist","weight":400,"format":"woff2"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"avido","hasAudioNarration":false,"actualSubdomain":"avido","customDomains":["docs.avidoai.com"],"gitSource":{"type":"github","owner":"avido-ai","repo":"avido","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6a98bb90b0c4d98bad4c728b","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Documentation","count":236},{"language":"default","tag":"API Reference","count":210},{"language":"default","tag":"Documents","count":20},{"language":"default","tag":"Reports","count":15},{"language":"default","tag":"Tasks","count":15},{"language":"default","tag":"Eval Definitions","count":12},{"language":"default","tag":"QuickstartsV2","count":12},{"language":"default","tag":"Issues","count":9},{"language":"default","tag":"Topics","count":9},{"language":"default","tag":"Experiments","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/ingestion/ingest-events","slug":"/api-reference/ingestion/ingest-events","pageMetadata":{"title":"Ingest events","description":"Ingest an array of events (traces or steps) to store and process.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/ingest","href":"/api-reference/ingestion/ingest-events","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Ingest an array of events (traces or steps) to store and process.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Ingest events","description":"Ingest an array of events (traces or steps) to store and process.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/ingest","href":"/api-reference/ingestion/ingest-events","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"postIngest","summary":"Ingest events","description":"Ingest an array of events (traces or steps) to store and process.","tags":["Ingestion"],"requestBody":"3587a66a-6563-4909-b057-fb2b5cd9fecb","responses":{"200":"963dd7df-b6ac-49a5-875f-7fe925794f05","400":"73f07e9e-a4bc-4f30-93ee-5cc6b5a20684","401":"02ebfbaa-9932-4a2e-9d50-6d689ad57c82","403":"f2eca9d0-56a3-40dd-a103-eb5112866387","422":"e4e1c534-5758-42fb-8775-a0987f3084a2","500":"32e625f8-1740-44aa-9dfc-b025101adec1"},"x-codeSamples":[{"lang":"JavaScript","source":"import Avido from 'avido';\n\nconst client = new Avido({\n apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted\n applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted\n});\n\nconst ingest = await client.ingest.create({\n events: [\n { type: 'trace' },\n {\n event: 'start',\n input: [{ role: 'user', content: 'Tell me a joke.' }],\n modelId: 'gpt-4o-2024-08-06',\n type: 'llm',\n },\n ],\n});\n\nconsole.log(ingest.data);"},{"lang":"Python","source":"import os\nfrom avido import Avido\n\nclient = Avido(\n api_key=os.environ.get(\"AVIDO_API_KEY\"), # This is the default and can be omitted\n application_id=os.environ.get(\"AVIDO_APPLICATION_ID\"), # This is the default and can be omitted\n)\ningest = client.ingest.create(\n events=[{\n \"type\": \"trace\"\n }, {\n \"event\": \"start\",\n \"input\": [{\n \"role\": \"user\",\n \"content\": \"Tell me a joke.\",\n }],\n \"model_id\": \"gpt-4o-2024-08-06\",\n \"type\": \"llm\",\n }],\n)\nprint(ingest.data)"}],"method":"post","type":"path","servers":["4f236849-7374-466a-8918-4cd00576ab95"],"security":["7bf9289a-dbe8-45a8-acf7-c0f9d38ed7de"],"path":"/v0/ingest","baseUrlOptions":["https://api.avidoai.com"],"title":"Ingest events","codeSamples":[{"lang":"JavaScript","source":"import Avido from 'avido';\n\nconst client = new Avido({\n apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted\n applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted\n});\n\nconst ingest = await client.ingest.create({\n events: [\n { type: 'trace' },\n {\n event: 'start',\n input: [{ role: 'user', content: 'Tell me a joke.' }],\n modelId: 'gpt-4o-2024-08-06',\n type: 'llm',\n },\n ],\n});\n\nconsole.log(ingest.data);"},{"lang":"Python","source":"import os\nfrom avido import Avido\n\nclient = Avido(\n api_key=os.environ.get(\"AVIDO_API_KEY\"), # This is the default and can be omitted\n application_id=os.environ.get(\"AVIDO_APPLICATION_ID\"), # This is the default and can be omitted\n)\ningest = client.ingest.create(\n events=[{\n \"type\": \"trace\"\n }, {\n \"event\": \"start\",\n \"input\": [{\n \"role\": \"user\",\n \"content\": \"Tell me a joke.\",\n }],\n \"model_id\": \"gpt-4o-2024-08-06\",\n \"type\": \"llm\",\n }],\n)\nprint(ingest.data)"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"oneOf":[{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type"],"properties":{"type":{"type":"string","const":"trace","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.type","typeLabel":"string"},"referenceId":{"description":"An optional reference ID to link the trace to an existing conversation or interaction in your own database.","example":"123e4567-e89b-12d3-a456-426614174000","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.referenceId","typeLabel":"string"},"timestamp":{"description":"When the trace was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.timestamp","typeLabel":"string\u003cdate-time>"},"metadata":{"oneOf":[{"type":"string","description":"Arbitrary metadata for this trace (e.g., userId, source, etc.).","example":{"userId":"123","source":"chatbot"},"uniqueKey":"events.items.[INDEX].oneOf.0.metadata.oneOf.0","typeLabel":"string"},{"type":"object","description":"Arbitrary metadata for this trace (e.g., userId, source, etc.).","example":{"userId":"123","source":"chatbot"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.metadata.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.metadata.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary metadata for this trace (e.g., userId, source, etc.).","example":{"userId":"123","source":"chatbot"},"uniqueKey":"events.items.[INDEX].oneOf.0.metadata.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.0.metadata","typeLabel":"string | object | any[]"},"testId":{"description":"The associated Test if this was triggered by an Avido eval","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.testId","typeLabel":"string\u003cuuid>"},"totalCost":{"description":"Total cost of all steps in this trace (sum of step costAmount values).","example":0.0023,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.totalCost","typeLabel":"number"},"totalPromptTokens":{"description":"Total number of prompt tokens used across all LLM steps in this trace.","example":150,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.totalPromptTokens","typeLabel":"integer"},"totalCompletionTokens":{"description":"Total number of completion tokens used across all LLM steps in this trace.","example":200,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.totalCompletionTokens","typeLabel":"integer"},"totalDurationMs":{"description":"Total duration of the trace in milliseconds (sum of all step durations).","example":1500,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.totalDurationMs","typeLabel":"integer"},"hasError":{"description":"Whether any step in this trace has an error status.","example":false,"type":"boolean","uniqueKey":"events.items.[INDEX].oneOf.0.hasError","typeLabel":"boolean"},"stepCount":{"description":"Total number of steps in this trace.","example":5,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.stepCount","typeLabel":"integer"},"steps":{"description":"The steps associated with the trace.","type":"array","items":{"oneOf":[{"type":"object","title":"LLM Start Trace","description":"Start of an LLM trace.","required":["id","traceId","type","modelId","event","input"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"llm","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.type","typeLabel":"string"},"modelId":{"type":"string","description":"Model ID or name used for the LLM call.","example":"gpt-4o-2024-08-06","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.modelId","typeLabel":"string"},"event":{"type":"string","const":"start","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.event","typeLabel":"string"},"input":{"type":"string","description":"JSON input for this LLM trace event (e.g., the prompt).","example":"Tell me a joke.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.input","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.0","typeLabel":"LLM Start Trace · object"},{"type":"object","title":"LLM End Trace","description":"End of an LLM trace.","required":["id","traceId","type","modelId","event"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"llm","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.type","typeLabel":"string"},"modelId":{"type":"string","description":"Model ID or name used for the LLM call.","example":"gpt-4o-2024-08-06","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.modelId","typeLabel":"string"},"event":{"type":"string","const":"end","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.event","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.error","typeLabel":"string"},"output":{"description":"JSON describing the output. String inputs are parsed or wrapped in { message: val }.","example":"Why did the chicken cross the road?","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.output","typeLabel":"string"},"usage":{"type":"object","properties":{"promptTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of prompt tokens used by the LLM.","example":100,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.usage.promptTokens","typeLabel":"integer"},"completionTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of completion tokens used by the LLM.","example":100,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.usage.completionTokens","typeLabel":"integer"}},"required":["promptTokens","completionTokens"],"description":"Number of input and output tokens used by the LLM.","example":{"promptTokens":100,"completionTokens":100},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.usage","typeLabel":"object"},"finishReason":{"description":"The reason the LLM stopped generating, extracted from gen_ai.response.finish_reasons.","example":"stop","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1.finishReason","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.1","typeLabel":"LLM End Trace · object"},{"type":"object","title":"Tool Step","description":"Track all tool calls using the Tool Step event","required":["id","traceId","type"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"tool","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.type","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.error","typeLabel":"string"},"toolCallId":{"description":"Correlation ID from the LLM's tool_calls response (e.g., OpenAI's call_abc123 or Claude's toolu_01A09q). Links tool execution to the originating LLM request in parallel tool call scenarios.","example":"call_abc123","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.toolCallId","typeLabel":"string"},"toolInput":{"description":"JSON input for the tool call.","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.toolInput","typeLabel":"string"},"toolOutput":{"description":"JSON output from the tool call.","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2.toolOutput","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.2","typeLabel":"Tool Step · object"},{"type":"object","title":"Retriever Step","description":"Track all retriever (RAG) calls using the Retriever Step event.","required":["id","traceId","type","query","result"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"retriever","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.type","typeLabel":"string"},"query":{"type":"string","description":"Query used for RAG.","example":"What is the capital of France?","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.query","typeLabel":"string"},"result":{"type":"string","description":"Retrieved text","example":"Paris is the capital of France.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.result","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.3","typeLabel":"Retriever Step · object"},{"type":"object","title":"Reranker Step","description":"Track document reranking operations using the Reranker Step event.","required":["id","traceId","type"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"reranker","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.type","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.4","typeLabel":"Reranker Step · object"},{"type":"object","title":"Agent Step","description":"Track agent orchestration and planning using the Agent Step event.","required":["id","traceId","type"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"agent","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.type","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.error","typeLabel":"string"},"input":{"description":"Agent input (JSON).","example":"{\"messages\":[{\"content\":\"What is AI?\",\"type\":\"human\"}]}","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.input","typeLabel":"string"},"output":{"description":"Agent output (JSON).","example":"{\"messages\":[{\"content\":\"What is AI?\",\"type\":\"human\"},{\"content\":\"AI is artificial intelligence...\",\"type\":\"ai\"}]}","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5.output","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.5","typeLabel":"Agent Step · object"},{"type":"object","title":"Embedding Step","description":"Track text embedding operations using the Embedding Step event.","required":["id","traceId","type"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"embedding","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.type","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.6","typeLabel":"Embedding Step · object"},{"type":"object","title":"Guardrail Step","description":"Track safety and policy checks using the Guardrail Step event.","required":["id","traceId","type"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"guardrail","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.type","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.error","typeLabel":"string"},"guardrailTriggered":{"description":"True when the guardrail blocked or modified the operation. Sourced from the guardrail.triggered span attribute.","example":true,"type":"boolean","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.guardrailTriggered","typeLabel":"boolean"},"guardrailType":{"description":"Guardrail category (e.g. 'input', 'output', 'input_scope'). Sourced from guardrail.type.","example":"input_scope","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.guardrailType","typeLabel":"string"},"guardrailAction":{"description":"Action the guardrail took (e.g. 'block', 'allow', 'rewrite'). Sourced from guardrail.action.","example":"block","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7.guardrailAction","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.7","typeLabel":"Guardrail Step · object"},{"type":"object","title":"Evaluator Step","description":"Track evaluation operations using the Evaluator Step event.","required":["id","traceId","type"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"evaluator","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.type","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.error","typeLabel":"string"},"evaluatorName":{"description":"Name of the evaluator.","example":"helpfulness","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.evaluatorName","typeLabel":"string"},"evaluationLabel":{"description":"Classification label from the evaluation.","example":"helpful","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.evaluationLabel","typeLabel":"string"},"evaluationScore":{"description":"Numerical score from the evaluation (0-1 range).","example":0.75,"type":"number","minimum":0,"maximum":1,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.evaluationScore","typeLabel":"number"},"evaluationExplanation":{"description":"Detailed explanation of the evaluation result.","example":"The response directly answers the question with clear, organized information.","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8.evaluationExplanation","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.8","typeLabel":"Evaluator Step · object"},{"type":"object","title":"Log Step","description":"Track all logs using the Log Step event.","required":["id","traceId","type","content"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"log","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.type","typeLabel":"string"},"content":{"type":"string","description":"The actual log message for this trace.","example":"Could not find the user with id 123","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.content","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.9","typeLabel":"Log Step · object"},{"type":"object","title":"Group Step","description":"Use this to group multiple steps together, for example a log, llm start, and llm end.","required":["id","traceId","type","key"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"group","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.type","typeLabel":"string"},"key":{"type":"string","description":"A unique identifier for the grouping, which must be appended to the corresponding steps","example":"inputModeration","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.key","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.error","typeLabel":"string"},"input":{"description":"Input value attached to the grouping span (e.g. user message on an OpenInference CHAIN root).","example":"What is the capital of France?","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.input","typeLabel":"string"},"output":{"description":"Output value attached to the grouping span (e.g. final assistant message on an OpenInference CHAIN root).","example":"Paris is the capital of France.","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.output","typeLabel":"string"},"guardrailTriggered":{"description":"True when a guardrail blocked or modified the grouped operation. Sourced from the guardrail.triggered span attribute.","example":true,"type":"boolean","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.guardrailTriggered","typeLabel":"boolean"},"guardrailType":{"description":"Guardrail category that fired (e.g. 'input_scope', 'safety'). Sourced from guardrail.type.","example":"input_scope","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.guardrailType","typeLabel":"string"},"guardrailAction":{"description":"Action the guardrail took (e.g. 'block', 'allow', 'rewrite'). Sourced from guardrail.action.","example":"block","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10.guardrailAction","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.10","typeLabel":"Group Step · object"},{"type":"object","title":"Response Step","description":"Track AI responses to users using the Response Step event.","required":["id","traceId","type","content"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"response","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.type","typeLabel":"string"},"content":{"type":"string","description":"The response content from the AI to the user.","example":"Here is the answer to your question about the capital of France: Paris is the capital city of France.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.content","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.11","typeLabel":"Response Step · object"},{"type":"object","title":"Request Step","description":"Track user requests to the AI using the Request Step event.","required":["id","traceId","type","content"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID for the step.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.id","typeLabel":"string\u003cuuid>"},"traceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID referencing the parent trace's ID.","example":"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.traceId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","const":"request","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.type","typeLabel":"string"},"content":{"type":"string","description":"The request content from the user to the AI.","example":"What is the capital of France?","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.content","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX].oneOf.12","typeLabel":"Request Step · object"}],"uniqueKey":"events.items.[INDEX].oneOf.0.steps.items.[INDEX]","typeLabel":"LLM Start Trace · object | LLM End Trace · object | Tool Step · object | Retriever Step · object | Reranker Step · object | Agent Step · object | Embedding Step · object | Guardrail Step · object | Evaluator Step · object | Log Step · object | Group Step · object | Response Step · object | Request Step · object"},"uniqueKey":"events.items.[INDEX].oneOf.0.steps","typeLabel":"(LLM Start Trace · object | LLM End Trace · object | Tool Step · object | Retriever Step · object | Reranker Step · object | Agent Step · object | Embedding Step · object | Guardrail Step · object | Evaluator Step · object | Log Step · object | Group Step · object | Response Step · object | Request Step · object)[]"},"evals":{"description":"Evaluation results for this trace, joined through the associated test.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier of the evaluation","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"orgId":{"type":"string","description":"Organization ID that owns this evaluation","example":"org_123456","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].orgId","typeLabel":"string"},"status":{"type":"string","enum":["PENDING","IN_PROGRESS","COMPLETED","FAILED","SKIPPED"],"description":"Status of the evaluation","example":"COMPLETED","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"definition":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["NATURALNESS","STYLE","RECALL","CUSTOM","OUTPUT_MATCH"],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.name","typeLabel":"string"},"createdAt":{"description":"When the eval definition was created","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.createdAt","typeLabel":"string\u003cdate-time>"},"modifiedAt":{"description":"When the eval definition was last modified","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.modifiedAt","typeLabel":"string\u003cdate-time>"},"globalConfig":{"oneOf":[{"type":"object","required":["criterion"],"properties":{"criterion":{"type":"string","minLength":1,"description":"The criterion describes what our evaluation LLM must look for in the response. Remember that the answer to the criterion must be as a pass/fail.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.0.criterion","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.0","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.type","typeLabel":"string"},"extract":{"type":"object","properties":{"pattern":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.extract.pattern","typeLabel":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.extract.flags","typeLabel":"string"},"group":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.extract.group.oneOf.0","typeLabel":"integer"},{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.extract.group.oneOf.1.items.[INDEX]","typeLabel":"integer"},"minItems":1,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.extract.group.oneOf.1","typeLabel":"integer[]"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.extract.group","typeLabel":"integer | integer[]"}},"required":["pattern","flags","group"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1.extract","typeLabel":"object"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","matchMode"],"properties":{"type":{"type":"string","const":"list","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.type","typeLabel":"string"},"matchMode":{"type":"string","enum":["exact_unordered","contains"],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.matchMode","typeLabel":"enum\u003cstring>"},"scoreMetric":{"type":"string","enum":["f1","precision","recall"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.scoreMetric","typeLabel":"enum\u003cstring>"},"passThreshold":{"type":"number","minimum":0,"maximum":1,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.passThreshold","typeLabel":"number"},"extract":{"type":"object","properties":{"pattern":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.extract.pattern","typeLabel":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.extract.flags","typeLabel":"string"},"group":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.extract.group.oneOf.0","typeLabel":"integer"},{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.extract.group.oneOf.1.items.[INDEX]","typeLabel":"integer"},"minItems":1,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.extract.group.oneOf.1","typeLabel":"integer[]"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.extract.group","typeLabel":"integer | integer[]"}},"required":["pattern","flags","group"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2.extract","typeLabel":"object"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig.oneOf.2","typeLabel":"object"}],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.globalConfig","typeLabel":"object"},"styleGuideId":{"oneOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.styleGuideId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.styleGuideId.oneOf.1","typeLabel":"null"}],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.styleGuideId","typeLabel":"string\u003cuuid> | null"},"application":{"oneOf":[{"type":"object","title":"Application","description":"Application configuration and metadata","required":["id","orgId","title","slug","description","context","type","humanAnnotationEnabled"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier of the application","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.id","typeLabel":"string\u003cuuid>"},"orgId":{"type":"string","description":"Organization ID that owns this application","example":"org_123456","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.orgId","typeLabel":"string"},"title":{"type":"string","minLength":1,"description":"Title of the application","example":"Customer Support Bot","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.title","typeLabel":"string"},"slug":{"type":"string","minLength":1,"description":"URL-friendly slug for the application","example":"customer-support-bot","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.slug","typeLabel":"string"},"description":{"type":"string","description":"Description of the application","example":"AI assistant for customer support inquiries","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.description","typeLabel":"string"},"context":{"type":"string","description":"Context/instructions for the application","example":"You are a helpful customer support assistant...","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.context","typeLabel":"string"},"type":{"type":"string","enum":["CHATBOT","AGENT"],"description":"Type of the application. Valid values are CHATBOT or AGENT.","example":"CHATBOT","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.type","typeLabel":"enum\u003cstring>"},"humanAnnotationEnabled":{"type":"boolean","description":"Whether human annotation is enabled for this application","example":false,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.humanAnnotationEnabled","typeLabel":"boolean"},"language":{"default":"en","description":"Language of the application.","example":"en","type":"string","enum":["da","de","en","es","fr","it","nl","pt","sv"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.language","typeLabel":"enum\u003cstring>"},"environment":{"default":"DEV","description":"Environment of the application. Defaults to DEV.","example":"DEV","type":"string","enum":["DEV","PROD"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.environment","typeLabel":"enum\u003cstring>"},"createdAt":{"description":"When the application was created","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"modifiedAt":{"description":"When the application was last modified","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0.modifiedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.0","typeLabel":"Application · object"},{"type":"null","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application.oneOf.1","typeLabel":"null"}],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.application","typeLabel":"Application · object | null"},"topics":{"description":"Topic IDs this eval definition is linked to (for topic-scoped evals)","example":["456e4567-e89b-12d3-a456-426614174000"],"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.topics.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition.topics","typeLabel":"string\u003cuuid>[]"}},"required":["id","type","name"],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].definition","typeLabel":"object"},"createdAt":{"description":"When the evaluation was created","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"modifiedAt":{"description":"When the evaluation was last modified","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].modifiedAt","typeLabel":"string\u003cdate-time>"},"results":{"oneOf":[{"type":"object","description":"Results of the evaluation (structure depends on eval type).","required":["coherence","engagingness","naturalness","relevance","clarity","analysis"],"properties":{"coherence":{"type":"number","minimum":1,"maximum":5,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.0.coherence","typeLabel":"number"},"engagingness":{"type":"number","minimum":1,"maximum":5,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.0.engagingness","typeLabel":"number"},"naturalness":{"type":"number","minimum":1,"maximum":5,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.0.naturalness","typeLabel":"number"},"relevance":{"type":"number","minimum":1,"maximum":5,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.0.relevance","typeLabel":"number"},"clarity":{"type":"number","minimum":1,"maximum":5,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.0.clarity","typeLabel":"number"},"analysis":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.0.analysis","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Results of the evaluation (structure depends on eval type).","required":["score","analysis"],"properties":{"score":{"type":"number","minimum":1,"maximum":5,"description":"The score of the response based on the style guide from 1-5","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.1.score","typeLabel":"number"},"analysis":{"type":"string","description":"A brief explanation for your rating, referring to specific aspects of the response and the query. Make sure that the explanation is formatted as markdown, and that it is easy to read and understand.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.1.analysis","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Results of the evaluation (structure depends on eval type).","required":["ContextRelevancy","ContextPrecision","Faithfulness","AnswerRelevancy"],"properties":{"ContextRelevancy":{"type":"object","properties":{"score":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.score","typeLabel":"number"},"error":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.error","typeLabel":"string"},"metadata":{"type":"object","properties":{"relevantSentences":{"type":"array","items":{"type":"object","properties":{"sentence":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.metadata.relevantSentences.items.[INDEX].sentence","typeLabel":"string"},"reasons":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.metadata.relevantSentences.items.[INDEX].reasons.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.metadata.relevantSentences.items.[INDEX].reasons","typeLabel":"string[]"}},"required":["sentence","reasons"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.metadata.relevantSentences.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.metadata.relevantSentences","typeLabel":"object[]"}},"required":["relevantSentences"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy.metadata","typeLabel":"object"}},"required":["score"],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextRelevancy","typeLabel":"object"},"ContextPrecision":{"type":"object","properties":{"score":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextPrecision.score","typeLabel":"number"},"error":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextPrecision.error","typeLabel":"string"},"metadata":{"type":"object","properties":{"verdict":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextPrecision.metadata.verdict","typeLabel":"integer"},"reason":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextPrecision.metadata.reason","typeLabel":"string"}},"required":["verdict","reason"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextPrecision.metadata","typeLabel":"object"}},"required":["score"],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.ContextPrecision","typeLabel":"object"},"Faithfulness":{"type":"object","properties":{"score":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.score","typeLabel":"number"},"error":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.error","typeLabel":"string"},"metadata":{"type":"object","properties":{"statements":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.statements.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.statements","typeLabel":"string[]"},"faithfulness":{"type":"array","items":{"type":"object","properties":{"statement":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.faithfulness.items.[INDEX].statement","typeLabel":"string"},"reason":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.faithfulness.items.[INDEX].reason","typeLabel":"string"},"verdict":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.faithfulness.items.[INDEX].verdict","typeLabel":"integer"},"classification":{"description":"Classification of the hallucination type (only present when verdict is 0)","type":"string","enum":["UNSUPPORTED_CLAIM","CONTRADICTION","PARTIAL_HALLUCINATION","SCOPE_DRIFT"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.faithfulness.items.[INDEX].classification","typeLabel":"enum\u003cstring>"}},"required":["statement","reason","verdict"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.faithfulness.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata.faithfulness","typeLabel":"object[]"}},"required":["statements","faithfulness"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness.metadata","typeLabel":"object"}},"required":["score"],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.Faithfulness","typeLabel":"object"},"AnswerRelevancy":{"type":"object","properties":{"score":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.score","typeLabel":"number"},"error":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.error","typeLabel":"string"},"metadata":{"type":"object","properties":{"questions":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata.questions.items.[INDEX].question","typeLabel":"string"}},"required":["question"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata.questions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata.questions","typeLabel":"object[]"},"similarity":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata.similarity.items.[INDEX].question","typeLabel":"string"},"score":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata.similarity.items.[INDEX].score","typeLabel":"number"}},"required":["question","score"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata.similarity.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata.similarity","typeLabel":"object[]"}},"required":["questions","similarity"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy.metadata","typeLabel":"object"}},"required":["score"],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2.AnswerRelevancy","typeLabel":"object"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Results of the evaluation (structure depends on eval type).","required":["score"],"properties":{"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.3.score","typeLabel":"integer"},"error":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.3.error","typeLabel":"string"},"metadata":{"type":"object","properties":{"rationale":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.3.metadata.rationale","typeLabel":"string"},"choice":{"type":"string","enum":["Y","N"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.3.metadata.choice","typeLabel":"enum\u003cstring>"}},"required":["rationale"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.3.metadata","typeLabel":"object"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.3","typeLabel":"object"},{"type":"object","description":"Results of the evaluation (structure depends on eval type).","required":["score","reason"],"properties":{"score":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.score","typeLabel":"number"},"reason":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.reason","typeLabel":"string"},"expected":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.expected","typeLabel":"string"},"got":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.got","typeLabel":"string"},"expectedList":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.expectedList.items.[INDEX]","typeLabel":"string"},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.expectedList","typeLabel":"string[]"},"gotList":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.gotList.items.[INDEX]","typeLabel":"string"},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.gotList","typeLabel":"string[]"},"matchMode":{"type":"string","enum":["exact_unordered","contains"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.matchMode","typeLabel":"enum\u003cstring>"},"scoreMetric":{"type":"string","enum":["f1","precision","recall"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.scoreMetric","typeLabel":"enum\u003cstring>"},"precision":{"type":"number","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.precision","typeLabel":"number"},"recall":{"type":"number","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.recall","typeLabel":"number"},"f1":{"type":"number","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.f1","typeLabel":"number"},"tp":{"type":"number","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.tp","typeLabel":"number"},"missing":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.missing.items.[INDEX].value","typeLabel":"string"},"need":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.missing.items.[INDEX].need","typeLabel":"number"},"have":{"type":"number","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.missing.items.[INDEX].have","typeLabel":"number"}},"required":["value","need","have"],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.missing.items.[INDEX]","typeLabel":"object"},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4.missing","typeLabel":"object[]"}},"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results.oneOf.4","typeLabel":"object"}],"uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].results","typeLabel":"object"},"score":{"description":"Overall score of the evaluation","example":0.9,"type":"number","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].score","typeLabel":"number"},"passed":{"description":"Whether the evaluation passed","example":true,"type":"boolean","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].passed","typeLabel":"boolean"},"message":{"description":"Message explaining why the eval was skipped or failed","type":"string","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX].message","typeLabel":"string"}},"required":["id","orgId","status","definition"],"title":"Eval","description":"Complete evaluation information","uniqueKey":"events.items.[INDEX].oneOf.0.evals.items.[INDEX]","typeLabel":"Eval · object"},"uniqueKey":"events.items.[INDEX].oneOf.0.evals","typeLabel":"Eval · object[]"},"traceId":{"description":"Optional trace ID (UUID) for OTEL ingestion. If provided and a trace with this ID already exists, the existing trace will be reused.","example":"500cf37b-1280-4c60-8f82-531a68b8616b","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.0.traceId","typeLabel":"string\u003cuuid>"}},"uniqueKey":"events.items.[INDEX].oneOf.0","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type","modelId","event","input"],"properties":{"type":{"type":"string","const":"llm","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.1.type","typeLabel":"string"},"modelId":{"type":"string","description":"Model ID or name used for the LLM call.","example":"gpt-4o-2024-08-06","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.1.modelId","typeLabel":"string"},"event":{"type":"string","const":"start","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.1.event","typeLabel":"string"},"input":{"oneOf":[{"type":"string","description":"The input for the LLM step.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.1.input.oneOf.0","typeLabel":"string"},{"type":"object","description":"The input for the LLM step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.1.input.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.1.input.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.1.input.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The input for the LLM step.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.1.input.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.1.input","typeLabel":"string | object | any[]"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.1.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.1.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.1.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.1.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.1.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.1.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.1.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.1.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.1.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.1.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.1.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.1.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.1.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.1.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.1.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.1.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.1.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.1.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.1.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.1","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type","modelId","event"],"properties":{"type":{"type":"string","const":"llm","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.2.type","typeLabel":"string"},"modelId":{"type":"string","description":"Model ID or name used for the LLM call.","example":"gpt-4o-2024-08-06","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.2.modelId","typeLabel":"string"},"event":{"type":"string","const":"end","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.2.event","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.2.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.2.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.2.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.2.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.2.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.2.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.2.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.2.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.2.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.2.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.2.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.2.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.2.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.2.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.2.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.2.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.2.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.2.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.2.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.2.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.2.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.2.error","typeLabel":"string"},"output":{"oneOf":[{"type":"string","description":"The output for the LLM step.","uniqueKey":"events.items.[INDEX].oneOf.2.output.oneOf.0","typeLabel":"string"},{"type":"object","description":"The output for the LLM step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.2.output.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.2.output.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.2.output.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The output for the LLM step.","uniqueKey":"events.items.[INDEX].oneOf.2.output.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.2.output","typeLabel":"string | object | any[]"},"usage":{"type":"object","properties":{"promptTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of prompt tokens used by the LLM.","example":100,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.2.usage.promptTokens","typeLabel":"integer"},"completionTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of completion tokens used by the LLM.","example":100,"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.2.usage.completionTokens","typeLabel":"integer"}},"required":["promptTokens","completionTokens"],"description":"Number of input and output tokens used by the LLM.","example":{"promptTokens":100,"completionTokens":100},"uniqueKey":"events.items.[INDEX].oneOf.2.usage","typeLabel":"object"},"finishReason":{"description":"The reason the LLM stopped generating, extracted from gen_ai.response.finish_reasons.","example":"stop","type":"string","uniqueKey":"events.items.[INDEX].oneOf.2.finishReason","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.2","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type"],"properties":{"type":{"type":"string","const":"tool","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.3.type","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.3.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.3.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.3.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.3.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.3.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.3.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.3.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.3.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.3.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.3.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.3.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.3.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.3.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.3.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.3.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.3.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.3.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.3.error","typeLabel":"string"},"toolCallId":{"description":"Correlation ID from the LLM's tool_calls response (e.g., OpenAI's call_abc123 or Claude's toolu_01A09q). Links tool execution to the originating LLM request in parallel tool call scenarios.","example":"call_abc123","type":"string","uniqueKey":"events.items.[INDEX].oneOf.3.toolCallId","typeLabel":"string"},"toolInput":{"oneOf":[{"type":"string","description":"The input for the tool step.","uniqueKey":"events.items.[INDEX].oneOf.3.toolInput.oneOf.0","typeLabel":"string"},{"type":"object","description":"The input for the tool step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.toolInput.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.3.toolInput.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.toolInput.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The input for the tool step.","uniqueKey":"events.items.[INDEX].oneOf.3.toolInput.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.3.toolInput","typeLabel":"string | object | any[]"},"toolOutput":{"oneOf":[{"type":"string","description":"The output for the tool step.","uniqueKey":"events.items.[INDEX].oneOf.3.toolOutput.oneOf.0","typeLabel":"string"},{"type":"object","description":"The output for the tool step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.toolOutput.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.3.toolOutput.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.3.toolOutput.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The output for the tool step.","uniqueKey":"events.items.[INDEX].oneOf.3.toolOutput.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.3.toolOutput","typeLabel":"string | object | any[]"}},"uniqueKey":"events.items.[INDEX].oneOf.3","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type","query","result"],"properties":{"type":{"type":"string","const":"retriever","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.type","typeLabel":"string"},"query":{"oneOf":[{"type":"string","description":"The query for the retriever step.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.query.oneOf.0","typeLabel":"string"},{"type":"object","description":"The query for the retriever step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.query.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.query.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.query.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The query for the retriever step.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.query.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.query","typeLabel":"string | object | any[]"},"result":{"oneOf":[{"type":"string","description":"The result for the retriever step.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.result.oneOf.0","typeLabel":"string"},{"type":"object","description":"The result for the retriever step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.result.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.result.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.result.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The result for the retriever step.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.result.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.4.result","typeLabel":"string | object | any[]"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.4.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.4.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.4.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.4.group","typeLabel":"string"},"params":{"oneOf":[{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.4.params.oneOf.0","typeLabel":"string"},{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.params.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.4.params.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.params.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.4.params.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.4.params","typeLabel":"string | object | any[]"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.4.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.4.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.4.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.4.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.4.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.4.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.4.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.4.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.4.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.4.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.4.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.4","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type"],"properties":{"type":{"type":"string","const":"reranker","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.5.type","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.5.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.5.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.5.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.5.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.5.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.5.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.5.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.5.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.5.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.5.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.5.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.5.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.5.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.5.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.5.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.5.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.5.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.5.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.5.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.5.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.5.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.5.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.5","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type"],"properties":{"type":{"type":"string","const":"agent","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.6.type","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.6.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.6.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.6.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.6.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.6.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.6.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.6.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.6.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.6.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.6.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.6.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.6.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.6.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.6.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.6.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.6.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.6.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.6.error","typeLabel":"string"},"input":{"oneOf":[{"type":"string","description":"Agent input (JSON).","uniqueKey":"events.items.[INDEX].oneOf.6.input.oneOf.0","typeLabel":"string"},{"type":"object","description":"Agent input (JSON).","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.input.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.6.input.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.input.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"Agent input (JSON).","uniqueKey":"events.items.[INDEX].oneOf.6.input.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.6.input","typeLabel":"string | object | any[]"},"output":{"oneOf":[{"type":"string","description":"Agent output (JSON).","uniqueKey":"events.items.[INDEX].oneOf.6.output.oneOf.0","typeLabel":"string"},{"type":"object","description":"Agent output (JSON).","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.output.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.6.output.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.6.output.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"Agent output (JSON).","uniqueKey":"events.items.[INDEX].oneOf.6.output.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.6.output","typeLabel":"string | object | any[]"}},"uniqueKey":"events.items.[INDEX].oneOf.6","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type"],"properties":{"type":{"type":"string","const":"embedding","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.7.type","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.7.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.7.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.7.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.7.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.7.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.7.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.7.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.7.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.7.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.7.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.7.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.7.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.7.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.7.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.7.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.7.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.7.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.7.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.7.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.7.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.7.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.7.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.7","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type"],"properties":{"type":{"type":"string","const":"guardrail","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.8.type","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.8.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.8.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.8.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.8.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.8.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.8.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.8.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.8.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.8.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.8.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.8.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.8.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.8.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.8.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.8.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.8.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.8.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.8.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.8.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.8.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.8.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.8.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.8.error","typeLabel":"string"},"guardrailTriggered":{"description":"True when the guardrail blocked or modified the operation. Sourced from the guardrail.triggered span attribute.","example":true,"type":"boolean","uniqueKey":"events.items.[INDEX].oneOf.8.guardrailTriggered","typeLabel":"boolean"},"guardrailType":{"description":"Guardrail category (e.g. 'input', 'output', 'input_scope'). Sourced from guardrail.type.","example":"input_scope","type":"string","uniqueKey":"events.items.[INDEX].oneOf.8.guardrailType","typeLabel":"string"},"guardrailAction":{"description":"Action the guardrail took (e.g. 'block', 'allow', 'rewrite'). Sourced from guardrail.action.","example":"block","type":"string","uniqueKey":"events.items.[INDEX].oneOf.8.guardrailAction","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.8","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type"],"properties":{"type":{"type":"string","const":"evaluator","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.9.type","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.9.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.9.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.9.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.9.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.9.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.9.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.9.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.9.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.9.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.9.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.9.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.9.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.9.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.9.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.9.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.9.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.9.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.9.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.9.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.9.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.9.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.9.error","typeLabel":"string"},"evaluatorName":{"description":"Name of the evaluator.","type":"string","uniqueKey":"events.items.[INDEX].oneOf.9.evaluatorName","typeLabel":"string"},"evaluationLabel":{"description":"Classification label from the evaluation.","type":"string","uniqueKey":"events.items.[INDEX].oneOf.9.evaluationLabel","typeLabel":"string"},"evaluationScore":{"description":"Numerical score from the evaluation (0-1 range).","type":"number","minimum":0,"maximum":1,"uniqueKey":"events.items.[INDEX].oneOf.9.evaluationScore","typeLabel":"number"},"evaluationExplanation":{"oneOf":[{"type":"string","description":"Detailed explanation of the evaluation result.","uniqueKey":"events.items.[INDEX].oneOf.9.evaluationExplanation.oneOf.0","typeLabel":"string"},{"type":"object","description":"Detailed explanation of the evaluation result.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.9.evaluationExplanation.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.9.evaluationExplanation.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.9.evaluationExplanation.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"Detailed explanation of the evaluation result.","uniqueKey":"events.items.[INDEX].oneOf.9.evaluationExplanation.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.9.evaluationExplanation","typeLabel":"string | object | any[]"}},"uniqueKey":"events.items.[INDEX].oneOf.9","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type","content"],"properties":{"type":{"type":"string","const":"log","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.10.type","typeLabel":"string"},"content":{"type":"string","description":"The actual log message for this trace.","example":"Could not find the user with id 123","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.10.content","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.10.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.10.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.10.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.10.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.10.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.10.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.10.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.10.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.10.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.10.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.10.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.10.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.10.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.10.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.10.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.10.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.10.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.10.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.10.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.10.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.10.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.10.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.10","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type","key"],"properties":{"type":{"type":"string","const":"group","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.11.type","typeLabel":"string"},"key":{"type":"string","description":"A unique identifier for the grouping, which must be appended to the corresponding steps","example":"inputModeration","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.11.key","typeLabel":"string"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.11.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.11.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.11.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.11.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.11.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.11.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.11.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.11.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.11.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.11.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.11.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.11.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.11.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.11.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.11.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.11.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.11.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.11.error","typeLabel":"string"},"input":{"oneOf":[{"type":"string","description":"Input value attached to the grouping span (JSON or string).","uniqueKey":"events.items.[INDEX].oneOf.11.input.oneOf.0","typeLabel":"string"},{"type":"object","description":"Input value attached to the grouping span (JSON or string).","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.input.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.11.input.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.input.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"Input value attached to the grouping span (JSON or string).","uniqueKey":"events.items.[INDEX].oneOf.11.input.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.11.input","typeLabel":"string | object | any[]"},"output":{"oneOf":[{"type":"string","description":"Output value attached to the grouping span (JSON or string).","uniqueKey":"events.items.[INDEX].oneOf.11.output.oneOf.0","typeLabel":"string"},{"type":"object","description":"Output value attached to the grouping span (JSON or string).","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.output.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.11.output.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.11.output.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"Output value attached to the grouping span (JSON or string).","uniqueKey":"events.items.[INDEX].oneOf.11.output.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"events.items.[INDEX].oneOf.11.output","typeLabel":"string | object | any[]"},"guardrailTriggered":{"description":"True when a guardrail blocked or modified the grouped operation. Sourced from the guardrail.triggered span attribute.","example":true,"type":"boolean","uniqueKey":"events.items.[INDEX].oneOf.11.guardrailTriggered","typeLabel":"boolean"},"guardrailType":{"description":"Guardrail category that fired (e.g. 'input_scope', 'safety'). Sourced from guardrail.type.","example":"input_scope","type":"string","uniqueKey":"events.items.[INDEX].oneOf.11.guardrailType","typeLabel":"string"},"guardrailAction":{"description":"Action the guardrail took (e.g. 'block', 'allow', 'rewrite'). Sourced from guardrail.action.","example":"block","type":"string","uniqueKey":"events.items.[INDEX].oneOf.11.guardrailAction","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.11","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type","content"],"properties":{"type":{"type":"string","const":"response","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.12.type","typeLabel":"string"},"content":{"oneOf":[{"type":"string","description":"The response content from the AI to the user.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.12.content.oneOf.0","typeLabel":"string"},{"type":"object","description":"The response content from the AI to the user.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.12.content.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.12.content.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.12.content.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The response content from the AI to the user.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.12.content.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.12.content","typeLabel":"string | object | any[]"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.12.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.12.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.12.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.12.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.12.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.12.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.12.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.12.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.12.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.12.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.12.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.12.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.12.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.12.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.12.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.12.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.12.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.12.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.12.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.12.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.12.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.12.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.12.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.12","typeLabel":"Ingest Event · object"},{"type":"object","title":"Ingest Event","description":"An event represents one step in the interaction with your AI application, such as a RAG call, reranker, tool call, LLM trigger, agent orchestration, embedding, guardrail check, evaluator, response, or user request.","required":["type","content"],"properties":{"type":{"type":"string","const":"request","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.13.type","typeLabel":"string"},"content":{"oneOf":[{"type":"string","description":"The request content from the user to the AI.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.13.content.oneOf.0","typeLabel":"string"},{"type":"object","description":"The request content from the user to the AI.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.13.content.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.13.content.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.13.content.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"The request content from the user to the AI.","isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.13.content.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].oneOf.13.content","typeLabel":"string | object | any[]"},"traceId":{"description":"The trace ID (UUID).","type":"string","uniqueKey":"events.items.[INDEX].oneOf.13.traceId","typeLabel":"string"},"timestamp":{"description":"When the step was created","example":"2025-01-05T12:34:56.789123Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.13.timestamp","typeLabel":"string\u003cdate-time>"},"name":{"description":"The name of the step.","example":"Moderation","type":"string","uniqueKey":"events.items.[INDEX].oneOf.13.name","typeLabel":"string"},"group":{"description":"Optionally, the key for a group step to group the step with.","example":"inputModeration","type":"string","uniqueKey":"events.items.[INDEX].oneOf.13.group","typeLabel":"string"},"params":{"oneOf":[{"type":"object","description":"Arbitrary params for the step.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.13.params.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.13.params.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.13.params.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.13.params.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Arbitrary params for the step.","uniqueKey":"events.items.[INDEX].oneOf.13.params.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.13.params","typeLabel":"object | any[] | string"},"metadata":{"oneOf":[{"type":"object","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","additionalProperties":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.13.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"events.items.[INDEX].oneOf.13.metadata.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"events.items.[INDEX].oneOf.13.metadata.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.13.metadata.oneOf.1","typeLabel":"any[]"},{"type":"string","description":"Extra metadata about this trace event. String values are parsed as JSON if possible, otherwise wrapped in { raw: val }.","uniqueKey":"events.items.[INDEX].oneOf.13.metadata.oneOf.2","typeLabel":"string"}],"uniqueKey":"events.items.[INDEX].oneOf.13.metadata","typeLabel":"object | any[] | string"},"parentId":{"description":"Parent step ID for hierarchical span relationships. Links this step to its parent in the trace tree.","example":"456e7890-e89b-12d3-a456-426614174001","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"events.items.[INDEX].oneOf.13.parentId","typeLabel":"string\u003cuuid>"},"endTime":{"description":"When the step ended (for duration tracking)","example":"2025-01-05T12:34:57.123456Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"events.items.[INDEX].oneOf.13.endTime","typeLabel":"string\u003cdate-time>"},"durationMs":{"description":"Duration of the step in milliseconds","example":334,"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"events.items.[INDEX].oneOf.13.durationMs","typeLabel":"integer"},"costAmount":{"description":"Cost of the step in the configured currency (primarily for LLM steps)","example":0.0035,"type":"number","minimum":0,"uniqueKey":"events.items.[INDEX].oneOf.13.costAmount","typeLabel":"number"},"status":{"default":"success","description":"Status of the step indicating success or failure. Defaults to 'success'.","example":"success","type":"string","enum":["success","error","timeout","pending"],"uniqueKey":"events.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"},"statusCode":{"description":"Status code associated with the step (e.g., HTTP status code for API calls, OTEL status code for traced spans).","example":"200","type":"string","uniqueKey":"events.items.[INDEX].oneOf.13.statusCode","typeLabel":"string"},"error":{"description":"Error message or stack trace if the step failed.","example":"TimeoutError: Request timed out after 30s","type":"string","uniqueKey":"events.items.[INDEX].oneOf.13.error","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX].oneOf.13","typeLabel":"Ingest Event · object"}],"uniqueKey":"events.items.[INDEX]","typeLabel":"Ingest Event · object"},"description":"Array of events to be ingested, which can be traces or steps.","example":[{"type":"trace","timestamp":"2025-01-01T12:00:00Z","referenceId":"123e4567-e89b-12d3-a456-426614174000","metadata":{"source":"chatbot"}},{"type":"llm","event":"start","traceId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-01-01T12:01:00Z","modelId":"gpt-4o-2024-08-06","params":{"temperature":1.2},"input":[{"role":"user","content":"Tell me a joke."}]}],"isRequired":true,"uniqueKey":"events","typeLabel":"Ingest Event · object[]"}},"required":["events"],"additionalProperties":false,"title":"Ingest Events Request","description":"Request schema for ingesting events into the system.","uniqueKey":"","typeLabel":"Ingest Events Request · object"},"examples":{"Example":{"title":"Example","value":{"events":[{"type":"trace","timestamp":"2025-01-01T12:00:00Z","referenceId":"123e4567-e89b-12d3-a456-426614174000","metadata":{"source":"chatbot"}},{"type":"llm","event":"start","traceId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-01-01T12:01:00Z","modelId":"gpt-4o-2024-08-06","params":{"temperature":1.2},"input":[{"role":"user","content":"Tell me a joke."}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"963dd7df-b6ac-49a5-875f-7fe925794f05":{"description":"Successfully ingested events.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the event(s) were successfully ingested.","example":true,"isRequired":true,"uniqueKey":"data.items.[INDEX].success","typeLabel":"boolean"},"id":{"description":"Trace ID if the event was a trace. Not returned for steps.","example":"123e4567-e89b-12d3-a456-426614174000","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"data.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"error":{"description":"Error message if ingestion failed.","example":"Failed to write to database","type":"string","uniqueKey":"data.items.[INDEX].error","typeLabel":"string"}},"required":["success"],"additionalProperties":false,"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"description":"Array of results for each ingested event.","isRequired":true,"uniqueKey":"data","typeLabel":"object[]"}},"required":["data"],"additionalProperties":false,"title":"Ingest Success Response","description":"Response schema for successful event ingestion.","uniqueKey":"","typeLabel":"Ingest Success Response · object"},"examples":{"Example":{"title":"Example","value":{"data":[{"success":true,"id":"123e4567-e89b-12d3-a456-426614174000","error":"Failed to write to database"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"73f07e9e-a4bc-4f30-93ee-5cc6b5a20684":{"description":"bad request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"02ebfbaa-9932-4a2e-9d50-6d689ad57c82":{"description":"unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"f2eca9d0-56a3-40dd-a103-eb5112866387":{"description":"forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"e4e1c534-5758-42fb-8775-a0987f3084a2":{"description":"invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message indicating what went wrong.","example":"Invalid request data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string[]"}},"required":["code","message","path"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Array of detailed validation error objects.","example":[{"code":"invalid_string","message":"Invalid UUID","path":["id"]}],"isRequired":true,"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","issues"],"additionalProperties":false,"title":"ValidationErrorResponse","description":"Details about validation errors in incoming requests.","uniqueKey":"","typeLabel":"ValidationErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid request data","issues":[{"code":"invalid_string","message":"Invalid UUID","path":["id"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"32e625f8-1740-44aa-9dfc-b025101adec1":{"description":"internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7bf9289a-dbe8-45a8-acf7-c0f9d38ed7de":{"ApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your unique Avido API key","scopes":[]},"ApplicationId":{"type":"apiKey","in":"header","name":"x-application-id","description":"Your unique Avido Application ID","scopes":[]}}},"servers":{"4f236849-7374-466a-8918-4cd00576ab95":{"url":"https://api.avidoai.com","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your unique Avido API key","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"Your unique Avido API key","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"x-api-key"},{"scheme":{"type":"apiKey","in":"header","name":"x-application-id","description":"Your unique Avido Application ID","scopes":[]},"schema":{"title":"x-application-id","type":"string","description":"Your unique Avido Application ID","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApplicationId","name":"x-application-id"}],"title":"ApiKey \u0026 ApplicationId"}]},"originalFileLocation":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml"},"subdomain":"avido","siteName":"Avido","title":"Ingest events - Avido","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-16T15:31:42.936Z","originalFileLocation":"api-reference/ingestion/ingest-events.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Ingest an array of events (traces or steps) to store and process.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Avido\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ingest events - Avido\">\u003cmeta data-mint-head property=\"og:description\" content=\"Ingest an array of events (traces or steps) to store and process.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Avido\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.avidoai.com/api-reference/ingestion/ingest-events\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://avido.mintlify.site/_mintlify/api/og/v2?division=Ingestion\u0026amp;title=Ingest+events\u0026amp;description=Ingest+an+array+of+events+%28traces+or+steps%29+to+store+and+process.\u0026amp;theme=e07ea333fbdf8fee4ec3cbf2\u0026amp;signature=4035d172344d84147a295eee3e1f290c4307c69e9f8f3a1dfa65299c2c663697\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Ingest events - Avido\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Ingest an array of events (traces or steps) to store and process.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://avido.mintlify.site/_mintlify/api/og/v2?division=Ingestion\u0026amp;title=Ingest+events\u0026amp;description=Ingest+an+array+of+events+%28traces+or+steps%29+to+store+and+process.\u0026amp;theme=e07ea333fbdf8fee4ec3cbf2\u0026amp;signature=4035d172344d84147a295eee3e1f290c4307c69e9f8f3a1dfa65299c2c663697\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Avido\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF7514\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.avidoai.com/api-reference/ingestion/ingest-events\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ingestion/ingest-events.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.avidoai.com/#organization\",\"name\":\"Avido\",\"url\":\"https://docs.avidoai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.avidoai.com#website\",\"name\":\"Avido\",\"url\":\"https://docs.avidoai.com\",\"publisher\":{\"@id\":\"https://docs.avidoai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events#webpage\",\"url\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events\",\"name\":\"Ingest events\",\"description\":\"Ingest an array of events (traces or steps) to store and process.\",\"dateModified\":\"2026-07-16T15:31:42.936Z\",\"isPartOf\":{\"@id\":\"https://docs.avidoai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Avido\",\"item\":\"https://docs.avidoai.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ingest events\",\"item\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events#apireference\",\"headline\":\"Ingest events\",\"name\":\"Ingest events\",\"description\":\"Ingest an array of events (traces or steps) to store and process.\",\"url\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events\",\"mainEntityOfPage\":{\"@id\":\"https://docs.avidoai.com/api-reference/ingestion/ingest-events#webpage\"},\"dateModified\":\"2026-07-16T15:31:42.936Z\",\"publisher\":{\"@id\":\"https://docs.avidoai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.avidoai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Avido\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Avido\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/ingestion/ingest-events.md","siteName":"Avido","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/changelog"}]},{"tab":"API Reference","groups":[{"group":"Webhook","pages":[{"title":"Validate an incoming webhook request","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/validate-webhook","href":"/api-reference/webhook/validate-an-incoming-webhook-request"},{"title":"Get webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/webhook","href":"/api-reference/webhook/get-webhook-configuration-for-an-application"},{"title":"Create or update webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/webhook","href":"/api-reference/webhook/create-or-update-webhook-configuration-for-an-application"},{"title":"Delete webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/webhook","href":"/api-reference/webhook/delete-webhook-configuration-for-an-application"},{"title":"Test webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/webhook/test","href":"/api-reference/webhook/test-webhook-configuration-for-an-application"}]},{"group":"Assistant","pages":[{"title":"Stream assistant response","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/assistant/chat","href":"/api-reference/assistant/stream-assistant-response"}]},{"group":"Authentication","pages":[{"title":"List enabled auth providers","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/providers","href":"/api-reference/authentication/list-enabled-auth-providers"},{"title":"Get current session","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/session","href":"/api-reference/authentication/get-current-session"},{"title":"List organizations for current session","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/organizations","href":"/api-reference/authentication/list-organizations-for-current-session"},{"title":"Set active organization for current session","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/auth/organizations/set-active","href":"/api-reference/authentication/set-active-organization-for-current-session"},{"title":"Get a public preview of an organization invitation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/invitation-preview","href":"/api-reference/authentication/get-a-public-preview-of-an-organization-invitation"}]},{"group":"Setup","pages":[{"title":"Get install setup status","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/setup/status","href":"/api-reference/setup/get-install-setup-status"}]},{"group":"App Config","pages":[{"title":"Get app config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/app-config","href":"/api-reference/app-config/get-app-config"}]},{"group":"Applications","pages":[{"title":"List applications","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications","href":"/api-reference/applications/list-applications"},{"title":"Create a new application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/applications","href":"/api-reference/applications/create-a-new-application"},{"title":"Get a single application by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications/{id}","href":"/api-reference/applications/get-a-single-application-by-id"},{"title":"Update an existing application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/applications/{id}","href":"/api-reference/applications/update-an-existing-application"},{"title":"Get a single application by slug","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications/by-slug/{slug}","href":"/api-reference/applications/get-a-single-application-by-slug"}]},{"group":"Application Chatbot Config","pages":[{"title":"Get application chatbot config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications/{id}/chatbot-config","href":"/api-reference/application-chatbot-config/get-application-chatbot-config"},{"title":"Update application chatbot config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/applications/{id}/chatbot-config","href":"/api-reference/application-chatbot-config/update-application-chatbot-config"},{"title":"Stream application chatbot playground response","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/applications/{id}/chatbot/chat","href":"/api-reference/application-chatbot-config/stream-application-chatbot-playground-response"}]},{"group":"API Keys","pages":[{"title":"List API keys for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/api-keys","href":"/api-reference/api-keys/list-api-keys-for-an-application"},{"title":"Create an API key for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/api-keys","href":"/api-reference/api-keys/create-an-api-key-for-an-application"},{"title":"Delete an API key","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/api-keys/{keyId}","href":"/api-reference/api-keys/delete-an-api-key"}]},{"group":"Feedback","pages":[{"title":"Send product feedback","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/feedback","href":"/api-reference/feedback/send-product-feedback"}]},{"group":"Traces","pages":[{"title":"List Traces","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces","href":"/api-reference/traces/list-traces"},{"title":"Get a single trace by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces/{id}","href":"/api-reference/traces/get-a-single-trace-by-id"},{"title":"Get a single trace by Test ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces/by-test/{id}","href":"/api-reference/traces/get-a-single-trace-by-test-id"},{"title":"List Trace Sessions","description":"Retrieve traces grouped by referenceId with aggregated metrics.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces/sessions","href":"/api-reference/traces/list-trace-sessions"}]},{"group":"Ingestion","pages":[{"title":"Ingest events","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/ingest","href":"/api-reference/ingestion/ingest-events"},{"title":"Ingest OTLP traces","description":"Ingest OpenTelemetry Protocol (OTLP) traces in JSON format. Converts OTLP spans to Avido events and processes them through the standard ingestion pipeline. Supports OpenInference semantic conventions for LLM, tool, retriever, and other span types.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/otel/traces","href":"/api-reference/ingestion/ingest-otlp-traces"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create a new task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks","href":"/api-reference/tasks/create-a-new-task"},{"title":"Bulk update tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml patch /v0/tasks","href":"/api-reference/tasks/bulk-update-tasks"},{"title":"Bulk delete tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/delete","href":"/api-reference/tasks/bulk-delete-tasks"},{"title":"Bulk archive tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/archive","href":"/api-reference/tasks/bulk-archive-tasks"},{"title":"Get task IDs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/ids","href":"/api-reference/tasks/get-task-ids"},{"title":"Get a single task by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/{id}","href":"/api-reference/tasks/get-a-single-task-by-id"},{"title":"Update an existing task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/tasks/{id}","href":"/api-reference/tasks/update-an-existing-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/tasks/{id}","href":"/api-reference/tasks/delete-a-task"},{"title":"Get task coverage statistics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/task-coverage","href":"/api-reference/tasks/get-task-coverage-statistics"},{"title":"Run a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/trigger","href":"/api-reference/tasks/run-a-task"},{"title":"List installed task templates","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/template","href":"/api-reference/tasks/list-installed-task-templates"},{"title":"Install a task template","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/template","href":"/api-reference/tasks/install-a-task-template"},{"title":"Upload tasks via CSV file","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/upload-csv","href":"/api-reference/tasks/upload-tasks-via-csv-file"},{"title":"Add tags to multiple tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/tags","href":"/api-reference/tasks/add-tags-to-multiple-tasks"}]},{"group":"Task Schedules","pages":[{"title":"Create or update a task schedule","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/schedule","href":"/api-reference/task-schedules/create-or-update-a-task-schedule"},{"title":"Get task schedule","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/{id}/schedule","href":"/api-reference/task-schedules/get-task-schedule"},{"title":"Delete task schedule","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/tasks/{id}/schedule","href":"/api-reference/task-schedules/delete-task-schedule"}]},{"group":"Eval Definitions","pages":[{"title":"Link an evaluation definition to a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/link","href":"/api-reference/eval-definitions/link-an-evaluation-definition-to-a-task"},{"title":"Unlink an evaluation definition from a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/unlink","href":"/api-reference/eval-definitions/unlink-an-evaluation-definition-from-a-task"},{"title":"Update task-specific config for an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/definitions/{id}/tasks/{taskId}","href":"/api-reference/eval-definitions/update-task-specific-config-for-an-evaluation-definition"},{"title":"Link evaluation definitions to topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/link-topics","href":"/api-reference/eval-definitions/link-evaluation-definitions-to-topics"},{"title":"Unlink evaluation definitions from topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/unlink-topics","href":"/api-reference/eval-definitions/unlink-evaluation-definitions-from-topics"},{"title":"Link evaluation definitions to the application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/link-application","href":"/api-reference/eval-definitions/link-evaluation-definitions-to-the-application"},{"title":"Unlink evaluation definitions from the application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/unlink-application","href":"/api-reference/eval-definitions/unlink-evaluation-definitions-from-the-application"},{"title":"Get application-level evaluation definitions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/definitions/application","href":"/api-reference/eval-definitions/get-application-level-evaluation-definitions"},{"title":"List evaluation definitions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/definitions","href":"/api-reference/eval-definitions/list-evaluation-definitions"},{"title":"Create an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions","href":"/api-reference/eval-definitions/create-an-evaluation-definition"},{"title":"Update an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/definitions/{id}","href":"/api-reference/eval-definitions/update-an-evaluation-definition"},{"title":"Delete an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/definitions/{id}","href":"/api-reference/eval-definitions/delete-an-evaluation-definition"}]},{"group":"Experiments","pages":[{"title":"List experiments","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/experiments","href":"/api-reference/experiments/list-experiments"},{"title":"Create an experiment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/experiments","href":"/api-reference/experiments/create-an-experiment"},{"title":"Get an experiment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/experiments/{id}","href":"/api-reference/experiments/get-an-experiment"},{"title":"Update an experiment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/experiments/{id}","href":"/api-reference/experiments/update-an-experiment"},{"title":"List experiment variants","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/experiments/{id}/variants","href":"/api-reference/experiments/list-experiment-variants"},{"title":"Create an experiment variant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/experiments/{id}/variants","href":"/api-reference/experiments/create-an-experiment-variant"},{"title":"Update experiment variant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/experiments/{id}/variants/{variantId}","href":"/api-reference/experiments/update-experiment-variant"},{"title":"Trigger experiment variant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/experiments/{id}/variants/{variantId}/trigger","href":"/api-reference/experiments/trigger-experiment-variant"}]},{"group":"Facts","pages":[{"title":"List facts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/facts","href":"/api-reference/facts/list-facts"},{"title":"Bulk create facts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/facts/bulk","href":"/api-reference/facts/bulk-create-facts"},{"title":"Verify or unverify facts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/facts/verify","href":"/api-reference/facts/verify-or-unverify-facts"},{"title":"Get a single fact by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/facts/{id}","href":"/api-reference/facts/get-a-single-fact-by-id"},{"title":"Update a fact's statement","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/facts/{id}","href":"/api-reference/facts/update-a-facts-statement"},{"title":"Delete a fact","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/facts/{id}","href":"/api-reference/facts/delete-a-fact"}]},{"group":"Inference Steps","pages":[{"title":"List inference steps","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/inference-steps","href":"/api-reference/inference-steps/list-inference-steps"},{"title":"Create an inference step","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/inference-steps","href":"/api-reference/inference-steps/create-an-inference-step"}]},{"group":"Evals","pages":[{"title":"List tests","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tests","href":"/api-reference/evals/list-tests"}]},{"group":"Tests","pages":[{"title":"Get a single test by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tests/{id}","href":"/api-reference/tests/get-a-single-test-by-id"}]},{"group":"Topics","pages":[{"title":"List topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/topics","href":"/api-reference/topics/list-topics"},{"title":"Create a new topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/topics","href":"/api-reference/topics/create-a-new-topic"},{"title":"Bulk update topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml patch /v0/topics","href":"/api-reference/topics/bulk-update-topics"},{"title":"Bulk archive topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/topics/archive","href":"/api-reference/topics/bulk-archive-topics"},{"title":"Get topic IDs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/topics/ids","href":"/api-reference/topics/get-topic-ids"},{"title":"Get a single topic by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/topics/{id}","href":"/api-reference/topics/get-a-single-topic-by-id"},{"title":"Update a topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/topics/{id}","href":"/api-reference/topics/update-a-topic"},{"title":"Delete a topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/topics/{id}","href":"/api-reference/topics/delete-a-topic"},{"title":"Archive a topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/topics/{id}/archive","href":"/api-reference/topics/archive-a-topic"}]},{"group":"Annotations","pages":[{"title":"List annotations","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/annotations","href":"/api-reference/annotations/list-annotations"},{"title":"Create a new annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/annotations","href":"/api-reference/annotations/create-a-new-annotation"},{"title":"Get a single annotation by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/annotations/{id}","href":"/api-reference/annotations/get-a-single-annotation-by-id"},{"title":"Update an annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/annotations/{id}","href":"/api-reference/annotations/update-an-annotation"},{"title":"Delete an annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/annotations/{id}","href":"/api-reference/annotations/delete-an-annotation"}]},{"group":"Issues","pages":[{"title":"List issues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues","href":"/api-reference/issues/list-issues"},{"title":"Create a new issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/issues","href":"/api-reference/issues/create-a-new-issue"},{"title":"Bulk update issues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml patch /v0/issues","href":"/api-reference/issues/bulk-update-issues"},{"title":"List minimal issues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues/minimal","href":"/api-reference/issues/list-minimal-issues"},{"title":"Get a single issue by ID with duplicates","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues/{id}","href":"/api-reference/issues/get-a-single-issue-by-id-with-duplicates"},{"title":"Update an issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/issues/{id}","href":"/api-reference/issues/update-an-issue"},{"title":"Delete an issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/issues/{id}","href":"/api-reference/issues/delete-an-issue"},{"title":"Get suggested task for an issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues/{id}/suggested-task","href":"/api-reference/issues/get-suggested-task-for-an-issue"},{"title":"Update and activate suggested task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/issues/{id}/suggested-task","href":"/api-reference/issues/update-and-activate-suggested-task"}]},{"group":"Assignments","pages":[{"title":"List assignments for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/assignments","href":"/api-reference/assignments/list-assignments-for-a-quickstart"},{"title":"Create a new assignment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts/{id}/assignments","href":"/api-reference/assignments/create-a-new-assignment"},{"title":"Bulk reassign assignments","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}/assignments/bulk","href":"/api-reference/assignments/bulk-reassign-assignments"},{"title":"Bulk create assignments","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts/{id}/assignments/bulk","href":"/api-reference/assignments/bulk-create-assignments"},{"title":"Get a single assignment by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/assignments/{assignmentId}","href":"/api-reference/assignments/get-a-single-assignment-by-id"},{"title":"Update an assignment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}/assignments/{assignmentId}","href":"/api-reference/assignments/update-an-assignment"},{"title":"Delete an assignment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/quickstarts/{id}/assignments/{assignmentId}","href":"/api-reference/assignments/delete-an-assignment"}]},{"group":"Contradictions","pages":[{"title":"List contradictions for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/contradictions","href":"/api-reference/contradictions/list-contradictions-for-a-quickstart"},{"title":"Update a contradiction","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}/contradictions/{contradictionId}","href":"/api-reference/contradictions/update-a-contradiction"},{"title":"Delete a contradiction","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/quickstarts/{id}/contradictions/{contradictionId}","href":"/api-reference/contradictions/delete-a-contradiction"},{"title":"Accept all unresolved contradictions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts/{id}/contradictions/accept-all","href":"/api-reference/contradictions/accept-all-unresolved-contradictions"}]},{"group":"Runs","pages":[{"title":"List runs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/runs","href":"/api-reference/runs/list-runs"},{"title":"Get a single run by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/runs/{id}","href":"/api-reference/runs/get-a-single-run-by-id"}]},{"group":"Style Guides","pages":[{"title":"List style guides","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/style-guides","href":"/api-reference/style-guides/list-style-guides"},{"title":"Create a new style guide","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/style-guides","href":"/api-reference/style-guides/create-a-new-style-guide"},{"title":"Get a single style guide by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/style-guides/{id}","href":"/api-reference/style-guides/get-a-single-style-guide-by-id"},{"title":"Update a style guide","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/style-guides/{id}","href":"/api-reference/style-guides/update-a-style-guide"}]},{"group":"Documents","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents","href":"/api-reference/documents/list-documents"},{"title":"Create a new document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents","href":"/api-reference/documents/create-a-new-document"},{"title":"Get document counts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/count","href":"/api-reference/documents/get-document-counts"},{"title":"Get document counts by assignee","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/count-by-assignee","href":"/api-reference/documents/get-document-counts-by-assignee"},{"title":"Delete multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/delete","href":"/api-reference/documents/delete-multiple-documents"},{"title":"Bulk export documents as CSV","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/export/csv","href":"/api-reference/documents/bulk-export-documents-as-csv"},{"title":"Get all document IDs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/ids","href":"/api-reference/documents/get-all-document-ids"},{"title":"Bulk optimize multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/optimize","href":"/api-reference/documents/bulk-optimize-multiple-documents"},{"title":"Bulk update status of multiple document versions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/status","href":"/api-reference/documents/bulk-update-status-of-multiple-document-versions"},{"title":"Bulk activate latest versions of multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/activate-latest","href":"/api-reference/documents/bulk-activate-latest-versions-of-multiple-documents"},{"title":"Get a single document by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}","href":"/api-reference/documents/get-a-single-document-by-id"},{"title":"Update a document's topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}","href":"/api-reference/documents/update-a-documents-topic"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/documents/{id}","href":"/api-reference/documents/delete-a-document"},{"title":"Assign a document to a user","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/assign","href":"/api-reference/documents/assign-a-document-to-a-user"},{"title":"Remove assignee from a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/documents/{id}/assign","href":"/api-reference/documents/remove-assignee-from-a-document"},{"title":"Optimize a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/{id}/optimize","href":"/api-reference/documents/optimize-a-document"},{"title":"Update a document version","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/versions/{versionNumber}","href":"/api-reference/documents/update-a-document-version"},{"title":"Upload documents via CSV, PDF, or XLSX file","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/upload","href":"/api-reference/documents/upload-documents-via-csv-pdf-or-xlsx-file"},{"title":"Upload a batch of markdown documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/upload-markdown-batch","href":"/api-reference/documents/upload-a-batch-of-markdown-documents"},{"title":"Add tags to multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/tags","href":"/api-reference/documents/add-tags-to-multiple-documents"}]},{"group":"Document Versions","pages":[{"title":"List all versions of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}/versions","href":"/api-reference/document-versions/list-all-versions-of-a-document"},{"title":"Create a new version of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/{id}/versions","href":"/api-reference/document-versions/create-a-new-version-of-a-document"},{"title":"Get a specific version of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}/versions/{versionNumber}","href":"/api-reference/document-versions/get-a-specific-version-of-a-document"},{"title":"Activate a specific version of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/versions/{versionNumber}/activate","href":"/api-reference/document-versions/activate-a-specific-version-of-a-document"}]},{"group":"Document Tests","pages":[{"title":"List document tests","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/tests","href":"/api-reference/document-tests/list-document-tests"},{"title":"Trigger document test","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/tests/trigger","href":"/api-reference/document-tests/trigger-document-test"},{"title":"Get document test detail","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/tests/{id}","href":"/api-reference/document-tests/get-document-test-detail"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tags","href":"/api-reference/tags/list-tags"},{"title":"Create a new tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tags","href":"/api-reference/tags/create-a-new-tag"},{"title":"Get a single tag by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tags/{id}","href":"/api-reference/tags/get-a-single-tag-by-id"},{"title":"Update an existing tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/tags/{id}","href":"/api-reference/tags/update-an-existing-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/tags/{id}","href":"/api-reference/tags/delete-a-tag"},{"title":"Archive a tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tags/{id}/archive","href":"/api-reference/tags/archive-a-tag"}]},{"group":"Document Tags","pages":[{"title":"Get tags for a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}/tags","href":"/api-reference/document-tags/get-tags-for-a-document"},{"title":"Update document tags","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/tags","href":"/api-reference/document-tags/update-document-tags"}]},{"group":"Task Tags","pages":[{"title":"Get tags for a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/{id}/tags","href":"/api-reference/task-tags/get-tags-for-a-task"},{"title":"Update task tags","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/tasks/{id}/tags","href":"/api-reference/task-tags/update-task-tags"}]},{"group":"Scrape Jobs","pages":[{"title":"List all scrape jobs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/scrape-jobs","href":"/api-reference/scrape-jobs/list-all-scrape-jobs"},{"title":"Create a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/scrape-jobs","href":"/api-reference/scrape-jobs/create-a-scrape-job"},{"title":"Create a bulk scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/scrape-jobs/bulk","href":"/api-reference/scrape-jobs/create-a-bulk-scrape-job"},{"title":"Get a scrape job by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/scrape-jobs/{id}","href":"/api-reference/scrape-jobs/get-a-scrape-job-by-id"},{"title":"Update a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/scrape-jobs/{id}","href":"/api-reference/scrape-jobs/update-a-scrape-job"},{"title":"Delete a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/scrape-jobs/{id}","href":"/api-reference/scrape-jobs/delete-a-scrape-job"},{"title":"Start scraping all pages of a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/scrape-jobs/{id}/start","href":"/api-reference/scrape-jobs/start-scraping-all-pages-of-a-scrape-job"}]},{"group":"QuickstartsV2","pages":[{"title":"List quickstarts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts","href":"/api-reference/quickstartsv2/list-quickstarts"},{"title":"Create a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts","href":"/api-reference/quickstartsv2/create-a-quickstart"},{"title":"Get a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}","href":"/api-reference/quickstartsv2/get-a-quickstart"},{"title":"Update a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}","href":"/api-reference/quickstartsv2/update-a-quickstart"},{"title":"Delete a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/quickstarts/{id}","href":"/api-reference/quickstartsv2/delete-a-quickstart"},{"title":"List topics for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics","href":"/api-reference/quickstartsv2/list-topics-for-a-quickstart"},{"title":"List tasks for a quickstart topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics/{topicId}/tasks","href":"/api-reference/quickstartsv2/list-tasks-for-a-quickstart-topic"},{"title":"List topics for a quickstart with document statistics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/document-topics","href":"/api-reference/quickstartsv2/list-topics-for-a-quickstart-with-document-statistics"},{"title":"List documents for a quickstart topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics/{topicId}/documents","href":"/api-reference/quickstartsv2/list-documents-for-a-quickstart-topic"},{"title":"List generated articles for a quickstart topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics/{topicId}/generated-articles","href":"/api-reference/quickstartsv2/list-generated-articles-for-a-quickstart-topic"},{"title":"Get KB material counts for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/kb-material-counts","href":"/api-reference/quickstartsv2/get-kb-material-counts-for-a-quickstart"},{"title":"Get policy eval counts for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/policy-counts","href":"/api-reference/quickstartsv2/get-policy-eval-counts-for-a-quickstart"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/conversations/{id}","href":"/api-reference/conversations/get-a-conversation"},{"title":"Translate a conversation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/conversations/{id}/translate","href":"/api-reference/conversations/translate-a-conversation"},{"title":"Upload conversations via CSV file","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/conversations/upload","href":"/api-reference/conversations/upload-conversations-via-csv-file"}]},{"group":"FileProcessings","pages":[{"title":"List file processings","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/file-processings","href":"/api-reference/fileprocessings/list-file-processings"}]},{"group":"File Processings","pages":[{"title":"Delete a file processing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/file-processings/{id}","href":"/api-reference/file-processings/delete-a-file-processing"}]},{"group":"Reports","pages":[{"title":"List reports","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting","href":"/api-reference/reports/list-reports"},{"title":"Create a new report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/reporting","href":"/api-reference/reports/create-a-new-report"},{"title":"Get a single report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/{id}","href":"/api-reference/reports/get-a-single-report"},{"title":"Update a report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/reporting/{id}","href":"/api-reference/reports/update-a-report"},{"title":"Delete a report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/reporting/{id}","href":"/api-reference/reports/delete-a-report"},{"title":"Get eval stats aggregated by date","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-date","href":"/api-reference/reports/get-eval-stats-aggregated-by-date"},{"title":"Get eval stats aggregated by date and eval definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-date-and-definition","href":"/api-reference/reports/get-eval-stats-aggregated-by-date-and-eval-definition"},{"title":"Get eval stats aggregated by date and topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-date-and-topic","href":"/api-reference/reports/get-eval-stats-aggregated-by-date-and-topic"},{"title":"Get eval stats aggregated by eval definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-definition","href":"/api-reference/reports/get-eval-stats-aggregated-by-eval-definition"},{"title":"Query reporting data","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/reporting/query","href":"/api-reference/reports/query-reporting-data"},{"title":"List available datasources","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/datasources","href":"/api-reference/reports/list-available-datasources"},{"title":"Get columns for a datasource","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/datasources/{id}/columns","href":"/api-reference/reports/get-columns-for-a-datasource"},{"title":"Get context-aware columns for a datasource","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/reporting/datasources/{id}/columns","href":"/api-reference/reports/get-context-aware-columns-for-a-datasource"},{"title":"Get distinct values for a column","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/datasources/{id}/columns/{columnId}/values","href":"/api-reference/reports/get-distinct-values-for-a-column"},{"title":"Get human annotation stats aggregated by date","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/human-annotation-stats/by-date","href":"/api-reference/reports/get-human-annotation-stats-aggregated-by-date"}]},{"group":"Model Pricing","pages":[{"title":"List model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/model-pricing","href":"/api-reference/model-pricing/list-model-pricing"},{"title":"Create model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/model-pricing","href":"/api-reference/model-pricing/create-model-pricing"},{"title":"Get model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/model-pricing/{id}","href":"/api-reference/model-pricing/get-model-pricing"},{"title":"Update model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/model-pricing/{id}","href":"/api-reference/model-pricing/update-model-pricing"},{"title":"Delete model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/model-pricing/{id}","href":"/api-reference/model-pricing/delete-model-pricing"}]},{"group":"Organization Config","pages":[{"title":"Get organization config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/org-config","href":"/api-reference/organization-config/get-organization-config"},{"title":"Update organization config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/org-config","href":"/api-reference/organization-config/update-organization-config"}]},{"group":"Organization Members","pages":[{"title":"List organization members","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/organization-members","href":"/api-reference/organization-members/list-organization-members"}]},{"group":"Human Annotations","pages":[{"title":"List human annotations","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/human-annotations","href":"/api-reference/human-annotations/list-human-annotations"},{"title":"Create a human annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/human-annotations","href":"/api-reference/human-annotations/create-a-human-annotation"},{"title":"Update a human annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/human-annotations/{id}","href":"/api-reference/human-annotations/update-a-human-annotation"},{"title":"List human annotation queues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/human-annotation-queues","href":"/api-reference/human-annotations/list-human-annotation-queues"},{"title":"List human annotation queue items","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/human-annotation-queue-items","href":"/api-reference/human-annotations/list-human-annotation-queue-items"}]},{"group":"Reporting","pages":[{"title":"Get quality metrics for the At a Glance page","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/quality-metrics","href":"/api-reference/reporting/get-quality-metrics-for-the-at-a-glance-page"}]}]}]},{"anchor":"Support","icon":"envelope","href":"mailto:support@avidoai.com"},{"anchor":"LLM-friendly docs","icon":"robot","href":"https://docs.avidoai.com/llms-full.txt"}]},"basePath":"","title":"Ingest events - Avido","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}