{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Adaline","description":"Adaline is the platform for building self-improving AI agents from production evidence.","colors":{"primary":"#4A6D47","light":"#4A6D47","dark":"#5DEC97"},"logo":{"light":"https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/logo/light.svg?fit=max\u0026auto=format\u0026n=-Bsa4BuK4fSdmy67\u0026q=85\u0026s=67ecdbb5a6f0a0bd873337ea8478686a","dark":"https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/logo/dark.svg?fit=max\u0026auto=format\u0026n=-Bsa4BuK4fSdmy67\u0026q=85\u0026s=5b10107b477c166fe0e0683582f4d700","href":"https://adaline.ai/docs"},"favicon":"https://mintcdn.com/adaline/tvqUtfKxTlDfJpNv/favicon.svg?fit=max\u0026auto=format\u0026n=tvqUtfKxTlDfJpNv\u0026q=85\u0026s=1e9322899a22bfa67a8d3bf3cd7cde78","api":{"mdx":{"auth":{"method":"bearer"}}},"navbar":{"links":[{"icon":"mail","href":"mailto:support@adaline.ai","label":"Support"},{"icon":"house","href":"https://app.adaline.ai","label":"Dashboard"}]},"footer":{"socials":{"x":"https://x.com/tryadaline","github":"https://github.com/adaline/gateway","linkedin":"https://www.linkedin.com/company/adaline","youtube":"https://www.youtube.com/@adalineai"},"links":[{"header":"Platform","items":[{"label":"Instrument","href":"https://docs.adaline.ai/get-started/integrate-your-ai-agent"},{"label":"Improve","href":"https://docs.adaline.ai/improve/overview"},{"label":"Behaviors","href":"https://docs.adaline.ai/behaviors/overview"},{"label":"Monitor","href":"https://docs.adaline.ai/monitor/overview"},{"label":"Evaluators","href":"https://docs.adaline.ai/evaluators/overview"},{"label":"Datasets","href":"https://docs.adaline.ai/datasets/overview"},{"label":"Prompts","href":"https://docs.adaline.ai/prompts/overview"},{"label":"Tools","href":"https://docs.adaline.ai/iterate/use-tools-in-prompt"}]},{"header":"Products","items":[{"label":"Editor","href":"https://adaline.ai/editor"},{"label":"Playground","href":"https://adaline.ai/playground"},{"label":"Evaluations","href":"https://adaline.ai/evaluations"},{"label":"Datasets","href":"https://adaline.ai/datasets"},{"label":"Deployments","href":"https://adaline.ai/deployments"},{"label":"Logs","href":"https://adaline.ai/logs"},{"label":"Analytics","href":"https://adaline.ai/analytics"},{"label":"Gateway","href":"https://adaline.ai/gateway"}]},{"header":"Company","items":[{"label":"Labs","href":"https://labs.adaline.ai"},{"label":"Applied","href":"https://adalineapplied.com"},{"label":"Blog","href":"https://adaline.ai/blog"},{"label":"Careers","href":"https://go.adaline.ai/careers?utm_source=adaline.ai/docs"},{"label":"Wikipedia","href":"https://en.wikipedia.org/wiki/ADALINE?utm_source=adaline.ai"}]},{"header":"Resources","items":[{"label":"DPA","href":"https://adaline.ai/dpa"},{"label":"Privacy policy","href":"https://adaline.ai/privacy"},{"label":"Terms of service","href":"https://adaline.ai/terms"},{"label":"Report vulnerability","href":"https://www.adaline.ai/vulnerability"}]}]},"icons":{"library":"lucide"},"integrations":{"koala":{"publicApiKey":"pk_76a6caa274e800f3ceff0b2bc6b9b9d82ab8"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"adaline","hasAudioNarration":false,"actualSubdomain":"adaline","customDomains":["www.adaline.ai"],"gitSource":{"type":"github","owner":"adaline","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a2d68a308825b8e5e51aa67","collectionId":"d7ee37fb-e22f-4b64-875b-19830427c021","schemaVersion":"v3"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a2d68a308825b8e5e51aa67:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Reference","count":174},{"language":"default","tag":"SDKs","count":126},{"language":"default","tag":"Platform","count":98},{"language":"default","tag":"Types","count":80},{"language":"default","tag":"Adaline (TypeScript)","count":59},{"language":"default","tag":"Adaline (Python)","count":57},{"language":"default","tag":"API","count":44},{"language":"default","tag":"Classes","count":39},{"language":"default","tag":"Prompts","count":26},{"language":"default","tag":"Integrations","count":23}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reference/api/v2/openapi/create-log-trace","slug":"/reference/api/v2/openapi/create-log-trace","pageMetadata":{"title":"Create Log Trace","openapi":"POST /logs/trace","description":"Create detailed execution traces for monitoring.","href":"/reference/api/v2/openapi/create-log-trace"},"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: \"Create detailed execution traces for monitoring.\"\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":"Create Log Trace","openapi":"POST /logs/trace","description":"Create detailed execution traces for monitoring.","href":"/reference/api/v2/openapi/create-log-trace"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createLogTrace","tags":["logs"],"summary":"Create trace log","description":"Create detailed execution traces for monitoring.","security":["1df2f638-f188-4972-ac38-12f63639474c"],"requestBody":"91df6223-5063-4ac6-83ad-2646aaddd735","responses":{"200":"7fbda772-581b-4bcc-805c-6f90501b0aa2","400":"641404a0-28bf-4917-9eb8-804a3b83e341","401":"b01d7054-9863-47b4-a4e6-62850a6fd91d","403":"ce57b51d-d88b-48fe-9303-9834a71d882e","413":"c299cc48-bff5-48a5-9db1-221f906c53ff","500":"c12d8422-0fae-4c80-8b78-0737bef304d5"},"method":"post","type":"path","servers":["d4df6e7f-80d3-4d1a-add5-83591905c82a"],"path":"/logs/trace","baseUrlOptions":["https://api.adaline.ai/v2"],"title":"Create trace log","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Create Log Trace Request","type":"object","description":"Request payload for creating a new trace with optional child spans for LLM observability.","required":["projectId","trace"],"properties":{"projectId":{"title":"Base Entity ID","type":"string","description":"The unique identifier of the project.","minLength":20,"maxLength":80,"isRequired":true,"uniqueKey":"projectId","typeLabel":"string"},"trace":{"title":"Create Log Trace Request Trace","type":"object","description":"Trace data for creating a new execution trace in observability system","required":["startedAt","name","status"],"properties":{"startedAt":{"title":"Unix Timestamp","type":"integer","format":"int64","description":"Unix timestamp when the trace started.","minimum":1672511400000,"maximum":33229420200000,"isRequired":true,"uniqueKey":"trace.startedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"Name of the trace.","minLength":1,"maxLength":256,"isRequired":true,"uniqueKey":"trace.name","typeLabel":"string"},"status":{"type":"string","description":"Status of the trace.","enum":["success","failure","aborted","cancelled","pending","unknown"],"isRequired":true,"uniqueKey":"trace.status","typeLabel":"enum\u003cstring>"},"endedAt":{"oneOf":[{"type":"integer","title":"Unix Timestamp","description":"Unix timestamp when the trace ended. If not provided, the current time will be used.","format":"int64","maximum":33229420200000,"minimum":1672511400000,"uniqueKey":"trace.endedAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"trace.endedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"trace.endedAt","typeLabel":"integer\u003cint64> | null"},"referenceId":{"oneOf":[{"type":"string","description":"External reference ID for the trace. This is usually the traceId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"trace.referenceId.oneOf.0","typeLabel":"string"},{"type":"null","description":"External reference ID for the trace. This is usually the traceId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"trace.referenceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"trace.referenceId","typeLabel":"string | null"},"sessionId":{"oneOf":[{"type":"string","description":"Session ID associated with the trace. This is usually the sessionId / threadId / chatId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"trace.sessionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Session ID associated with the trace. This is usually the sessionId / threadId / chatId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"trace.sessionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"trace.sessionId","typeLabel":"string | null"},"attributes":{"oneOf":[{"type":"object","title":"Log Attributes","description":"Key-value pairs for log metadata.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"trace.attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"trace.attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"trace.attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"trace.attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"trace.attributes.oneOf.0","typeLabel":"Log Attributes · object"},{"type":"null","uniqueKey":"trace.attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"trace.attributes","typeLabel":"Log Attributes · object | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":256,"uniqueKey":"trace.tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Log Tags","description":"Array of strings for log metadata.","uniqueKey":"trace.tags.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"trace.tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"trace.tags","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"trace","typeLabel":"Create Log Trace Request Trace · object"},"spans":{"oneOf":[{"type":"array","items":{"title":"Create Log Trace Request Span","type":"object","description":"Span data for batch creation alongside trace in observability system","required":["startedAt","endedAt","name","status","content"],"properties":{"startedAt":{"title":"Unix Timestamp","type":"integer","format":"int64","description":"Unix timestamp when the span started.","minimum":1672511400000,"maximum":33229420200000,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].startedAt","typeLabel":"integer\u003cint64>"},"endedAt":{"title":"Unix Timestamp","type":"integer","format":"int64","description":"Unix timestamp when the span ended.","minimum":1672511400000,"maximum":33229420200000,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].endedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"Name for the span.","minLength":1,"maxLength":256,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].name","typeLabel":"string"},"status":{"type":"string","description":"Status of the span.","enum":["success","failure","aborted","cancelled","unknown"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"object","title":"Model","description":"Content for LLM model inference span with input/output and metadata for observability, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details.","properties":{"type":{"type":"string","enum":["Model"],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.type","typeLabel":"enum\u003cstring>"},"provider":{"type":"string","description":"Provider name in lowercase.","minLength":1,"maxLength":512,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.provider","typeLabel":"string"},"model":{"type":"string","description":"Model name as defined in the provider's API.","minLength":1,"maxLength":512,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.model","typeLabel":"string"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.input","typeLabel":"string"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.output","typeLabel":"string"},"variables":{"oneOf":[{"type":"object","title":"Log Span Variable","description":"Object containing variable values used in the model call.","required":["name","value"],"properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"The name of the variable","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.name","typeLabel":"string"},"value":{"oneOf":[{"type":"object","title":"Text Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.0.modality","typeLabel":"enum\u003cstring>"},"value":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.0.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.0","typeLabel":"Text Content · object"},{"type":"object","title":"Image Content","description":"Value of the variable.","required":["modality","detail","value"],"properties":{"modality":{"type":"string","enum":["image"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.modality","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","medium","high","auto"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.detail","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded image data with media type specification.","required":["type","base64","mediaType"],"properties":{"type":{"type":"string","enum":["base64"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"base64":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.0.base64","typeLabel":"string"},"mediaType":{"type":"string","enum":["png","jpeg","webp","gif"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.0.mediaType","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.0","typeLabel":"Base64 · object"},{"type":"object","title":"URL","description":"URL reference to an externally hosted image.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.1.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.1","typeLabel":"URL · object"},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded image data with path and base64 hash, reference to a base64 image hosted on the platform.","required":["type","path","base64Hash"],"properties":{"type":{"type":"string","enum":["base64-hosted"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.2.type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.2.path","typeLabel":"string"},"base64Hash":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.2.base64Hash","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value.oneOf.2","typeLabel":"Base64 Hosted · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1.value","typeLabel":"Base64 · object | URL · object | Base64 Hosted · object"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.1","typeLabel":"Image Content · object"},{"type":"object","title":"PDF Content","description":"Value of the variable.","required":["modality","value","file"],"properties":{"modality":{"type":"string","enum":["pdf"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.modality","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded PDF document data.","required":["type","base64"],"properties":{"type":{"type":"string","enum":["base64"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"base64":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.0.base64","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.0","typeLabel":"Base64 · object"},{"type":"object","title":"URL","description":"URL reference to an externally hosted PDF document.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.1.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.1","typeLabel":"URL · object"},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded PDF document data with path and preview, reference to a base64 PDF hosted on the platform.","required":["type","path","preview"],"properties":{"type":{"type":"string","enum":["base64-hosted"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.2.type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.2.path","typeLabel":"string"},"preview":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.2.preview","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value.oneOf.2","typeLabel":"Base64 Hosted · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.value","typeLabel":"Base64 · object | URL · object | Base64 Hosted · object"},"file":{"type":"object","required":["name","id"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.file.name","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.file.id","typeLabel":"string"},"size":{"oneOf":[{"type":"number","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.file.size.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.file.size.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.file.size","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2.file","typeLabel":"object"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.2","typeLabel":"PDF Content · object"},{"type":"object","title":"Reasoning Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["reasoning"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.modality","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","title":"Thinking","description":"LLM reasoning/thinking content with cryptographic signature for verification.","required":["type","thinking","signature"],"properties":{"type":{"type":"string","enum":["thinking"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"thinking":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value.oneOf.0.thinking","typeLabel":"string"},"signature":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value.oneOf.0.signature","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value.oneOf.0","typeLabel":"Thinking · object"},{"type":"object","title":"Redacted","description":"Redacted/masked reasoning content for privacy-sensitive contexts.","required":["type","data"],"properties":{"type":{"type":"string","enum":["redacted"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value.oneOf.1.data","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value.oneOf.1","typeLabel":"Redacted · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3.value","typeLabel":"Thinking · object | Redacted · object"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.3","typeLabel":"Reasoning Content · object"},{"type":"object","title":"Tool Call Content","description":"Value of the variable.","required":["modality","index","id","name","arguments"],"properties":{"modality":{"type":"string","enum":["tool-call"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.modality","typeLabel":"enum\u003cstring>"},"index":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.index","typeLabel":"integer"},"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.name","typeLabel":"string"},"arguments":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.arguments","typeLabel":"string"},"serverName":{"oneOf":[{"type":"string","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.serverName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.serverName.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4.serverName","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.4","typeLabel":"Tool Call Content · object"},{"type":"object","title":"Tool Response Content","description":"Value of the variable.","required":["modality","index","id","name","data"],"properties":{"modality":{"type":"string","enum":["tool-response"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.modality","typeLabel":"enum\u003cstring>"},"index":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.index","typeLabel":"integer"},"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.name","typeLabel":"string"},"data":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.data","typeLabel":"string"},"apiResponse":{"oneOf":[{"type":"object","properties":{"statusCode":{"type":"integer","minimum":0,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.apiResponse.oneOf.0.statusCode","typeLabel":"integer"}},"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.apiResponse.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"statusCode":{"type":"integer","minimum":0}},"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.apiResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5.apiResponse","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value.oneOf.5","typeLabel":"Tool Response Content · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0.value","typeLabel":"Text Content · object | Image Content · object | PDF Content · object | Reasoning Content · object | Tool Call Content · object | Tool Response Content · object"}},"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.0","typeLabel":"Log Span Variable · object"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.variables","typeLabel":"Log Span Variable · object | null"},"cost":{"oneOf":[{"type":"number","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.cost.oneOf.0","typeLabel":"number"},{"type":"null","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0.cost","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.0","typeLabel":"Model · object"},{"type":"object","title":"Model Stream","description":"Content for streaming LLM model inference with chunked output and final aggregated result.","required":["type","provider","model","input","output","aggregateOutput"],"properties":{"type":{"type":"string","enum":["ModelStream"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.type","typeLabel":"enum\u003cstring>"},"provider":{"type":"string","description":"Provider name in lowercase.","minLength":1,"maxLength":512,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.provider","typeLabel":"string"},"model":{"type":"string","description":"Model name as defined in the provider's API.","minLength":1,"maxLength":512,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.model","typeLabel":"string"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.input","typeLabel":"string"},"output":{"type":"string","description":"Stream output as string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.output","typeLabel":"string"},"aggregateOutput":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.aggregateOutput","typeLabel":"string"},"variables":{"oneOf":[{"type":"object","title":"Log Span Variable","description":"Object containing variable values used in the model call.","required":["name","value"],"properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"The name of the variable","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.name","typeLabel":"string"},"value":{"oneOf":[{"type":"object","title":"Text Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.0.modality","typeLabel":"enum\u003cstring>"},"value":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.0.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.0","typeLabel":"Text Content · object"},{"type":"object","title":"Image Content","description":"Value of the variable.","required":["modality","detail","value"],"properties":{"modality":{"type":"string","enum":["image"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.modality","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","medium","high","auto"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.detail","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded image data with media type specification.","required":["type","base64","mediaType"],"properties":{"type":{"type":"string","enum":["base64"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"base64":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.0.base64","typeLabel":"string"},"mediaType":{"type":"string","enum":["png","jpeg","webp","gif"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.0.mediaType","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.0","typeLabel":"Base64 · object"},{"type":"object","title":"URL","description":"URL reference to an externally hosted image.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.1.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.1","typeLabel":"URL · object"},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded image data with path and base64 hash, reference to a base64 image hosted on the platform.","required":["type","path","base64Hash"],"properties":{"type":{"type":"string","enum":["base64-hosted"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.2.type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.2.path","typeLabel":"string"},"base64Hash":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.2.base64Hash","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value.oneOf.2","typeLabel":"Base64 Hosted · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1.value","typeLabel":"Base64 · object | URL · object | Base64 Hosted · object"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.1","typeLabel":"Image Content · object"},{"type":"object","title":"PDF Content","description":"Value of the variable.","required":["modality","value","file"],"properties":{"modality":{"type":"string","enum":["pdf"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.modality","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded PDF document data.","required":["type","base64"],"properties":{"type":{"type":"string","enum":["base64"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"base64":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.0.base64","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.0","typeLabel":"Base64 · object"},{"type":"object","title":"URL","description":"URL reference to an externally hosted PDF document.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.1.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.1","typeLabel":"URL · object"},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded PDF document data with path and preview, reference to a base64 PDF hosted on the platform.","required":["type","path","preview"],"properties":{"type":{"type":"string","enum":["base64-hosted"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.2.type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.2.path","typeLabel":"string"},"preview":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.2.preview","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value.oneOf.2","typeLabel":"Base64 Hosted · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.value","typeLabel":"Base64 · object | URL · object | Base64 Hosted · object"},"file":{"type":"object","required":["name","id"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.file.name","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.file.id","typeLabel":"string"},"size":{"oneOf":[{"type":"number","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.file.size.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.file.size.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.file.size","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2.file","typeLabel":"object"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.2","typeLabel":"PDF Content · object"},{"type":"object","title":"Reasoning Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["reasoning"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.modality","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","title":"Thinking","description":"LLM reasoning/thinking content with cryptographic signature for verification.","required":["type","thinking","signature"],"properties":{"type":{"type":"string","enum":["thinking"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"thinking":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value.oneOf.0.thinking","typeLabel":"string"},"signature":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value.oneOf.0.signature","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value.oneOf.0","typeLabel":"Thinking · object"},{"type":"object","title":"Redacted","description":"Redacted/masked reasoning content for privacy-sensitive contexts.","required":["type","data"],"properties":{"type":{"type":"string","enum":["redacted"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value.oneOf.1.data","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value.oneOf.1","typeLabel":"Redacted · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3.value","typeLabel":"Thinking · object | Redacted · object"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.3","typeLabel":"Reasoning Content · object"},{"type":"object","title":"Tool Call Content","description":"Value of the variable.","required":["modality","index","id","name","arguments"],"properties":{"modality":{"type":"string","enum":["tool-call"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.modality","typeLabel":"enum\u003cstring>"},"index":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.index","typeLabel":"integer"},"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.name","typeLabel":"string"},"arguments":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.arguments","typeLabel":"string"},"serverName":{"oneOf":[{"type":"string","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.serverName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.serverName.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4.serverName","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.4","typeLabel":"Tool Call Content · object"},{"type":"object","title":"Tool Response Content","description":"Value of the variable.","required":["modality","index","id","name","data"],"properties":{"modality":{"type":"string","enum":["tool-response"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.modality","typeLabel":"enum\u003cstring>"},"index":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.index","typeLabel":"integer"},"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.name","typeLabel":"string"},"data":{"type":"string","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.data","typeLabel":"string"},"apiResponse":{"oneOf":[{"type":"object","properties":{"statusCode":{"type":"integer","minimum":0,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.apiResponse.oneOf.0.statusCode","typeLabel":"integer"}},"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.apiResponse.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"statusCode":{"type":"integer","minimum":0}},"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.apiResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5.apiResponse","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value.oneOf.5","typeLabel":"Tool Response Content · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0.value","typeLabel":"Text Content · object | Image Content · object | PDF Content · object | Reasoning Content · object | Tool Call Content · object | Tool Response Content · object"}},"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.0","typeLabel":"Log Span Variable · object"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.variables","typeLabel":"Log Span Variable · object | null"},"cost":{"oneOf":[{"type":"number","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.cost.oneOf.0","typeLabel":"number"},{"type":"null","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1.cost","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.1","typeLabel":"Model Stream · object"},{"type":"object","title":"Embeddings","description":"Content for embedding generation span for vector database operations and semantic search.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Embeddings"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.2.type","typeLabel":"enum\u003cstring>"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.2.input","typeLabel":"string"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.2.output","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.2","typeLabel":"Embeddings · object"},{"type":"object","title":"Function","description":"Content for function execution span tracking custom application logic.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Function"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.3.type","typeLabel":"enum\u003cstring>"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.3.input","typeLabel":"string"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.3.output","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.3","typeLabel":"Function · object"},{"type":"object","title":"Tool","description":"Content for tool/API call execution span tracking external integrations.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Tool"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.4.type","typeLabel":"enum\u003cstring>"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.4.input","typeLabel":"string"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.4.output","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.4","typeLabel":"Tool · object"},{"type":"object","title":"Guardrail","description":"Content for guardrail/safety check span ensuring LLM output compliance and safety.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Guardrail"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.5.type","typeLabel":"enum\u003cstring>"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.5.input","typeLabel":"string"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.5.output","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.5","typeLabel":"Guardrail · object"},{"type":"object","title":"Retrieval","description":"Content for retrieval/RAG span tracking document search and context injection.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Retrieval"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.6.type","typeLabel":"enum\u003cstring>"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.6.input","typeLabel":"string"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.6.output","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.6","typeLabel":"Retrieval · object"},{"type":"object","title":"Other","description":"Content for custom span types not covered by standard categories.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Other"],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.7.type","typeLabel":"enum\u003cstring>"},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.7.input","typeLabel":"string"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON.","isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.7.output","typeLabel":"string"}},"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content.oneOf.7","typeLabel":"Other · object"}],"isRequired":true,"uniqueKey":"spans.oneOf.0.items.[INDEX].content","typeLabel":"Model · object | Model Stream · object | Embeddings · object | Function · object | Tool · object | Guardrail · object | Retrieval · object | Other · object"},"promptId":{"oneOf":[{"type":"string","title":"Base Entity ID","description":"The unique identifier of the prompt used. If not provided, you will not be able to view the span in prompt's monitor section.","maxLength":80,"minLength":20,"uniqueKey":"spans.oneOf.0.items.[INDEX].promptId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].promptId.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].promptId","typeLabel":"string | null"},"deploymentId":{"oneOf":[{"type":"string","title":"Base Entity ID","description":"The deployment ID used for this span.","maxLength":80,"minLength":20,"uniqueKey":"spans.oneOf.0.items.[INDEX].deploymentId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].deploymentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].deploymentId","typeLabel":"string | null"},"runEvaluation":{"oneOf":[{"type":"boolean","description":"Whether to run evaluation on this span. Overrides the continuous evaluation sample rate for the span.","uniqueKey":"spans.oneOf.0.items.[INDEX].runEvaluation.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether to run evaluation on this span. Overrides the continuous evaluation sample rate for the span.","uniqueKey":"spans.oneOf.0.items.[INDEX].runEvaluation.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].runEvaluation","typeLabel":"boolean | null"},"parentReferenceId":{"oneOf":[{"type":"string","description":"Reference ID of the parent span. This is usually this span's parent's spanId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"spans.oneOf.0.items.[INDEX].parentReferenceId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference ID of the parent span. This is usually this span's parent's spanId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"spans.oneOf.0.items.[INDEX].parentReferenceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].parentReferenceId","typeLabel":"string | null"},"referenceId":{"oneOf":[{"type":"string","description":"External reference ID for the span. This is usually the spanId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"spans.oneOf.0.items.[INDEX].referenceId.oneOf.0","typeLabel":"string"},{"type":"null","description":"External reference ID for the span. This is usually the spanId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"spans.oneOf.0.items.[INDEX].referenceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].referenceId","typeLabel":"string | null"},"sessionId":{"oneOf":[{"type":"string","description":"Session ID associated with the span. This is usually the sessionId / threadId / chatId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"spans.oneOf.0.items.[INDEX].sessionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Session ID associated with the span. This is usually the sessionId / threadId / chatId used within your application / system.","minLength":1,"maxLength":128,"uniqueKey":"spans.oneOf.0.items.[INDEX].sessionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].sessionId","typeLabel":"string | null"},"attributes":{"oneOf":[{"type":"object","title":"Log Attributes","description":"Key-value pairs for log metadata.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"spans.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"spans.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"spans.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"spans.oneOf.0.items.[INDEX].attributes.oneOf.0","typeLabel":"Log Attributes · object"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].attributes","typeLabel":"Log Attributes · object | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":256,"uniqueKey":"spans.oneOf.0.items.[INDEX].tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Log Tags","description":"Array of strings for log metadata.","uniqueKey":"spans.oneOf.0.items.[INDEX].tags.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"spans.oneOf.0.items.[INDEX].tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans.oneOf.0.items.[INDEX].tags","typeLabel":"string[] | null"}},"uniqueKey":"spans.oneOf.0.items.[INDEX]","typeLabel":"Create Log Trace Request Span · object"},"minItems":1,"uniqueKey":"spans.oneOf.0","typeLabel":"Create Log Trace Request Span · object[]"},{"type":"null","items":{"title":"Create Log Trace Request Span","type":"object","description":"Span data for batch creation alongside trace in observability system","required":["startedAt","endedAt","name","status","content"],"properties":{"promptId":{"oneOf":[{"type":"string","title":"Base Entity ID","description":"The unique identifier of the prompt used. If not provided, you will not be able to view the span in prompt's monitor section.","maxLength":80,"minLength":20},{"type":"null"}]},"deploymentId":{"oneOf":[{"type":"string","title":"Base Entity ID","description":"The deployment ID used for this span.","maxLength":80,"minLength":20},{"type":"null"}]},"startedAt":{"title":"Unix Timestamp","type":"integer","format":"int64","description":"Unix timestamp when the span started.","minimum":1672511400000,"maximum":33229420200000},"endedAt":{"title":"Unix Timestamp","type":"integer","format":"int64","description":"Unix timestamp when the span ended.","minimum":1672511400000,"maximum":33229420200000},"name":{"type":"string","description":"Name for the span.","minLength":1,"maxLength":256},"status":{"type":"string","description":"Status of the span.","enum":["success","failure","aborted","cancelled","unknown"]},"content":{"oneOf":[{"type":"object","title":"Model","description":"Content for LLM model inference span with input/output and metadata for observability, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details.","properties":{"type":{"type":"string","enum":["Model"]},"provider":{"type":"string","description":"Provider name in lowercase.","minLength":1,"maxLength":512},"model":{"type":"string","description":"Model name as defined in the provider's API.","minLength":1,"maxLength":512},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details"},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details"},"variables":{"oneOf":[{"type":"object","title":"Log Span Variable","description":"Object containing variable values used in the model call.","required":["name","value"],"properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"The name of the variable"},"value":{"oneOf":[{"type":"object","title":"Text Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["text"]},"value":{"type":"string"}}},{"type":"object","title":"Image Content","description":"Value of the variable.","required":["modality","detail","value"],"properties":{"modality":{"type":"string","enum":["image"]},"detail":{"type":"string","enum":["low","medium","high","auto"]},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded image data with media type specification.","required":["type","base64","mediaType"],"properties":{"type":{"type":"string","enum":["base64"]},"base64":{"type":"string"},"mediaType":{"type":"string","enum":["png","jpeg","webp","gif"]}}},{"type":"object","title":"URL","description":"URL reference to an externally hosted image.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string"}}},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded image data with path and base64 hash, reference to a base64 image hosted on the platform.","required":["type","path","base64Hash"],"properties":{"type":{"type":"string","enum":["base64-hosted"]},"path":{"type":"string","minLength":1},"base64Hash":{"type":"string","minLength":1}}}]}}},{"type":"object","title":"PDF Content","description":"Value of the variable.","required":["modality","value","file"],"properties":{"modality":{"type":"string","enum":["pdf"]},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded PDF document data.","required":["type","base64"],"properties":{"type":{"type":"string","enum":["base64"]},"base64":{"type":"string"}}},{"type":"object","title":"URL","description":"URL reference to an externally hosted PDF document.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string"}}},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded PDF document data with path and preview, reference to a base64 PDF hosted on the platform.","required":["type","path","preview"],"properties":{"type":{"type":"string","enum":["base64-hosted"]},"path":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1}}}]},"file":{"type":"object","required":["name","id"],"properties":{"name":{"type":"string"},"id":{"type":"string"},"size":{"oneOf":[{"type":"number"},{"type":"null"}]}}}}},{"type":"object","title":"Reasoning Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["reasoning"]},"value":{"oneOf":[{"type":"object","title":"Thinking","description":"LLM reasoning/thinking content with cryptographic signature for verification.","required":["type","thinking","signature"],"properties":{"type":{"type":"string","enum":["thinking"]},"thinking":{"type":"string"},"signature":{"type":"string"}}},{"type":"object","title":"Redacted","description":"Redacted/masked reasoning content for privacy-sensitive contexts.","required":["type","data"],"properties":{"type":{"type":"string","enum":["redacted"]},"data":{"type":"string"}}}]}}},{"type":"object","title":"Tool Call Content","description":"Value of the variable.","required":["modality","index","id","name","arguments"],"properties":{"modality":{"type":"string","enum":["tool-call"]},"index":{"type":"integer","minimum":0},"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"arguments":{"type":"string"},"serverName":{"oneOf":[{"type":"string"},{"type":"null"}]}}},{"type":"object","title":"Tool Response Content","description":"Value of the variable.","required":["modality","index","id","name","data"],"properties":{"modality":{"type":"string","enum":["tool-response"]},"index":{"type":"integer","minimum":0},"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"data":{"type":"string"},"apiResponse":{"oneOf":[{"type":"object","properties":{"statusCode":{"type":"integer","minimum":0}}},{"type":"null","properties":{"statusCode":{"type":"integer","minimum":0}}}]}}}]}}},{"type":"null"}]},"cost":{"oneOf":[{"type":"number","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0},{"type":"null","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0}]}}},{"type":"object","title":"Model Stream","description":"Content for streaming LLM model inference with chunked output and final aggregated result.","required":["type","provider","model","input","output","aggregateOutput"],"properties":{"type":{"type":"string","enum":["ModelStream"]},"provider":{"type":"string","description":"Provider name in lowercase.","minLength":1,"maxLength":512},"model":{"type":"string","description":"Model name as defined in the provider's API.","minLength":1,"maxLength":512},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details"},"output":{"type":"string","description":"Stream output as string"},"aggregateOutput":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON, see [here](https://adaline.ai/docs/instrument/advanced-usage#span-content-input-and-output) for more details"},"variables":{"oneOf":[{"type":"object","title":"Log Span Variable","description":"Object containing variable values used in the model call.","required":["name","value"],"properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"The name of the variable"},"value":{"oneOf":[{"type":"object","title":"Text Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["text"]},"value":{"type":"string"}}},{"type":"object","title":"Image Content","description":"Value of the variable.","required":["modality","detail","value"],"properties":{"modality":{"type":"string","enum":["image"]},"detail":{"type":"string","enum":["low","medium","high","auto"]},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded image data with media type specification.","required":["type","base64","mediaType"],"properties":{"type":{"type":"string","enum":["base64"]},"base64":{"type":"string"},"mediaType":{"type":"string","enum":["png","jpeg","webp","gif"]}}},{"type":"object","title":"URL","description":"URL reference to an externally hosted image.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string"}}},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded image data with path and base64 hash, reference to a base64 image hosted on the platform.","required":["type","path","base64Hash"],"properties":{"type":{"type":"string","enum":["base64-hosted"]},"path":{"type":"string","minLength":1},"base64Hash":{"type":"string","minLength":1}}}]}}},{"type":"object","title":"PDF Content","description":"Value of the variable.","required":["modality","value","file"],"properties":{"modality":{"type":"string","enum":["pdf"]},"value":{"oneOf":[{"type":"object","title":"Base64","description":"Base64-encoded PDF document data.","required":["type","base64"],"properties":{"type":{"type":"string","enum":["base64"]},"base64":{"type":"string"}}},{"type":"object","title":"URL","description":"URL reference to an externally hosted PDF document.","required":["type","url"],"properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string"}}},{"type":"object","title":"Base64 Hosted","description":"Base64-encoded PDF document data with path and preview, reference to a base64 PDF hosted on the platform.","required":["type","path","preview"],"properties":{"type":{"type":"string","enum":["base64-hosted"]},"path":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1}}}]},"file":{"type":"object","required":["name","id"],"properties":{"name":{"type":"string"},"id":{"type":"string"},"size":{"oneOf":[{"type":"number"},{"type":"null"}]}}}}},{"type":"object","title":"Reasoning Content","description":"Value of the variable.","required":["modality","value"],"properties":{"modality":{"type":"string","enum":["reasoning"]},"value":{"oneOf":[{"type":"object","title":"Thinking","description":"LLM reasoning/thinking content with cryptographic signature for verification.","required":["type","thinking","signature"],"properties":{"type":{"type":"string","enum":["thinking"]},"thinking":{"type":"string"},"signature":{"type":"string"}}},{"type":"object","title":"Redacted","description":"Redacted/masked reasoning content for privacy-sensitive contexts.","required":["type","data"],"properties":{"type":{"type":"string","enum":["redacted"]},"data":{"type":"string"}}}]}}},{"type":"object","title":"Tool Call Content","description":"Value of the variable.","required":["modality","index","id","name","arguments"],"properties":{"modality":{"type":"string","enum":["tool-call"]},"index":{"type":"integer","minimum":0},"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"arguments":{"type":"string"},"serverName":{"oneOf":[{"type":"string"},{"type":"null"}]}}},{"type":"object","title":"Tool Response Content","description":"Value of the variable.","required":["modality","index","id","name","data"],"properties":{"modality":{"type":"string","enum":["tool-response"]},"index":{"type":"integer","minimum":0},"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"data":{"type":"string"},"apiResponse":{"oneOf":[{"type":"object","properties":{"statusCode":{"type":"integer","minimum":0}}},{"type":"null","properties":{"statusCode":{"type":"integer","minimum":0}}}]}}}]}}},{"type":"null"}]},"cost":{"oneOf":[{"type":"number","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0},{"type":"null","description":"Cost of inference in USD, overrides the automatic cost calculated by Adaline.","minimum":0}]}}},{"type":"object","title":"Embeddings","description":"Content for embedding generation span for vector database operations and semantic search.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Embeddings"]},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."}}},{"type":"object","title":"Function","description":"Content for function execution span tracking custom application logic.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Function"]},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."}}},{"type":"object","title":"Tool","description":"Content for tool/API call execution span tracking external integrations.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Tool"]},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."}}},{"type":"object","title":"Guardrail","description":"Content for guardrail/safety check span ensuring LLM output compliance and safety.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Guardrail"]},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."}}},{"type":"object","title":"Retrieval","description":"Content for retrieval/RAG span tracking document search and context injection.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Retrieval"]},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."}}},{"type":"object","title":"Other","description":"Content for custom span types not covered by standard categories.","required":["type","input","output"],"properties":{"type":{"type":"string","enum":["Other"]},"input":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."},"output":{"title":"Log Span Content JSON","type":"string","minLength":1,"description":"JSON string that must be valid JSON."}}}]},"runEvaluation":{"oneOf":[{"type":"boolean","description":"Whether to run evaluation on this span. Overrides the continuous evaluation sample rate for the span."},{"type":"null","description":"Whether to run evaluation on this span. Overrides the continuous evaluation sample rate for the span."}]},"parentReferenceId":{"oneOf":[{"type":"string","description":"Reference ID of the parent span. This is usually this span's parent's spanId used within your application / system.","minLength":1,"maxLength":128},{"type":"null","description":"Reference ID of the parent span. This is usually this span's parent's spanId used within your application / system.","minLength":1,"maxLength":128}]},"referenceId":{"oneOf":[{"type":"string","description":"External reference ID for the span. This is usually the spanId used within your application / system.","minLength":1,"maxLength":128},{"type":"null","description":"External reference ID for the span. This is usually the spanId used within your application / system.","minLength":1,"maxLength":128}]},"sessionId":{"oneOf":[{"type":"string","description":"Session ID associated with the span. This is usually the sessionId / threadId / chatId used within your application / system.","minLength":1,"maxLength":128},{"type":"null","description":"Session ID associated with the span. This is usually the sessionId / threadId / chatId used within your application / system.","minLength":1,"maxLength":128}]},"attributes":{"oneOf":[{"type":"object","title":"Log Attributes","description":"Key-value pairs for log metadata.","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},{"type":"null"}]},"tags":{"oneOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"title":"Log Tags","description":"Array of strings for log metadata."},{"type":"null"}]}}},"minItems":1,"uniqueKey":"spans.oneOf.1","typeLabel":"null"}],"uniqueKey":"spans","typeLabel":"Create Log Trace Request Span · object[] | null"}},"uniqueKey":"","typeLabel":"Create Log Trace Request · object"},"examples":{"Example":{"title":"Example","value":{"projectId":"\u003cstring>","trace":{"startedAt":17450965800000,"name":"\u003cstring>","endedAt":17450965800000,"referenceId":"\u003cstring>","sessionId":"\u003cstring>","attributes":{},"tags":["\u003cstring>"]},"spans":[{"startedAt":17450965800000,"endedAt":17450965800000,"name":"\u003cstring>","content":{"type":"Model","provider":"\u003cstring>","model":"\u003cstring>","input":"\u003cstring>","output":"\u003cstring>","variables":{"name":"\u003cstring>","value":{"modality":"text","value":"\u003cstring>"}},"cost":1},"promptId":"\u003cstring>","deploymentId":"\u003cstring>","runEvaluation":true,"parentReferenceId":"\u003cstring>","referenceId":"\u003cstring>","sessionId":"\u003cstring>","attributes":{},"tags":["\u003cstring>"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7fbda772-581b-4bcc-805c-6f90501b0aa2":{"description":"Trace created successfully.","content":{"application/json":{"schema":{"title":"Create Log Trace Response","type":"object","description":"Response containing created trace and span IDs for tracking in observability system.","required":["traceId","spanIds"],"properties":{"traceId":{"title":"Base Entity ID","type":"string","description":"The unique identifier of the trace created in Adaline.","minLength":20,"maxLength":80,"isRequired":true,"uniqueKey":"traceId","typeLabel":"string"},"spanIds":{"type":"array","items":{"title":"Base Entity ID","type":"string","description":"The unique identifier of the span created in Adaline.","minLength":20,"maxLength":80,"uniqueKey":"spanIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"spanIds","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"Create Log Trace Response · object"},"examples":{"Example":{"title":"Example","value":{"traceId":"\u003cstring>","spanIds":["\u003cstring>"]}}},"exampleType":"generated"}},"headers":{"X-Request-Id":{"description":"Unique identifier for the request. Returned in every response. Send a custom value to correlate requests, or omit to receive a generated UUID.","schema":{"type":"string","format":"uuid"}}},"exampleType":"generated"},"641404a0-28bf-4917-9eb8-804a3b83e341":{"description":"Bad request","content":{"application/json":{"schema":{"title":"Error Response","type":"object","description":"Standard error response envelope. Permits backend-specific sibling fields (e.g. Zod issue details) alongside the typed `error`.","properties":{"error":{"oneOf":[{"type":"string","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_CURSOR","AUTHENTICATION_REQUIRED","FORBIDDEN","RESOURCE_NOT_FOUND","CONFLICT","PAYLOAD_TOO_LARGE","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"details":{"type":"array","description":"Optional field-level validation details.","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].issue","typeLabel":"string"}},"required":["field","issue"],"uniqueKey":"error.oneOf.1.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.oneOf.1.details","typeLabel":"object[]"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | object"}},"required":["error"],"additionalProperties":true,"uniqueKey":"","typeLabel":"Error Response · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b01d7054-9863-47b4-a4e6-62850a6fd91d":{"description":"Unauthorized — invalid or missing API key.","content":{"application/json":{"schema":{"title":"Error Response","type":"object","description":"Standard error response envelope. Permits backend-specific sibling fields (e.g. Zod issue details) alongside the typed `error`.","properties":{"error":{"oneOf":[{"type":"string","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_CURSOR","AUTHENTICATION_REQUIRED","FORBIDDEN","RESOURCE_NOT_FOUND","CONFLICT","PAYLOAD_TOO_LARGE","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"details":{"type":"array","description":"Optional field-level validation details.","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].issue","typeLabel":"string"}},"required":["field","issue"],"uniqueKey":"error.oneOf.1.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.oneOf.1.details","typeLabel":"object[]"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | object"}},"required":["error"],"additionalProperties":true,"uniqueKey":"","typeLabel":"Error Response · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ce57b51d-d88b-48fe-9303-9834a71d882e":{"description":"Forbidden — invalid or unauthorized API key","content":{"application/json":{"schema":{"title":"Error Response","type":"object","description":"Standard error response envelope. Permits backend-specific sibling fields (e.g. Zod issue details) alongside the typed `error`.","properties":{"error":{"oneOf":[{"type":"string","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_CURSOR","AUTHENTICATION_REQUIRED","FORBIDDEN","RESOURCE_NOT_FOUND","CONFLICT","PAYLOAD_TOO_LARGE","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"details":{"type":"array","description":"Optional field-level validation details.","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].issue","typeLabel":"string"}},"required":["field","issue"],"uniqueKey":"error.oneOf.1.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.oneOf.1.details","typeLabel":"object[]"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | object"}},"required":["error"],"additionalProperties":true,"uniqueKey":"","typeLabel":"Error Response · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c299cc48-bff5-48a5-9db1-221f906c53ff":{"description":"Payload too large — span content exceeds max size","content":{"application/json":{"schema":{"title":"Error Response","type":"object","description":"Standard error response envelope. Permits backend-specific sibling fields (e.g. Zod issue details) alongside the typed `error`.","properties":{"error":{"oneOf":[{"type":"string","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_CURSOR","AUTHENTICATION_REQUIRED","FORBIDDEN","RESOURCE_NOT_FOUND","CONFLICT","PAYLOAD_TOO_LARGE","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"details":{"type":"array","description":"Optional field-level validation details.","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].issue","typeLabel":"string"}},"required":["field","issue"],"uniqueKey":"error.oneOf.1.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.oneOf.1.details","typeLabel":"object[]"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | object"}},"required":["error"],"additionalProperties":true,"uniqueKey":"","typeLabel":"Error Response · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c12d8422-0fae-4c80-8b78-0737bef304d5":{"description":"Internal server error","content":{"application/json":{"schema":{"title":"Error Response","type":"object","description":"Standard error response envelope. Permits backend-specific sibling fields (e.g. Zod issue details) alongside the typed `error`.","properties":{"error":{"oneOf":[{"type":"string","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","description":"Error details — typed envelope, or a raw string reason when the backend's validator produces a short summary (e.g. Zod validation fallback).","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_CURSOR","AUTHENTICATION_REQUIRED","FORBIDDEN","RESOURCE_NOT_FOUND","CONFLICT","PAYLOAD_TOO_LARGE","RATE_LIMITED","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"details":{"type":"array","description":"Optional field-level validation details.","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.details.items.[INDEX].issue","typeLabel":"string"}},"required":["field","issue"],"uniqueKey":"error.oneOf.1.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.oneOf.1.details","typeLabel":"object[]"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | object"}},"required":["error"],"additionalProperties":true,"uniqueKey":"","typeLabel":"Error Response · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1df2f638-f188-4972-ac38-12f63639474c":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Workspace API key. Pass as `Authorization: Bearer \u003ckey>`.","scopes":[]}}},"servers":{"d4df6e7f-80d3-4d1a-add5-83591905c82a":{"url":"https://api.adaline.ai/v2","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Workspace API key. Pass as `Authorization: Bearer \u003ckey>`.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Workspace API key. Pass as `Authorization: Bearer \u003ckey>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"reference/api/v2/openapi/adaline.openapi.json"},"subdomain":"adaline","siteName":"Adaline","title":"Create Log Trace - Adaline","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-18T16:31:14.406Z","originalFileLocation":"reference/api/v2/openapi/create-log-trace.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=\"Create detailed execution traces for monitoring.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Adaline\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_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=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Log Trace - Adaline\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create detailed execution traces for monitoring.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Adaline\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://adaline.mintlify.app/_mintlify/api/og/v2?division=Logs\u0026amp;title=Create+Log+Trace\u0026amp;description=Create+detailed+execution+traces+for+monitoring.\u0026amp;theme=264dce883ed1f8732945193d\u0026amp;signature=fc483fd3478c9336e6351f5e77869d57964f42f8e6df506322d739fd05e280e8\">\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=\"Create Log Trace - Adaline\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create detailed execution traces for monitoring.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://adaline.mintlify.app/_mintlify/api/og/v2?division=Logs\u0026amp;title=Create+Log+Trace\u0026amp;description=Create+detailed+execution+traces+for+monitoring.\u0026amp;theme=264dce883ed1f8732945193d\u0026amp;signature=fc483fd3478c9336e6351f5e77869d57964f42f8e6df506322d739fd05e280e8\">\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=\"/docs/mintlify-assets/_mintlify/favicons/adaline/8HUpnEtc97ZiIk5G/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Adaline\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4A6D47\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/reference/api/v2/openapi/create-log-trace.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.adaline.ai/#organization\",\"name\":\"Adaline\",\"url\":\"https://www.adaline.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/logo/light.svg?fit=max\u0026auto=format\u0026n=-Bsa4BuK4fSdmy67\u0026q=85\u0026s=67ecdbb5a6f0a0bd873337ea8478686a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.adaline.ai/docs#website\",\"name\":\"Adaline\",\"url\":\"https://www.adaline.ai/docs\",\"publisher\":{\"@id\":\"https://www.adaline.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace#webpage\",\"url\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace\",\"name\":\"Create Log Trace\",\"description\":\"Create detailed execution traces for monitoring.\",\"dateModified\":\"2026-03-18T16:31:14.406Z\",\"isPartOf\":{\"@id\":\"https://www.adaline.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API\",\"item\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/list-logs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Logs\",\"item\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/list-logs\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Log Trace\",\"item\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace#apireference\",\"headline\":\"Create Log Trace\",\"name\":\"Create Log Trace\",\"description\":\"Create detailed execution traces for monitoring.\",\"url\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace\",\"mainEntityOfPage\":{\"@id\":\"https://www.adaline.ai/docs/reference/api/v2/openapi/create-log-trace#webpage\"},\"dateModified\":\"2026-03-18T16:31:14.406Z\",\"publisher\":{\"@id\":\"https://www.adaline.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.adaline.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Adaline\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Adaline","nav":{"global":null,"tabs":[{"tab":"Platform","icon":"book","pages":[{"title":"Platform","href":"/get-started/introduction"}]},{"tab":"Reference","icon":"braces","groups":[{"group":"Get started","pages":[{"title":"Reference","href":"/reference/introduction"},{"title":null,"href":"/reference/auth"},{"title":"Rate Limits","href":"/reference/limits"}]},{"group":"API","pages":[{"group":"Logs","icon":"list-tree","expanded":true,"pages":[{"title":"List Log Traces","openapi":"GET /logs","description":"List log traces for a project with optional filters. Results are paginated.","href":"/reference/api/v2/openapi/list-logs"},{"title":"Create Log Trace","openapi":"POST /logs/trace","href":"/reference/api/v2/openapi/create-log-trace"},{"title":"Update Log Trace","openapi":"PATCH /logs/trace","description":"Update existing trace information.","href":"/reference/api/v2/openapi/update-log-trace"},{"title":"Create Log Span","openapi":"POST /logs/span","href":"/reference/api/v2/openapi/create-log-span"},{"title":"Search Traces","openapi":"POST /logs/traces","href":"/reference/api/v2/openapi/export-log-traces"},{"title":"Search Spans","openapi":"POST /logs/spans","href":"/reference/api/v2/openapi/export-log-spans"}]},{"group":"Deployments","icon":"cloud-upload","expanded":true,"pages":[{"title":"Get Deployment","openapi":"GET /deployments","href":"/reference/api/v2/openapi/get-deployment"}]},{"group":"Prompts","icon":"message-square","expanded":true,"pages":[{"title":"List Prompts","openapi":"GET /prompts","href":"/reference/api/v2/openapi/list-prompts"},{"title":"Create Prompt","openapi":"POST /prompts","href":"/reference/api/v2/openapi/create-prompt"},{"title":"Get Prompt","openapi":"GET /prompts/{promptId}","href":"/reference/api/v2/openapi/get-prompt"},{"title":"Update Prompt","openapi":"PATCH /prompts/{promptId}","href":"/reference/api/v2/openapi/update-prompt"},{"title":"Delete Prompt","openapi":"DELETE /prompts/{promptId}","href":"/reference/api/v2/openapi/delete-prompt"},{"title":"Get Prompt Draft","openapi":"GET /prompts/{promptId}/draft","href":"/reference/api/v2/openapi/get-prompt-draft"},{"title":"List Playgrounds","openapi":"GET /projects/{projectId}/prompts/{promptId}/playgrounds","href":"/reference/api/v2/openapi/list-playgrounds"},{"title":"Get Playground","openapi":"GET /projects/{projectId}/prompts/{promptId}/playgrounds/{playgroundId}","href":"/reference/api/v2/openapi/get-playground"}]},{"group":"Datasets","icon":"database","expanded":true,"pages":[{"title":"List Datasets","openapi":"GET /datasets","href":"/reference/api/v2/openapi/list-datasets"},{"title":"Create Dataset","openapi":"POST /datasets","href":"/reference/api/v2/openapi/create-dataset"},{"title":"Get Dataset","openapi":"GET /datasets/{datasetId}","href":"/reference/api/v2/openapi/get-dataset"},{"title":"Update Dataset","openapi":"PATCH /datasets/{datasetId}","href":"/reference/api/v2/openapi/update-dataset"},{"title":"Delete Dataset","openapi":"DELETE /datasets/{datasetId}","href":"/reference/api/v2/openapi/delete-dataset"},{"title":"Add Dataset Columns","openapi":"POST /datasets/{datasetId}/columns","href":"/reference/api/v2/openapi/add-dataset-columns"},{"title":"Update Dataset Column","openapi":"PATCH /datasets/{datasetId}/columns/{columnId}","href":"/reference/api/v2/openapi/update-dataset-column"},{"title":"Delete Dataset Column","openapi":"DELETE /datasets/{datasetId}/columns/{columnId}","href":"/reference/api/v2/openapi/delete-dataset-column"},{"title":"Get Dataset Rows","openapi":"GET /datasets/{datasetId}/rows","href":"/reference/api/v2/openapi/get-dataset-rows"},{"title":"Add Dataset Rows","openapi":"POST /datasets/{datasetId}/rows","href":"/reference/api/v2/openapi/add-dataset-rows"},{"title":"Update Dataset Row","openapi":"PATCH /datasets/{datasetId}/rows/{rowId}","href":"/reference/api/v2/openapi/update-dataset-row"},{"title":"Delete Dataset Row","openapi":"DELETE /datasets/{datasetId}/rows/{rowId}","href":"/reference/api/v2/openapi/delete-dataset-row"},{"title":"Fetch Dynamic Columns","openapi":"POST /datasets/{datasetId}/dynamic-columns/fetch","href":"/reference/api/v2/openapi/fetch-dynamic-columns"}]},{"group":"Evaluators","icon":"shield-check","expanded":true,"pages":[{"title":"List Evaluators","openapi":"GET /prompts/{promptId}/evaluators","href":"/reference/api/v2/openapi/list-evaluators"},{"title":"Create Evaluator","openapi":"POST /prompts/{promptId}/evaluators","href":"/reference/api/v2/openapi/create-evaluator"},{"title":"Get Evaluator","openapi":"GET /prompts/{promptId}/evaluators/{evaluatorId}","href":"/reference/api/v2/openapi/get-evaluator"},{"title":"Update Evaluator","openapi":"PATCH /prompts/{promptId}/evaluators/{evaluatorId}","href":"/reference/api/v2/openapi/update-evaluator"},{"title":"Delete Evaluator","openapi":"DELETE /prompts/{promptId}/evaluators/{evaluatorId}","href":"/reference/api/v2/openapi/delete-evaluator"}]},{"group":"Evaluations","icon":"flask-conical","expanded":true,"pages":[{"title":"List Evaluations","openapi":"GET /prompts/{promptId}/evaluations","href":"/reference/api/v2/openapi/list-evaluations"},{"title":"Create Evaluation","openapi":"POST /prompts/{promptId}/evaluations","href":"/reference/api/v2/openapi/create-evaluation"},{"title":"Get Evaluation","openapi":"GET /prompts/{promptId}/evaluations/{evaluationId}","href":"/reference/api/v2/openapi/get-evaluation"},{"title":"Get Evaluation Results","openapi":"GET /prompts/{promptId}/evaluations/{evaluationId}/results","href":"/reference/api/v2/openapi/get-evaluation-results"},{"title":"Cancel Evaluation","openapi":"POST /prompts/{promptId}/evaluations/{evaluationId}/cancel","href":"/reference/api/v2/openapi/cancel-evaluation"}]},{"group":"Projects","icon":"folder","expanded":true,"pages":[{"title":"List Projects","openapi":"GET /projects","href":"/reference/api/v2/openapi/list-projects"},{"title":"Get Project","openapi":"GET /projects/{projectId}","href":"/reference/api/v2/openapi/get-project"},{"title":"Update Project","openapi":"PATCH /projects/{projectId}","href":"/reference/api/v2/openapi/update-project"}]},{"group":"Providers","icon":"cpu","expanded":true,"pages":[{"title":"List Providers","openapi":"GET /providers","href":"/reference/api/v2/openapi/list-providers"},{"title":"Get Provider","openapi":"GET /providers/{providerId}","href":"/reference/api/v2/openapi/get-provider"}]},{"group":"Models","icon":"brain","expanded":true,"pages":[{"title":"List Models","openapi":"GET /models","href":"/reference/api/v2/openapi/list-models"}]}]},{"group":"SDKs","pages":[{"group":"Adaline (TypeScript)","pages":[{"title":null,"href":"/reference/sdk/v2/typescript/overview"},{"group":"Types","pages":[{"title":null,"href":"/reference/sdk/v2/typescript/types/BackgroundStatus"},{"title":null,"href":"/reference/sdk/v2/typescript/types/BufferedEntry"},{"title":"Deployment","href":"/reference/sdk/v2/typescript/types/deployment"},{"title":"ErrorContent","href":"/reference/sdk/v2/typescript/types/ErrorContent"},{"title":null,"href":"/reference/sdk/v2/typescript/types/EvaluationResultsQuery"},{"title":null,"href":"/reference/sdk/v2/typescript/types/FunctionSchema"},{"title":"ImageContent","href":"/reference/sdk/v2/typescript/types/ImageContent"},{"title":"LogAttributesValue","href":"/reference/sdk/v2/typescript/types/LogAttributesValue"},{"title":null,"href":"/reference/sdk/v2/typescript/types/Logger"},{"title":"LogSpanContent","href":"/reference/sdk/v2/typescript/types/LogSpanContent"},{"title":"LogSpanEmbeddingsContent","href":"/reference/sdk/v2/typescript/types/LogSpanEmbeddingsContent"},{"title":"LogSpanFunctionContent","href":"/reference/sdk/v2/typescript/types/LogSpanFunctionContent"},{"title":"LogSpanGuardrailContent","href":"/reference/sdk/v2/typescript/types/LogSpanGuardrailContent"},{"title":"LogSpanModelContent","href":"/reference/sdk/v2/typescript/types/LogSpanModelContent"},{"title":"LogSpanModelStreamContent","href":"/reference/sdk/v2/typescript/types/LogSpanModelStreamContent"},{"title":"LogSpanOtherContent","href":"/reference/sdk/v2/typescript/types/LogSpanOtherContent"},{"title":"LogSpanRetrievalContent","href":"/reference/sdk/v2/typescript/types/LogSpanRetrievalContent"},{"title":"LogSpanToolContent","href":"/reference/sdk/v2/typescript/types/LogSpanToolContent"},{"title":"LogSpanVariable","href":"/reference/sdk/v2/typescript/types/LogSpanVariable"},{"title":null,"href":"/reference/sdk/v2/typescript/types/MessageContent"},{"title":"MessageRole","href":"/reference/sdk/v2/typescript/types/MessageRole"},{"title":"PdfContent","href":"/reference/sdk/v2/typescript/types/PdfContent"},{"title":null,"href":"/reference/sdk/v2/typescript/types/PromptMessage"},{"title":"PromptSnapshot","href":"/reference/sdk/v2/typescript/types/PromptSnapshot"},{"title":null,"href":"/reference/sdk/v2/typescript/types/PromptSnapshotConfig"},{"title":null,"href":"/reference/sdk/v2/typescript/types/PromptVariable"},{"title":"ReasoningContent","href":"/reference/sdk/v2/typescript/types/ReasoningContent"},{"title":"ResponseSchema","href":"/reference/sdk/v2/typescript/types/ResponseSchema"},{"title":null,"href":"/reference/sdk/v2/typescript/types/RetryOptions"},{"title":"SearchResultContent","href":"/reference/sdk/v2/typescript/types/SearchResultContent"},{"title":null,"href":"/reference/sdk/v2/typescript/types/SpanStatus"},{"title":"TextContent","href":"/reference/sdk/v2/typescript/types/TextContent"},{"title":"ToolCallContent","href":"/reference/sdk/v2/typescript/types/ToolCallContent"},{"title":null,"href":"/reference/sdk/v2/typescript/types/ToolFunction"},{"title":"ToolFunctionDefinition","href":"/reference/sdk/v2/typescript/types/ToolFunctionDefinition"},{"title":"ToolResponseContent","href":"/reference/sdk/v2/typescript/types/ToolResponseContent"},{"title":"TraceStatus","href":"/reference/sdk/v2/typescript/types/TraceStatus"},{"title":null,"href":"/reference/sdk/v2/typescript/types/VariableModality"},{"title":"VariableValue","href":"/reference/sdk/v2/typescript/types/VariableValue"}]},{"group":"Classes","pages":[{"title":null,"href":"/reference/sdk/v2/typescript/classes/adaline"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/datasets"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/dataset-rows"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/dataset-columns"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/prompts"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/prompt-draft"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/prompt-playgrounds"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/prompt-evaluators"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/prompt-evaluations"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/evaluation-results"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/providers"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/models"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/projects"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/logs"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/log-traces"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/log-spans"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/monitor"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/trace"},{"title":null,"href":"/reference/sdk/v2/typescript/classes/span"}]}]},{"group":"Adaline (Python)","pages":[{"title":null,"href":"/reference/sdk/v2/python/overview"},{"group":"Types","pages":[{"title":null,"href":"/reference/sdk/v2/python/types/BackgroundStatus"},{"title":null,"href":"/reference/sdk/v2/python/types/BufferedEntry"},{"title":null,"href":"/reference/sdk/v2/python/types/deployment"},{"title":null,"href":"/reference/sdk/v2/python/types/ErrorContent"},{"title":null,"href":"/reference/sdk/v2/python/types/EvaluationResultsQuery"},{"title":null,"href":"/reference/sdk/v2/python/types/FunctionSchema"},{"title":null,"href":"/reference/sdk/v2/python/types/ImageContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogAttributesValue"},{"title":null,"href":"/reference/sdk/v2/python/types/Logger"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanEmbeddingsContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanFunctionContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanGuardrailContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanModelContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanModelStreamContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanOtherContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanRetrievalContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanToolContent"},{"title":null,"href":"/reference/sdk/v2/python/types/LogSpanVariable"},{"title":null,"href":"/reference/sdk/v2/python/types/MessageContent"},{"title":null,"href":"/reference/sdk/v2/python/types/MessageRole"},{"title":null,"href":"/reference/sdk/v2/python/types/PdfContent"},{"title":null,"href":"/reference/sdk/v2/python/types/PromptMessage"},{"title":null,"href":"/reference/sdk/v2/python/types/PromptSnapshot"},{"title":null,"href":"/reference/sdk/v2/python/types/PromptSnapshotConfig"},{"title":null,"href":"/reference/sdk/v2/python/types/PromptVariable"},{"title":null,"href":"/reference/sdk/v2/python/types/ReasoningContent"},{"title":null,"href":"/reference/sdk/v2/python/types/SearchResultContent"},{"title":null,"href":"/reference/sdk/v2/python/types/SpanStatus"},{"title":null,"href":"/reference/sdk/v2/python/types/TextContent"},{"title":null,"href":"/reference/sdk/v2/python/types/ToolCallContent"},{"title":null,"href":"/reference/sdk/v2/python/types/ToolFunction"},{"title":null,"href":"/reference/sdk/v2/python/types/ToolFunctionDefinition"},{"title":null,"href":"/reference/sdk/v2/python/types/ToolResponseContent"},{"title":null,"href":"/reference/sdk/v2/python/types/TraceStatus"},{"title":null,"href":"/reference/sdk/v2/python/types/VariableModality"},{"title":null,"href":"/reference/sdk/v2/python/types/VariableValue"}]},{"group":"Classes","pages":[{"title":null,"href":"/reference/sdk/v2/python/classes/adaline"},{"title":null,"href":"/reference/sdk/v2/python/classes/datasets"},{"title":null,"href":"/reference/sdk/v2/python/classes/dataset-rows"},{"title":null,"href":"/reference/sdk/v2/python/classes/dataset-columns"},{"title":null,"href":"/reference/sdk/v2/python/classes/prompts"},{"title":null,"href":"/reference/sdk/v2/python/classes/prompt-draft"},{"title":null,"href":"/reference/sdk/v2/python/classes/prompt-playgrounds"},{"title":null,"href":"/reference/sdk/v2/python/classes/prompt-evaluators"},{"title":null,"href":"/reference/sdk/v2/python/classes/prompt-evaluations"},{"title":null,"href":"/reference/sdk/v2/python/classes/evaluation-results"},{"title":null,"href":"/reference/sdk/v2/python/classes/providers"},{"title":null,"href":"/reference/sdk/v2/python/classes/models"},{"title":null,"href":"/reference/sdk/v2/python/classes/projects"},{"title":null,"href":"/reference/sdk/v2/python/classes/logs"},{"title":null,"href":"/reference/sdk/v2/python/classes/log-traces"},{"title":null,"href":"/reference/sdk/v2/python/classes/log-spans"},{"title":null,"href":"/reference/sdk/v2/python/classes/monitor"},{"title":null,"href":"/reference/sdk/v2/python/classes/trace"},{"title":null,"href":"/reference/sdk/v2/python/classes/span"}]}]},{"group":"Gateway","pages":[{"title":null,"href":"/reference/gateway/v2/overview"},{"group":"Classes","pages":[{"title":null,"href":"/reference/gateway/v2/classes/gateway"}]},{"group":"Types","pages":[{"title":null,"href":"/reference/gateway/v2/types/config"},{"title":null,"href":"/reference/gateway/v2/types/messages"},{"title":null,"href":"/reference/gateway/v2/types/tools"},{"title":null,"href":"/reference/gateway/v2/types/responses"}]},{"group":"Examples","pages":[{"title":null,"href":"/reference/gateway/v2/examples/complete-chat"},{"title":null,"href":"/reference/gateway/v2/examples/stream-chat"},{"title":null,"href":"/reference/gateway/v2/examples/tool-calls"},{"title":null,"href":"/reference/gateway/v2/examples/embeddings"}]}]}]},{"group":"Proxy","pages":[{"title":"Headers","href":"/reference/proxy/headers"}]}]},{"tab":"Integrations","icon":"cable","pages":[{"title":"Integrations","href":"/integrations/introduction"}]},{"tab":"Cookbook","icon":"notebook-text","hidden":true,"pages":[{"title":"Cookbook","href":"/cookbook/cookbook"}]}]},"basePath":"","title":"Create Log Trace - Adaline","buildId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","deploymentId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CLz2_Z5D.js","utils-7A5jZhOT.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BVWmkKuv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-4SOfrh0F.js","snippetPresets-CMc8KicP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-DeQN5MDd.js","ApiExamples-Ba9tX7z3.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Be8krXvv.js","shallow-CBC3K1uB.js","getApiPlaygroundDisplay-4tKcUAYo.js","CodeSnippet-C1Xa06ft.js","CodeSnippets-vqiz27A_.js","getPastedJson-NUwRfM32.js","icon-DkIVqWh9.js","MethodPill-qmhT7_wz.js","DuplicateIcon-_gWp1vhn.js","createIcon-NA1p_TVA.js","DynamicMarkdown-Bas9A7wq.js","SectionHeading-a1cS-24U.js","axios-vUo_bRtp.js","Markdown-D3ZTwq_a.js","clsx-BcghKhHb.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-B66mVNPp.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DmooSyTN.js"]}