Key-value pair inputs of this trace. Note, there is a special field to capture messages in LLM calls. You can still use it in the case of LLM calls to track the key-value pairs for prompt templates.
If specified, this log and its entire associated trace will logged with this probability. Must be between 0 and 1 (incl.). Defaults to 1.0 (i.e., keeping all logs)
Any annotations on log which were collected on Parea frontend. It maps annoation criterion ID to a dictionary mapping user_id (Parea user ID) to annotation.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Parea AI","colors":{"primary":"#9563FF","light":"#AE87FF","dark":"#0D001D"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/pareaai/3kurg3MZRrsWWk8t/logo/parea-light.png?fit=max\u0026auto=format\u0026n=3kurg3MZRrsWWk8t\u0026q=85\u0026s=c32fc81b38c3586ed7187a84b3e0c8d9","dark":"https://mintcdn.com/pareaai/3kurg3MZRrsWWk8t/logo/parea-dark.png?fit=max\u0026auto=format\u0026n=3kurg3MZRrsWWk8t\u0026q=85\u0026s=0c9b98a6abbc1a8b0851dda2467305d3"},"api":{"playground":{"display":"simple"},"mdx":{"server":"https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1","auth":{"method":"key","name":"x-api-key"}}},"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[{"label":"Discord","href":"https://discord.gg/p7CUwSKJD6"}],"primary":{"type":"button","label":"HomePage","href":"https://www.parea.ai/"}},"footer":{"socials":{"twitter":"https://twitter.com/PareaAI","github":"https://github.com/parea-ai","linkedin":"https://www.linkedin.com/company/parea-ai/"}},"integrations":{"posthog":{"apiKey":"phc_QJDW2uNYJGwIl7dXs4WLDWEuntie6Ye1TQRW9p3re18","apiHost":"https://eu.posthog.com"}},"navigation":{"global":{"anchors":[{"anchor":"Github","href":"https://github.com/parea-ai/parea-sdk","icon":"github"},{"anchor":"Discord","href":"https://discord.gg/p7CUwSKJD6","icon":"discord"},{"anchor":"Chat with Founders","href":"https://calendly.com/parea-ai/chat","icon":"phone"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pareaai","hasAudioNarration":false,"actualSubdomain":"pareaai","customDomains":["docs.parea.ai"],"gitSource":{"type":"github","owner":"parea-ai","repo":"parea-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e60a4c43fec466d7925c","collectionId":"662c90c1-bcb2-4744-a0d9-5f805b4d92b4","schemaVersion":"v2"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6a21e60a4c43fec466d7925c:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Documentation","count":40},{"language":"default","tag":"Guides","count":33},{"language":"default","tag":"API Reference","count":22},{"language":"default","tag":"Blog","count":22},{"language":"default","tag":"Observability","count":11},{"language":"default","tag":"Integrations","count":7},{"language":"default","tag":"Experiments","count":5},{"language":"default","tag":"Tracing","count":5},{"language":"default","tag":"Manual Review","count":5},{"language":"default","tag":"Playground","count":5}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/tracing/get-trace-log","slug":"/api-reference/tracing/get-trace-log","pageMetadata":{"title":"Get Trace Log","openapi":"get /api/parea/v1/trace_log/{trace_id}","description":"Fetches a trace log by its UUID.","href":"/api-reference/tracing/get-trace-log"},"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: \"Fetches a trace log by its UUID.\"\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":"Get Trace Log","openapi":"get /api/parea/v1/trace_log/{trace_id}","description":"Fetches a trace log by its UUID.","href":"/api-reference/tracing/get-trace-log"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Trace Log Api","description":"Fetches a trace log by its UUID.","operationId":"get_trace_log_api_api_parea_v1_trace_log__trace_id__get","security":["ea9c2841-804e-4273-9998-44ce0933dcca","77f98a79-c802-48fb-b175-6da7b320fef7","501e685f-252e-4235-b425-5b19ae2c3e9a"],"parameters":["d8a91ddf-586e-4e24-b7d1-0f2d504ef082"],"responses":{"200":"80c4edb8-19ac-4d2a-87a0-f8a5c6f6440a","422":"b0abbe3e-419a-4473-b941-40d4d4a18b5f"},"method":"get","type":"path","servers":[],"path":"/api/parea/v1/trace_log/{trace_id}","baseUrlOptions":["https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1"],"title":"Get Trace Log Api","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d8a91ddf-586e-4e24-b7d1-0f2d504ef082":{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","title":"Trace Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"80c4edb8-19ac-4d2a-87a0-f8a5c6f6440a":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"TraceLogTreeSchema","required":["trace_id","start_timestamp"],"example":{"depth":0,"end_timestamp":"2024-05-30 13:48:35","execution_order":0,"inputs":{"x":"Golang","y":"Fiber"},"metadata":{"purpose":"testing"},"output":"Some logged output","parent_trace_id":"\u003c\u003cSAME_UUID>>","project_name":"default","root_trace_id":"\u003c\u003cSAME_UUID>>","start_timestamp":"2024-05-30 13:48:34","status":"success","trace_id":"\u003c\u003cUUID>>","trace_name":"test"},"properties":{"trace_id":{"type":"string","title":"Trace Id","description":"UUID of the trace log. Ex: e3267953-a16f-47f5-b37e-622dbb29d730","isRequired":true,"uniqueKey":"oneOf.0.trace_id","typeLabel":"string"},"start_timestamp":{"type":"string","title":"Start Timestamp","description":"Start timestamp","isRequired":true,"uniqueKey":"oneOf.0.start_timestamp","typeLabel":"string"},"configuration":{"type":"object","title":"InputsSchema","description":"If this log was a LLM call, this will contain the configuration used for the call.","default":{},"properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"Model name","uniqueKey":"oneOf.0.configuration.model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","description":"Model name","uniqueKey":"oneOf.0.configuration.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model","typeLabel":"string | null"},"provider":{"oneOf":[{"type":"string","title":"Provider","description":"Provider name","uniqueKey":"oneOf.0.configuration.provider.oneOf.0","typeLabel":"string"},{"type":"null","title":"Provider","description":"Provider name","uniqueKey":"oneOf.0.configuration.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.provider","typeLabel":"string | null"},"model_params":{"oneOf":[{"type":"object","title":"ParamsSchema","description":"Parameters such as temperature.","properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"Model name","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","description":"Model name","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.model","typeLabel":"string | null"},"temp":{"oneOf":[{"type":"number","title":"Temp","description":"Temperature","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.temp.oneOf.0","typeLabel":"number"},{"type":"null","title":"Temp","description":"Temperature","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.temp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.temp","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","title":"Top P","description":"Top p","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.top_p.oneOf.0","typeLabel":"number"},{"type":"null","title":"Top P","description":"Top p","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.top_p.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.top_p","typeLabel":"number | null"},"frequency_penalty":{"oneOf":[{"type":"number","title":"Frequency Penalty","description":"Frequency penalty","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.frequency_penalty.oneOf.0","typeLabel":"number"},{"type":"null","title":"Frequency Penalty","description":"Frequency penalty","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.frequency_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.frequency_penalty","typeLabel":"number | null"},"presence_penalty":{"oneOf":[{"type":"number","title":"Presence Penalty","description":"Presence penalty","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.presence_penalty.oneOf.0","typeLabel":"number"},{"type":"null","title":"Presence Penalty","description":"Presence penalty","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.presence_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.presence_penalty","typeLabel":"number | null"},"max_length":{"oneOf":[{"type":"integer","title":"Max Length","description":"Max. number of completion tokens","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.max_length.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Length","description":"Max. number of completion tokens","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.max_length.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.max_length","typeLabel":"integer | null"},"response_format":{"oneOf":[{"type":"object","title":"Response Format","description":"Response format. See OpenAI docs for definition","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.response_format.oneOf.0","typeLabel":"Response Format · object"},{"type":"null","title":"Response Format","description":"Response format. See OpenAI docs for definition","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.response_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.response_format","typeLabel":"Response Format · object | null"},"safe_prompt":{"oneOf":[{"type":"boolean","title":"Safe Prompt","description":"Used for Mistral.","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.safe_prompt.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Safe Prompt","description":"Used for Mistral.","uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.safe_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0.safe_prompt","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.0.configuration.model_params.oneOf.0","typeLabel":"ParamsSchema · object"},{"type":"null","description":"Parameters such as temperature.","uniqueKey":"oneOf.0.configuration.model_params.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.model_params","typeLabel":"ParamsSchema · object | null"},"messages":{"oneOf":[{"type":"array","items":{"properties":{"content":{"oneOf":[{"type":"string","title":"Content","description":"Message content","default":"","uniqueKey":"oneOf.0.configuration.messages.oneOf.0.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.configuration.messages.oneOf.0.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"any"},"title":"Content","description":"Message content","default":"","uniqueKey":"oneOf.0.configuration.messages.oneOf.0.items.[INDEX].content.oneOf.1","typeLabel":"any[]"},{"type":"null","title":"Content","description":"Message content","default":"","uniqueKey":"oneOf.0.configuration.messages.oneOf.0.items.[INDEX].content.oneOf.2","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.messages.oneOf.0.items.[INDEX].content","typeLabel":"string | any[] | null"},"role":{"type":"string","title":"Role","description":"Message role","default":"user","enum":["user","assistant","system","user","assistant","function","tool"],"uniqueKey":"oneOf.0.configuration.messages.oneOf.0.items.[INDEX].role","typeLabel":"enum\u003cstring>"}},"type":"object","title":"MessageSchema","uniqueKey":"oneOf.0.configuration.messages.oneOf.0.items.[INDEX]","typeLabel":"MessageSchema · object"},"title":"Messages","description":"Messages to LLM","uniqueKey":"oneOf.0.configuration.messages.oneOf.0","typeLabel":"MessageSchema · object[]"},{"type":"null","title":"Messages","description":"Messages to LLM","uniqueKey":"oneOf.0.configuration.messages.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.messages","typeLabel":"MessageSchema · object[] | null"},"functions":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.configuration.functions.oneOf.0.items.[INDEX]","typeLabel":"any"},"title":"Functions","description":"A list of functions the model may generate JSON inputs for. Assumes every item in list has key 'name', 'description' and 'parameters'","uniqueKey":"oneOf.0.configuration.functions.oneOf.0","typeLabel":"any[]"},{"type":"null","title":"Functions","description":"A list of functions the model may generate JSON inputs for. Assumes every item in list has key 'name', 'description' and 'parameters'","uniqueKey":"oneOf.0.configuration.functions.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.functions","typeLabel":"any[] | null"},"function_call":{"oneOf":[{"type":"string","title":"Function Call","description":"Controls how the model responds to function calls. “auto†means the model can pick between an end-user or calling a function. To specifying a particular function name use a dictionary with key=“name†and value=“my_functionâ€. This will force the model to call that function.","uniqueKey":"oneOf.0.configuration.function_call.oneOf.0","typeLabel":"string"},{"type":"object","title":"Function Call","description":"Controls how the model responds to function calls. “auto†means the model can pick between an end-user or calling a function. To specifying a particular function name use a dictionary with key=“name†and value=“my_functionâ€. This will force the model to call that function.","uniqueKey":"oneOf.0.configuration.function_call.oneOf.1","typeLabel":"Function Call · object"},{"type":"null","title":"Function Call","description":"Controls how the model responds to function calls. “auto†means the model can pick between an end-user or calling a function. To specifying a particular function name use a dictionary with key=“name†and value=“my_functionâ€. This will force the model to call that function.","uniqueKey":"oneOf.0.configuration.function_call.oneOf.2","typeLabel":"null"}],"uniqueKey":"oneOf.0.configuration.function_call","typeLabel":"string | Function Call · object | null"}},"uniqueKey":"oneOf.0.configuration","typeLabel":"InputsSchema · object"},"inputs":{"oneOf":[{"type":"object","title":"Inputs","description":"Key-value pair inputs of this trace. Note, there is a special field to capture messages in LLM calls. You can still use it in the case of LLM calls to track the key-value pairs for prompt templates.","uniqueKey":"oneOf.0.inputs.oneOf.0","typeLabel":"Inputs · object"},{"type":"null","title":"Inputs","description":"Key-value pair inputs of this trace. Note, there is a special field to capture messages in LLM calls. You can still use it in the case of LLM calls to track the key-value pairs for prompt templates.","uniqueKey":"oneOf.0.inputs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.inputs","typeLabel":"Inputs · object | null"},"output":{"oneOf":[{"type":"string","title":"Output","description":"Response of this step/log/function. If response isn’t a string, it needs to be serialized to a string.","uniqueKey":"oneOf.0.output.oneOf.0","typeLabel":"string"},{"type":"null","title":"Output","description":"Response of this step/log/function. If response isn’t a string, it needs to be serialized to a string.","uniqueKey":"oneOf.0.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output","typeLabel":"string | null"},"target":{"oneOf":[{"type":"string","title":"Target","description":"The target or “gold standard†response for the inputs of this log.","uniqueKey":"oneOf.0.target.oneOf.0","typeLabel":"string"},{"type":"null","title":"Target","description":"The target or “gold standard†response for the inputs of this log.","uniqueKey":"oneOf.0.target.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.target","typeLabel":"string | null"},"latency":{"oneOf":[{"type":"number","title":"Latency","description":"Latency of this log in seconds.","default":0,"uniqueKey":"oneOf.0.latency.oneOf.0","typeLabel":"number"},{"type":"null","title":"Latency","description":"Latency of this log in seconds.","default":0,"uniqueKey":"oneOf.0.latency.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.latency","typeLabel":"number | null"},"time_to_first_token":{"oneOf":[{"type":"number","title":"Time To First Token","description":"If this was a LLM call, this will contain the time taken to generate the first token.","uniqueKey":"oneOf.0.time_to_first_token.oneOf.0","typeLabel":"number"},{"type":"null","title":"Time To First Token","description":"If this was a LLM call, this will contain the time taken to generate the first token.","uniqueKey":"oneOf.0.time_to_first_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.time_to_first_token","typeLabel":"number | null"},"input_tokens":{"oneOf":[{"type":"integer","title":"Input Tokens","description":"If this was a LLM call, this will contain the number of tokens in the input.","default":0,"uniqueKey":"oneOf.0.input_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Input Tokens","description":"If this was a LLM call, this will contain the number of tokens in the input.","default":0,"uniqueKey":"oneOf.0.input_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.input_tokens","typeLabel":"integer | null"},"output_tokens":{"oneOf":[{"type":"integer","title":"Output Tokens","description":"If this was a LLM call, this will contain the number of tokens in the output.","default":0,"uniqueKey":"oneOf.0.output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Output Tokens","description":"If this was a LLM call, this will contain the number of tokens in the output.","default":0,"uniqueKey":"oneOf.0.output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output_tokens","typeLabel":"integer | null"},"total_tokens":{"oneOf":[{"type":"integer","title":"Total Tokens","description":"If this was a LLM call, this will contain the total number of tokens in the input and output.","default":0,"uniqueKey":"oneOf.0.total_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total Tokens","description":"If this was a LLM call, this will contain the total number of tokens in the input and output.","default":0,"uniqueKey":"oneOf.0.total_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.total_tokens","typeLabel":"integer | null"},"cost":{"oneOf":[{"type":"number","title":"Cost","description":"If this was a LLM call, this will contain the cost of the call.","default":0,"uniqueKey":"oneOf.0.cost.oneOf.0","typeLabel":"number"},{"type":"null","title":"Cost","description":"If this was a LLM call, this will contain the cost of the call.","default":0,"uniqueKey":"oneOf.0.cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.cost","typeLabel":"number | null"},"parent_trace_id":{"oneOf":[{"type":"string","title":"Parent Trace Id","description":"If given, current trace will be a child of this trace. If current child is not a child, `parent_trace_id` should be equal to `trace_id`","uniqueKey":"oneOf.0.parent_trace_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Parent Trace Id","description":"If given, current trace will be a child of this trace. If current child is not a child, `parent_trace_id` should be equal to `trace_id`","uniqueKey":"oneOf.0.parent_trace_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.parent_trace_id","typeLabel":"string | null"},"root_trace_id":{"oneOf":[{"type":"string","title":"Root Trace Id","description":"This is the UUID of the root trace/span of this trace. If current trace is the root trace, `root_trace_id` must be equal to `trace_id`","uniqueKey":"oneOf.0.root_trace_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Root Trace Id","description":"This is the UUID of the root trace/span of this trace. If current trace is the root trace, `root_trace_id` must be equal to `trace_id`","uniqueKey":"oneOf.0.root_trace_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.root_trace_id","typeLabel":"string | null"},"project_name":{"oneOf":[{"type":"string","title":"Project Name","description":"Name of the project with which the trace/log should be associated with. Must be provided if `project_uuid` is not provided","uniqueKey":"oneOf.0.project_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Project Name","description":"Name of the project with which the trace/log should be associated with. Must be provided if `project_uuid` is not provided","uniqueKey":"oneOf.0.project_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.project_name","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"Status","description":"If the trace was a `success` or `error`","uniqueKey":"oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Status","description":"If the trace was a `success` or `error`","uniqueKey":"oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.status","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","title":"Error","description":"If `status=error`, this should contain any additional information such as the stacktrace","uniqueKey":"oneOf.0.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"If `status=error`, this should contain any additional information such as the stacktrace","uniqueKey":"oneOf.0.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.error","typeLabel":"string | null"},"output_for_eval_metrics":{"oneOf":[{"type":"string","title":"Output For Eval Metrics","description":"If provided, will be used as output for any specified evaluation metric.","uniqueKey":"oneOf.0.output_for_eval_metrics.oneOf.0","typeLabel":"string"},{"type":"null","title":"Output For Eval Metrics","description":"If provided, will be used as output for any specified evaluation metric.","uniqueKey":"oneOf.0.output_for_eval_metrics.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output_for_eval_metrics","typeLabel":"string | null"},"evaluation_metric_names":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.evaluation_metric_names.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Evaluation Metric Names","description":"Names of evaluation metrics deployed on Parea which should be applied to this log.","uniqueKey":"oneOf.0.evaluation_metric_names.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Evaluation Metric Names","description":"Names of evaluation metrics deployed on Parea which should be applied to this log.","uniqueKey":"oneOf.0.evaluation_metric_names.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.evaluation_metric_names","typeLabel":"string[] | null"},"scores":{"oneOf":[{"type":"array","items":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the score / evaluation","isRequired":true,"uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].name","typeLabel":"string"},"score":{"type":"number","title":"Score","description":"Value of the score","isRequired":true,"uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].score","typeLabel":"number"},"evaluation_metric_id":{"oneOf":[{"type":"integer","title":"Evaluation Metric Id","description":"Will be automatically populated if this score was from a deployed evaluation metric.","uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].evaluation_metric_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Evaluation Metric Id","description":"Will be automatically populated if this score was from a deployed evaluation metric.","uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].evaluation_metric_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].evaluation_metric_id","typeLabel":"integer | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Reason for this score","uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Reason for this score","uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX].reason","typeLabel":"string | null"}},"type":"object","required":["name","score"],"title":"EvaluationScoreSchema","examples":[{"name":"Answer Matches Target","reason":"The answer is mostly correct but lacks aspect A \u0026 B.","score":0.8}],"uniqueKey":"oneOf.0.scores.oneOf.0.items.[INDEX]","typeLabel":"EvaluationScoreSchema · object"},"title":"Scores","description":"Any scores/eval results associated with this log.","uniqueKey":"oneOf.0.scores.oneOf.0","typeLabel":"EvaluationScoreSchema · object[]"},{"type":"null","title":"Scores","description":"Any scores/eval results associated with this log.","uniqueKey":"oneOf.0.scores.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.scores","typeLabel":"EvaluationScoreSchema · object[] | null"},"feedback_score":{"oneOf":[{"type":"number","title":"Feedback Score","description":"Any captured (user) feedback on this log","uniqueKey":"oneOf.0.feedback_score.oneOf.0","typeLabel":"number"},{"type":"null","title":"Feedback Score","description":"Any captured (user) feedback on this log","uniqueKey":"oneOf.0.feedback_score.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.feedback_score","typeLabel":"number | null"},"apply_eval_frac":{"oneOf":[{"type":"number","title":"Apply Eval Frac","description":"If specified, evals given with `evaluation_metric_names` will be applied to this log with this fraction.","default":1,"uniqueKey":"oneOf.0.apply_eval_frac.oneOf.0","typeLabel":"number"},{"type":"null","title":"Apply Eval Frac","description":"If specified, evals given with `evaluation_metric_names` will be applied to this log with this fraction.","default":1,"uniqueKey":"oneOf.0.apply_eval_frac.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.apply_eval_frac","typeLabel":"number | null"},"log_sample_rate":{"oneOf":[{"type":"number","title":"Log Sample Rate","description":"If specified, this log and its entire associated trace will logged with this probability. Must be between 0 and 1 (incl.). Defaults to 1.0 (i.e., keeping all logs)","default":1,"maximum":1,"minimum":0,"uniqueKey":"oneOf.0.log_sample_rate.oneOf.0","typeLabel":"number"},{"type":"null","title":"Log Sample Rate","description":"If specified, this log and its entire associated trace will logged with this probability. Must be between 0 and 1 (incl.). Defaults to 1.0 (i.e., keeping all logs)","default":1,"uniqueKey":"oneOf.0.log_sample_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.log_sample_rate","typeLabel":"number | null"},"deployment_id":{"oneOf":[{"type":"string","title":"Deployment Id","description":"Optionally, provide the ID of the used deployed prompt in this log.","uniqueKey":"oneOf.0.deployment_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Deployment Id","description":"Optionally, provide the ID of the used deployed prompt in this log.","uniqueKey":"oneOf.0.deployment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.deployment_id","typeLabel":"string | null"},"cache_hit":{"type":"boolean","title":"Cache Hit","description":"If the cache was hit for this log.","default":false,"uniqueKey":"oneOf.0.cache_hit","typeLabel":"boolean"},"trace_name":{"oneOf":[{"type":"string","title":"Trace Name","description":"The name of this span.","uniqueKey":"oneOf.0.trace_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Trace Name","description":"The name of this span.","uniqueKey":"oneOf.0.trace_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.trace_name","typeLabel":"string | null"},"children":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.children.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Children","description":"UUIDs of any children.","uniqueKey":"oneOf.0.children.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Children","description":"UUIDs of any children.","uniqueKey":"oneOf.0.children.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.children","typeLabel":"string[] | null"},"children_ids":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.0.children_ids.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Children Ids","description":"IDs of any children. Will be automatically populated.","uniqueKey":"oneOf.0.children_ids.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Children Ids","description":"IDs of any children. Will be automatically populated.","uniqueKey":"oneOf.0.children_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.children_ids","typeLabel":"integer[] | null"},"end_timestamp":{"oneOf":[{"type":"string","title":"End Timestamp","description":"End timestamp of span.","uniqueKey":"oneOf.0.end_timestamp.oneOf.0","typeLabel":"string"},{"type":"null","title":"End Timestamp","description":"End timestamp of span.","uniqueKey":"oneOf.0.end_timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.end_timestamp","typeLabel":"string | null"},"end_user_identifier":{"oneOf":[{"type":"string","title":"End User Identifier","description":"Unique identifier for a end-user.","uniqueKey":"oneOf.0.end_user_identifier.oneOf.0","typeLabel":"string"},{"type":"null","title":"End User Identifier","description":"Unique identifier for a end-user.","uniqueKey":"oneOf.0.end_user_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.end_user_identifier","typeLabel":"string | null"},"session_id":{"oneOf":[{"type":"string","title":"Session Id","description":"Unique identifier for a session. Can you be used to associated multiple logs in e.g. chat applications.","uniqueKey":"oneOf.0.session_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Session Id","description":"Unique identifier for a session. Can you be used to associated multiple logs in e.g. chat applications.","uniqueKey":"oneOf.0.session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.session_id","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Any additional key-value pairs which provide context or are useful for filtering.","uniqueKey":"oneOf.0.metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"Any additional key-value pairs which provide context or are useful for filtering.","uniqueKey":"oneOf.0.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.metadata","typeLabel":"Metadata · object | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tags","description":"List of tags which provide additional context or are useful for filtering.","uniqueKey":"oneOf.0.tags.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tags","description":"List of tags which provide additional context or are useful for filtering.","uniqueKey":"oneOf.0.tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.tags","typeLabel":"string[] | null"},"experiment_uuid":{"oneOf":[{"type":"string","title":"Experiment Uuid","description":"If given, will be used to associate this log with an experiment.","uniqueKey":"oneOf.0.experiment_uuid.oneOf.0","typeLabel":"string"},{"type":"null","title":"Experiment Uuid","description":"If given, will be used to associate this log with an experiment.","uniqueKey":"oneOf.0.experiment_uuid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.experiment_uuid","typeLabel":"string | null"},"images":{"oneOf":[{"type":"array","items":{"properties":{"url":{"type":"string","title":"Url","description":"URL of image","isRequired":true,"uniqueKey":"oneOf.0.images.oneOf.0.items.[INDEX].url","typeLabel":"string"},"caption":{"oneOf":[{"type":"string","title":"Caption","description":"Caption of image","uniqueKey":"oneOf.0.images.oneOf.0.items.[INDEX].caption.oneOf.0","typeLabel":"string"},{"type":"null","title":"Caption","description":"Caption of image","uniqueKey":"oneOf.0.images.oneOf.0.items.[INDEX].caption.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.images.oneOf.0.items.[INDEX].caption","typeLabel":"string | null"}},"type":"object","required":["url"],"title":"TraceLogImage","uniqueKey":"oneOf.0.images.oneOf.0.items.[INDEX]","typeLabel":"TraceLogImage · object"},"title":"Images","description":"Any images associated with trace.","uniqueKey":"oneOf.0.images.oneOf.0","typeLabel":"TraceLogImage · object[]"},{"type":"null","title":"Images","description":"Any images associated with trace.","uniqueKey":"oneOf.0.images.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.images","typeLabel":"TraceLogImage · object[] | null"},"comments":{"oneOf":[{"type":"array","items":{"properties":{"trace_id":{"type":"string","title":"Trace Id","description":"Trace ID","isRequired":true,"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].trace_id","typeLabel":"string"},"comment":{"type":"string","title":"Comment","description":"Comment","isRequired":true,"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].comment","typeLabel":"string"},"id":{"oneOf":[{"type":"string","title":"Id","description":"Comment ID","isRequired":true,"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"string"},{"type":"integer","title":"Id","description":"Comment ID","isRequired":true,"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].id","typeLabel":"string | integer"},"user_id":{"type":"string","title":"User Id","description":"User ID","isRequired":true,"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].user_id","typeLabel":"string"},"created_at":{"type":"string","title":"Created At","description":"Comment creation timestamp","isRequired":true,"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].created_at","typeLabel":"string"},"user_email_address":{"oneOf":[{"type":"string","title":"User Email Address","description":"User email address","uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].user_email_address.oneOf.0","typeLabel":"string"},{"type":"null","title":"User Email Address","description":"User email address","uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].user_email_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX].user_email_address","typeLabel":"string | null"}},"type":"object","required":["trace_id","comment","id","user_id","created_at"],"title":"TraceLogCommentSchema","uniqueKey":"oneOf.0.comments.oneOf.0.items.[INDEX]","typeLabel":"TraceLogCommentSchema · object"},"title":"Comments","description":"Any comments on log which were collected on Parea frontend.","uniqueKey":"oneOf.0.comments.oneOf.0","typeLabel":"TraceLogCommentSchema · object[]"},{"type":"null","title":"Comments","description":"Any comments on log which were collected on Parea frontend.","uniqueKey":"oneOf.0.comments.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.comments","typeLabel":"TraceLogCommentSchema · object[] | null"},"annotations":{"oneOf":[{"type":"object","title":"Annotations","description":"Any annotations on log which were collected on Parea frontend. It maps annoation criterion ID to a dictionary mapping user_id (Parea user ID) to annotation.","additionalProperties":{"additionalProperties":{"properties":{"trace_id":{"type":"string","title":"Trace Id","description":"UUID of associated trace","isRequired":true,"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.trace_id","typeLabel":"string"},"defined_annotation_id":{"type":"integer","title":"Defined Annotation Id","description":"Annotation criterion ID","isRequired":true,"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.defined_annotation_id","typeLabel":"integer"},"created_at":{"type":"string","title":"Created At","description":"Annotation creation timestamp","isRequired":true,"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.created_at","typeLabel":"string"},"user_id":{"type":"string","title":"User Id","description":"Parea user ID","isRequired":true,"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.user_id","typeLabel":"string"},"score":{"oneOf":[{"type":"number","title":"Score","description":"Annotation score","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.score.oneOf.0","typeLabel":"number"},{"type":"null","title":"Score","description":"Annotation score","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.score.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.score","typeLabel":"number | null"},"value":{"oneOf":[{"type":"string","title":"Value","description":"Annotation value","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.value.oneOf.0","typeLabel":"string"},{"type":"null","title":"Value","description":"Annotation value","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.value","typeLabel":"string | null"},"id":{"oneOf":[{"type":"string","title":"Id","description":"Annotation ID","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.id.oneOf.0","typeLabel":"string"},{"type":"integer","title":"Id","description":"Annotation ID","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.id.oneOf.1","typeLabel":"integer"},{"type":"null","title":"Id","description":"Annotation ID","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.id.oneOf.2","typeLabel":"null"}],"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.id","typeLabel":"string | integer | null"},"user_email_address":{"oneOf":[{"type":"string","title":"User Email Address","description":"User email address","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.user_email_address.oneOf.0","typeLabel":"string"},{"type":"null","title":"User Email Address","description":"User email address","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.user_email_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.user_email_address","typeLabel":"string | null"},"annotation_name":{"oneOf":[{"type":"string","title":"Annotation Name","description":"Annotation name","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.annotation_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Annotation Name","description":"Annotation name","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.annotation_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties.annotation_name","typeLabel":"string | null"}},"type":"object","required":["trace_id","defined_annotation_id","created_at","user_id"],"title":"TraceLogAnnotationSchema","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties.additionalProperties","typeLabel":"TraceLogAnnotationSchema · object"},"type":"object","uniqueKey":"oneOf.0.annotations.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.0.annotations.oneOf.0","typeLabel":"Annotations · object"},{"type":"null","title":"Annotations","description":"Any annotations on log which were collected on Parea frontend. It maps annoation criterion ID to a dictionary mapping user_id (Parea user ID) to annotation.","uniqueKey":"oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.annotations","typeLabel":"Annotations · object | null"},"depth":{"type":"integer","title":"Depth","description":"Depth/level of nestedness of span in overall trace. Root-level trace is 0 and it always increments by 1.","default":0,"uniqueKey":"oneOf.0.depth","typeLabel":"integer"},"execution_order":{"type":"integer","title":"Execution Order","description":"The execution number of span in trace. It starts with 0 and increments by 1 with every span.","default":0,"uniqueKey":"oneOf.0.execution_order","typeLabel":"integer"},"evaluation_metric_ids":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.0.evaluation_metric_ids.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Evaluation Metric Ids","description":"Deprecated","uniqueKey":"oneOf.0.evaluation_metric_ids.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Evaluation Metric Ids","description":"Deprecated","uniqueKey":"oneOf.0.evaluation_metric_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.evaluation_metric_ids","typeLabel":"integer[] | null"},"fill_children":{"type":"boolean","title":"Fill Children","description":"Deprecated","default":false,"uniqueKey":"oneOf.0.fill_children","typeLabel":"boolean"},"project_uuid":{"oneOf":[{"type":"string","title":"Project Uuid","description":"UUID of project with which this log is associated. Will be automatically filled-in by SDKs","uniqueKey":"oneOf.0.project_uuid.oneOf.0","typeLabel":"string"},{"type":"null","title":"Project Uuid","description":"UUID of project with which this log is associated. Will be automatically filled-in by SDKs","uniqueKey":"oneOf.0.project_uuid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.project_uuid","typeLabel":"string | null"},"organization_id":{"oneOf":[{"type":"string","title":"Organization Id","description":"Organization ID associated with Parea API key. Will be automatically determined from API key","uniqueKey":"oneOf.0.organization_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Organization Id","description":"Organization ID associated with Parea API key. Will be automatically determined from API key","uniqueKey":"oneOf.0.organization_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.organization_id","typeLabel":"string | null"},"children_logs":{"items":{"$circularRef":"18215a0e-5778-416c-afe2-ed7c0e5fd62e"},"type":"array","title":"Children Logs","description":"Children logs","uniqueKey":"oneOf.0.children_logs","typeLabel":"Children Logs · array"}},"uniqueKey":"oneOf.0","typeLabel":"TraceLogTreeSchema · object"},{"type":"null","title":"Response Get Trace Log Api Api Parea V1 Trace Log Trace Id Get","uniqueKey":"oneOf.1","typeLabel":"null"}],"uniqueKey":"","typeLabel":"TraceLogTreeSchema · object | null"},"examples":{"Example":{"title":"Example","value":{"depth":0,"end_timestamp":"2024-05-30 13:48:35","execution_order":0,"inputs":{"x":"Golang","y":"Fiber"},"metadata":{"purpose":"testing"},"output":"Some logged output","parent_trace_id":"\u003c\u003cSAME_UUID>>","project_name":"default","root_trace_id":"\u003c\u003cSAME_UUID>>","start_timestamp":"2024-05-30 13:48:34","status":"success","trace_id":"\u003c\u003cUUID>>","trace_name":"test"}}},"exampleType":"generated"}},"exampleType":"generated"},"b0abbe3e-419a-4473-b941-40d4d4a18b5f":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ea9c2841-804e-4273-9998-44ce0933dcca":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"x-user-id","scopes":[]}},"77f98a79-c802-48fb-b175-6da7b320fef7":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"x-user-id","scopes":[]}},"501e685f-252e-4235-b425-5b19ae2c3e9a":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"x-user-id","scopes":[]}}},"servers":{},"schemas":{"18215a0e-5778-416c-afe2-ed7c0e5fd62e":{"properties":{"trace_id":{"type":"string","title":"Trace Id","description":"UUID of the trace log. Ex: e3267953-a16f-47f5-b37e-622dbb29d730","isRequired":true},"start_timestamp":{"type":"string","title":"Start Timestamp","description":"Start timestamp","isRequired":true},"configuration":{"type":"object","title":"InputsSchema","description":"If this log was a LLM call, this will contain the configuration used for the call.","default":{},"properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"Model name"},{"type":"null","title":"Model","description":"Model name"}]},"provider":{"oneOf":[{"type":"string","title":"Provider","description":"Provider name"},{"type":"null","title":"Provider","description":"Provider name"}]},"model_params":{"oneOf":[{"type":"object","title":"ParamsSchema","description":"Parameters such as temperature.","properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"Model name"},{"type":"null","title":"Model","description":"Model name"}]},"temp":{"oneOf":[{"type":"number","title":"Temp","description":"Temperature"},{"type":"null","title":"Temp","description":"Temperature"}]},"top_p":{"oneOf":[{"type":"number","title":"Top P","description":"Top p"},{"type":"null","title":"Top P","description":"Top p"}]},"frequency_penalty":{"oneOf":[{"type":"number","title":"Frequency Penalty","description":"Frequency penalty"},{"type":"null","title":"Frequency Penalty","description":"Frequency penalty"}]},"presence_penalty":{"oneOf":[{"type":"number","title":"Presence Penalty","description":"Presence penalty"},{"type":"null","title":"Presence Penalty","description":"Presence penalty"}]},"max_length":{"oneOf":[{"type":"integer","title":"Max Length","description":"Max. number of completion tokens"},{"type":"null","title":"Max Length","description":"Max. number of completion tokens"}]},"response_format":{"oneOf":[{"type":"object","title":"Response Format","description":"Response format. See OpenAI docs for definition"},{"type":"null","title":"Response Format","description":"Response format. See OpenAI docs for definition"}]},"safe_prompt":{"oneOf":[{"type":"boolean","title":"Safe Prompt","description":"Used for Mistral."},{"type":"null","title":"Safe Prompt","description":"Used for Mistral."}]}}},{"type":"null","description":"Parameters such as temperature."}]},"messages":{"oneOf":[{"type":"array","items":{"properties":{"content":{"oneOf":[{"type":"string","title":"Content","description":"Message content","default":""},{"type":"array","items":{"oneOf":[{}]},"title":"Content","description":"Message content","default":""},{"type":"null","title":"Content","description":"Message content","default":""}]},"role":{"type":"string","title":"Role","description":"Message role","default":"user","enum":["user","assistant","system","user","assistant","function","tool"]}},"type":"object","title":"MessageSchema"},"title":"Messages","description":"Messages to LLM"},{"type":"null","title":"Messages","description":"Messages to LLM"}]},"functions":{"oneOf":[{"type":"array","items":{"oneOf":[{}]},"title":"Functions","description":"A list of functions the model may generate JSON inputs for. Assumes every item in list has key 'name', 'description' and 'parameters'"},{"type":"null","title":"Functions","description":"A list of functions the model may generate JSON inputs for. Assumes every item in list has key 'name', 'description' and 'parameters'"}]},"function_call":{"oneOf":[{"type":"string","title":"Function Call","description":"Controls how the model responds to function calls. “auto†means the model can pick between an end-user or calling a function. To specifying a particular function name use a dictionary with key=“name†and value=“my_functionâ€. This will force the model to call that function."},{"type":"object","title":"Function Call","description":"Controls how the model responds to function calls. “auto†means the model can pick between an end-user or calling a function. To specifying a particular function name use a dictionary with key=“name†and value=“my_functionâ€. This will force the model to call that function."},{"type":"null","title":"Function Call","description":"Controls how the model responds to function calls. “auto†means the model can pick between an end-user or calling a function. To specifying a particular function name use a dictionary with key=“name†and value=“my_functionâ€. This will force the model to call that function."}]}}},"inputs":{"oneOf":[{"type":"object","title":"Inputs","description":"Key-value pair inputs of this trace. Note, there is a special field to capture messages in LLM calls. You can still use it in the case of LLM calls to track the key-value pairs for prompt templates."},{"type":"null","title":"Inputs","description":"Key-value pair inputs of this trace. Note, there is a special field to capture messages in LLM calls. You can still use it in the case of LLM calls to track the key-value pairs for prompt templates."}]},"output":{"oneOf":[{"type":"string","title":"Output","description":"Response of this step/log/function. If response isn’t a string, it needs to be serialized to a string."},{"type":"null","title":"Output","description":"Response of this step/log/function. If response isn’t a string, it needs to be serialized to a string."}]},"target":{"oneOf":[{"type":"string","title":"Target","description":"The target or “gold standard†response for the inputs of this log."},{"type":"null","title":"Target","description":"The target or “gold standard†response for the inputs of this log."}]},"latency":{"oneOf":[{"type":"number","title":"Latency","description":"Latency of this log in seconds.","default":0},{"type":"null","title":"Latency","description":"Latency of this log in seconds.","default":0}]},"time_to_first_token":{"oneOf":[{"type":"number","title":"Time To First Token","description":"If this was a LLM call, this will contain the time taken to generate the first token."},{"type":"null","title":"Time To First Token","description":"If this was a LLM call, this will contain the time taken to generate the first token."}]},"input_tokens":{"oneOf":[{"type":"integer","title":"Input Tokens","description":"If this was a LLM call, this will contain the number of tokens in the input.","default":0},{"type":"null","title":"Input Tokens","description":"If this was a LLM call, this will contain the number of tokens in the input.","default":0}]},"output_tokens":{"oneOf":[{"type":"integer","title":"Output Tokens","description":"If this was a LLM call, this will contain the number of tokens in the output.","default":0},{"type":"null","title":"Output Tokens","description":"If this was a LLM call, this will contain the number of tokens in the output.","default":0}]},"total_tokens":{"oneOf":[{"type":"integer","title":"Total Tokens","description":"If this was a LLM call, this will contain the total number of tokens in the input and output.","default":0},{"type":"null","title":"Total Tokens","description":"If this was a LLM call, this will contain the total number of tokens in the input and output.","default":0}]},"cost":{"oneOf":[{"type":"number","title":"Cost","description":"If this was a LLM call, this will contain the cost of the call.","default":0},{"type":"null","title":"Cost","description":"If this was a LLM call, this will contain the cost of the call.","default":0}]},"parent_trace_id":{"oneOf":[{"type":"string","title":"Parent Trace Id","description":"If given, current trace will be a child of this trace. If current child is not a child, `parent_trace_id` should be equal to `trace_id`"},{"type":"null","title":"Parent Trace Id","description":"If given, current trace will be a child of this trace. If current child is not a child, `parent_trace_id` should be equal to `trace_id`"}]},"root_trace_id":{"oneOf":[{"type":"string","title":"Root Trace Id","description":"This is the UUID of the root trace/span of this trace. If current trace is the root trace, `root_trace_id` must be equal to `trace_id`"},{"type":"null","title":"Root Trace Id","description":"This is the UUID of the root trace/span of this trace. If current trace is the root trace, `root_trace_id` must be equal to `trace_id`"}]},"project_name":{"oneOf":[{"type":"string","title":"Project Name","description":"Name of the project with which the trace/log should be associated with. Must be provided if `project_uuid` is not provided"},{"type":"null","title":"Project Name","description":"Name of the project with which the trace/log should be associated with. Must be provided if `project_uuid` is not provided"}]},"status":{"oneOf":[{"type":"string","title":"Status","description":"If the trace was a `success` or `error`"},{"type":"null","title":"Status","description":"If the trace was a `success` or `error`"}]},"error":{"oneOf":[{"type":"string","title":"Error","description":"If `status=error`, this should contain any additional information such as the stacktrace"},{"type":"null","title":"Error","description":"If `status=error`, this should contain any additional information such as the stacktrace"}]},"output_for_eval_metrics":{"oneOf":[{"type":"string","title":"Output For Eval Metrics","description":"If provided, will be used as output for any specified evaluation metric."},{"type":"null","title":"Output For Eval Metrics","description":"If provided, will be used as output for any specified evaluation metric."}]},"evaluation_metric_names":{"oneOf":[{"type":"array","items":{"type":"string"},"title":"Evaluation Metric Names","description":"Names of evaluation metrics deployed on Parea which should be applied to this log."},{"type":"null","title":"Evaluation Metric Names","description":"Names of evaluation metrics deployed on Parea which should be applied to this log."}]},"scores":{"oneOf":[{"type":"array","items":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the score / evaluation","isRequired":true},"score":{"type":"number","title":"Score","description":"Value of the score","isRequired":true},"evaluation_metric_id":{"oneOf":[{"type":"integer","title":"Evaluation Metric Id","description":"Will be automatically populated if this score was from a deployed evaluation metric."},{"type":"null","title":"Evaluation Metric Id","description":"Will be automatically populated if this score was from a deployed evaluation metric."}]},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Reason for this score"},{"type":"null","title":"Reason","description":"Reason for this score"}]}},"type":"object","required":["name","score"],"title":"EvaluationScoreSchema","examples":[{"name":"Answer Matches Target","reason":"The answer is mostly correct but lacks aspect A \u0026 B.","score":0.8}]},"title":"Scores","description":"Any scores/eval results associated with this log."},{"type":"null","title":"Scores","description":"Any scores/eval results associated with this log."}]},"feedback_score":{"oneOf":[{"type":"number","title":"Feedback Score","description":"Any captured (user) feedback on this log"},{"type":"null","title":"Feedback Score","description":"Any captured (user) feedback on this log"}]},"apply_eval_frac":{"oneOf":[{"type":"number","title":"Apply Eval Frac","description":"If specified, evals given with `evaluation_metric_names` will be applied to this log with this fraction.","default":1},{"type":"null","title":"Apply Eval Frac","description":"If specified, evals given with `evaluation_metric_names` will be applied to this log with this fraction.","default":1}]},"log_sample_rate":{"oneOf":[{"type":"number","title":"Log Sample Rate","description":"If specified, this log and its entire associated trace will logged with this probability. Must be between 0 and 1 (incl.). Defaults to 1.0 (i.e., keeping all logs)","default":1,"maximum":1,"minimum":0},{"type":"null","title":"Log Sample Rate","description":"If specified, this log and its entire associated trace will logged with this probability. Must be between 0 and 1 (incl.). Defaults to 1.0 (i.e., keeping all logs)","default":1}]},"deployment_id":{"oneOf":[{"type":"string","title":"Deployment Id","description":"Optionally, provide the ID of the used deployed prompt in this log."},{"type":"null","title":"Deployment Id","description":"Optionally, provide the ID of the used deployed prompt in this log."}]},"cache_hit":{"type":"boolean","title":"Cache Hit","description":"If the cache was hit for this log.","default":false},"trace_name":{"oneOf":[{"type":"string","title":"Trace Name","description":"The name of this span."},{"type":"null","title":"Trace Name","description":"The name of this span."}]},"children":{"oneOf":[{"type":"array","items":{"type":"string"},"title":"Children","description":"UUIDs of any children."},{"type":"null","title":"Children","description":"UUIDs of any children."}]},"children_ids":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Children Ids","description":"IDs of any children. Will be automatically populated."},{"type":"null","title":"Children Ids","description":"IDs of any children. Will be automatically populated."}]},"end_timestamp":{"oneOf":[{"type":"string","title":"End Timestamp","description":"End timestamp of span."},{"type":"null","title":"End Timestamp","description":"End timestamp of span."}]},"end_user_identifier":{"oneOf":[{"type":"string","title":"End User Identifier","description":"Unique identifier for a end-user."},{"type":"null","title":"End User Identifier","description":"Unique identifier for a end-user."}]},"session_id":{"oneOf":[{"type":"string","title":"Session Id","description":"Unique identifier for a session. Can you be used to associated multiple logs in e.g. chat applications."},{"type":"null","title":"Session Id","description":"Unique identifier for a session. Can you be used to associated multiple logs in e.g. chat applications."}]},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Any additional key-value pairs which provide context or are useful for filtering."},{"type":"null","title":"Metadata","description":"Any additional key-value pairs which provide context or are useful for filtering."}]},"tags":{"oneOf":[{"type":"array","items":{"type":"string"},"title":"Tags","description":"List of tags which provide additional context or are useful for filtering."},{"type":"null","title":"Tags","description":"List of tags which provide additional context or are useful for filtering."}]},"experiment_uuid":{"oneOf":[{"type":"string","title":"Experiment Uuid","description":"If given, will be used to associate this log with an experiment."},{"type":"null","title":"Experiment Uuid","description":"If given, will be used to associate this log with an experiment."}]},"images":{"oneOf":[{"type":"array","items":{"properties":{"url":{"type":"string","title":"Url","description":"URL of image","isRequired":true},"caption":{"oneOf":[{"type":"string","title":"Caption","description":"Caption of image"},{"type":"null","title":"Caption","description":"Caption of image"}]}},"type":"object","required":["url"],"title":"TraceLogImage"},"title":"Images","description":"Any images associated with trace."},{"type":"null","title":"Images","description":"Any images associated with trace."}]},"comments":{"oneOf":[{"type":"array","items":{"properties":{"trace_id":{"type":"string","title":"Trace Id","description":"Trace ID","isRequired":true},"comment":{"type":"string","title":"Comment","description":"Comment","isRequired":true},"id":{"oneOf":[{"type":"string","title":"Id","description":"Comment ID","isRequired":true},{"type":"integer","title":"Id","description":"Comment ID","isRequired":true}],"isRequired":true},"user_id":{"type":"string","title":"User Id","description":"User ID","isRequired":true},"created_at":{"type":"string","title":"Created At","description":"Comment creation timestamp","isRequired":true},"user_email_address":{"oneOf":[{"type":"string","title":"User Email Address","description":"User email address"},{"type":"null","title":"User Email Address","description":"User email address"}]}},"type":"object","required":["trace_id","comment","id","user_id","created_at"],"title":"TraceLogCommentSchema"},"title":"Comments","description":"Any comments on log which were collected on Parea frontend."},{"type":"null","title":"Comments","description":"Any comments on log which were collected on Parea frontend."}]},"annotations":{"oneOf":[{"type":"object","title":"Annotations","description":"Any annotations on log which were collected on Parea frontend. It maps annoation criterion ID to a dictionary mapping user_id (Parea user ID) to annotation.","additionalProperties":{"additionalProperties":{"properties":{"trace_id":{"type":"string","title":"Trace Id","description":"UUID of associated trace","isRequired":true},"defined_annotation_id":{"type":"integer","title":"Defined Annotation Id","description":"Annotation criterion ID","isRequired":true},"created_at":{"type":"string","title":"Created At","description":"Annotation creation timestamp","isRequired":true},"user_id":{"type":"string","title":"User Id","description":"Parea user ID","isRequired":true},"score":{"oneOf":[{"type":"number","title":"Score","description":"Annotation score"},{"type":"null","title":"Score","description":"Annotation score"}]},"value":{"oneOf":[{"type":"string","title":"Value","description":"Annotation value"},{"type":"null","title":"Value","description":"Annotation value"}]},"id":{"oneOf":[{"type":"string","title":"Id","description":"Annotation ID"},{"type":"integer","title":"Id","description":"Annotation ID"},{"type":"null","title":"Id","description":"Annotation ID"}]},"user_email_address":{"oneOf":[{"type":"string","title":"User Email Address","description":"User email address"},{"type":"null","title":"User Email Address","description":"User email address"}]},"annotation_name":{"oneOf":[{"type":"string","title":"Annotation Name","description":"Annotation name"},{"type":"null","title":"Annotation Name","description":"Annotation name"}]}},"type":"object","required":["trace_id","defined_annotation_id","created_at","user_id"],"title":"TraceLogAnnotationSchema"},"type":"object"}},{"type":"null","title":"Annotations","description":"Any annotations on log which were collected on Parea frontend. It maps annoation criterion ID to a dictionary mapping user_id (Parea user ID) to annotation."}]},"depth":{"type":"integer","title":"Depth","description":"Depth/level of nestedness of span in overall trace. Root-level trace is 0 and it always increments by 1.","default":0},"execution_order":{"type":"integer","title":"Execution Order","description":"The execution number of span in trace. It starts with 0 and increments by 1 with every span.","default":0},"evaluation_metric_ids":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Evaluation Metric Ids","description":"Deprecated"},{"type":"null","title":"Evaluation Metric Ids","description":"Deprecated"}]},"fill_children":{"type":"boolean","title":"Fill Children","description":"Deprecated","default":false},"project_uuid":{"oneOf":[{"type":"string","title":"Project Uuid","description":"UUID of project with which this log is associated. Will be automatically filled-in by SDKs"},{"type":"null","title":"Project Uuid","description":"UUID of project with which this log is associated. Will be automatically filled-in by SDKs"}]},"organization_id":{"oneOf":[{"type":"string","title":"Organization Id","description":"Organization ID associated with Parea API key. Will be automatically determined from API key"},{"type":"null","title":"Organization Id","description":"Organization ID associated with Parea API key. Will be automatically determined from API key"}]},"children_logs":{"items":{"$circularRef":"18215a0e-5778-416c-afe2-ed7c0e5fd62e"},"type":"array","title":"Children Logs","description":"Children logs"}},"type":"object","required":["trace_id","start_timestamp"],"title":"TraceLogTreeSchema","examples":[{"depth":0,"end_timestamp":"2024-05-30 13:48:35","execution_order":0,"inputs":{"x":"Golang","y":"Fiber"},"metadata":{"purpose":"testing"},"output":"Some logged output","parent_trace_id":"\u003c\u003cSAME_UUID>>","project_name":"default","root_trace_id":"\u003c\u003cSAME_UUID>>","start_timestamp":"2024-05-30 13:48:34","status":"success","trace_id":"\u003c\u003cUUID>>","trace_name":"test"},{"configuration":{"messages":[{"content":"Some prompt","role":"user"}],"model":"gpt-4o","provider":"openai"},"depth":0,"end_timestamp":"2024-05-30 13:48:35","execution_order":0,"inputs":{"promptTemplateVar1":"value","promptTemplateVar2":"some other value"},"metadata":{"purpose":"testing"},"output":"LLM response","parent_trace_id":"\u003c\u003cSAME_UUID>>","project_name":"default","root_trace_id":"\u003c\u003cSAME_UUID>>","start_timestamp":"2024-05-30 13:48:34","status":"success","trace_id":"\u003c\u003cUUID>>","trace_name":"LLM"}]}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-user-id","scopes":[]},"schema":{"title":"x-user-id","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"x-user-id"}],"title":"APIKeyHeader"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-user-id","scopes":[]},"schema":{"title":"x-user-id","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"x-user-id"}],"title":"APIKeyHeader"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-user-id","scopes":[]},"schema":{"title":"x-user-id","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"x-user-id"}],"title":"APIKeyHeader"}]},"originalFileLocation":"openapi.json"},"subdomain":"pareaai","siteName":"Parea AI","title":"Get Trace Log - Parea AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:58:28.218Z","originalFileLocation":"api-reference/tracing/get-trace-log.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=\"Fetches a trace log by its UUID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Parea AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Trace Log - Parea AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetches a trace log by its UUID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Parea AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.parea.ai/api-reference/tracing/get-trace-log\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pareaai.mintlify.app/_mintlify/api/og/v2?division=Tracing\u0026amp;title=Get+Trace+Log\u0026amp;description=Fetches+a+trace+log+by+its+UUID.\u0026amp;theme=76f3f976f3374a923e121b3f\u0026amp;signature=a672615d4ce672cccea56a6ee80325c1f775a83922daa71417600e0dd0fc2842\">\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=\"Get Trace Log - Parea AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetches a trace log by its UUID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pareaai.mintlify.app/_mintlify/api/og/v2?division=Tracing\u0026amp;title=Get+Trace+Log\u0026amp;description=Fetches+a+trace+log+by+its+UUID.\u0026amp;theme=76f3f976f3374a923e121b3f\u0026amp;signature=a672615d4ce672cccea56a6ee80325c1f775a83922daa71417600e0dd0fc2842\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/pareaai/gB2mc3qTsxvE_WBo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Parea AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9563FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.parea.ai/api-reference/tracing/get-trace-log\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tracing/get-trace-log.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.parea.ai/#organization\",\"name\":\"Parea AI\",\"url\":\"https://docs.parea.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pareaai/3kurg3MZRrsWWk8t/logo/parea-light.png?fit=max\u0026auto=format\u0026n=3kurg3MZRrsWWk8t\u0026q=85\u0026s=c32fc81b38c3586ed7187a84b3e0c8d9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.parea.ai#website\",\"name\":\"Parea AI\",\"url\":\"https://docs.parea.ai\",\"publisher\":{\"@id\":\"https://docs.parea.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log#webpage\",\"url\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log\",\"name\":\"Get Trace Log\",\"description\":\"Fetches a trace log by its UUID.\",\"dateModified\":\"2026-01-06T22:58:28.218Z\",\"isPartOf\":{\"@id\":\"https://docs.parea.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tracing\",\"item\":\"https://docs.parea.ai/api-reference/tracing/record-trace-log\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Trace Log\",\"item\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log#apireference\",\"headline\":\"Get Trace Log\",\"name\":\"Get Trace Log\",\"description\":\"Fetches a trace log by its UUID.\",\"url\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log\",\"mainEntityOfPage\":{\"@id\":\"https://docs.parea.ai/api-reference/tracing/get-trace-log#webpage\"},\"dateModified\":\"2026-01-06T22:58:28.218Z\",\"publisher\":{\"@id\":\"https://docs.parea.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.parea.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Parea AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Parea AI","nav":{"global":{"anchors":[{"anchor":"Github","href":"https://github.com/parea-ai/parea-sdk","icon":"github"},{"anchor":"Discord","href":"https://discord.gg/p7CUwSKJD6","icon":"discord"},{"anchor":"Chat with Founders","href":"https://calendly.com/parea-ai/chat","icon":"phone"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/welcome/what_is_parea_ai"}]},{"tab":"API Reference","groups":[{"group":"General","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Create or get Project","openapi":"post /api/parea/v1/project","href":"/api-reference/general/create-or-get-project"},{"openapi":"get /api/parea/v1/","title":"Health Check","href":"/api-reference/general/health-check"}]},{"group":"Tracing","pages":[{"openapi":"post /api/parea/v1/trace_log","title":"Record Trace Log","href":"/api-reference/tracing/record-trace-log"},{"openapi":"post /api/parea/v1/feedback","title":"Record Feedback","href":"/api-reference/tracing/record-feedback"},{"openapi":"put /api/parea/v1/trace_log","title":"Update Trace Log","href":"/api-reference/tracing/update-trace-log"},{"title":"Get Trace Logs","openapi":"post /api/parea/v1/get_trace_logs","description":"Fetches trace logs and returns them as a paginated response.","href":"/api-reference/tracing/get-trace-logs"},{"title":"Get Trace Log","openapi":"get /api/parea/v1/trace_log/{trace_id}","href":"/api-reference/tracing/get-trace-log"}]},{"group":"Experiments","pages":[{"title":"Create Experiment","openapi":"post /api/parea/v1/experiment","description":"Create an experiment and get the associated experiment uuid.","href":"/api-reference/experiments/create-experiment"},{"title":"Finish Experiment","openapi":"post /api/parea/v1/experiment/{experiment_uuid}/finished","href":"/api-reference/experiments/finish-experiment"},{"title":"Get Experiment Stats","openapi":"get /api/parea/v1/experiment/{experiment_uuid}/stats","href":"/api-reference/experiments/get-experiment-stats"},{"title":"Get Experiment Trace Logs","openapi":"post /api/parea/v1/experiment/{experiment_uuid}/trace_logs","href":"/api-reference/experiments/get-experiment-trace-logs"},{"title":"List Experiments","openapi":"post /api/parea/v1/experiments","href":"/api-reference/experiments/list-experiments"}]},{"group":"LLM Proxy","pages":[{"openapi":"post /api/parea/v1/completion","title":"Completion","href":"/api-reference/llm-proxy/completion"},{"openapi":"post /api/parea/v1/completion/stream","title":"Stream Completion","href":"/api-reference/llm-proxy/stream-completion"},{"openapi":"post /api/parea/v1/deployed-prompt","title":"Fetch Deployed Prompt","href":"/api-reference/llm-proxy/fetch-deployed-prompt"}]},{"group":"Datasets","pages":[{"openapi":"post /api/parea/v1/collection","title":"Create Collection","href":"/api-reference/datasets/create-collection"},{"openapi":"post /api/parea/v1/testcases","title":"Create Test Cases For Dataset","href":"/api-reference/datasets/create-test-cases-for-dataset"},{"openapi":"get /api/parea/v1/collection/{test_collection_identifier}","title":"Get Test Case Collection By Identifier","href":"/api-reference/datasets/get-test-case-collection-by-identifier"},{"openapi":"post /api/parea/v1/update_test_case/{dataset_id}/{test_case_id}","title":"Update Test Case","href":"/api-reference/datasets/update-test-case"}]},{"group":"SDK","pages":[{"title":"Python","href":"/api-reference/sdk/python"},{"title":"TypeScript","href":"/api-reference/sdk/typescript"}]}]},{"tab":"Blog","pages":[{"title":"Blog","href":"/blog/self-improving-domain-specific-alligned-llm-evals-with-human-judgement"}]}]},"title":"Get Trace Log - Parea AI","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}