{
"errors": [
{
"type": "https://docs-platform.crewai.com/api/problems/not_found",
"code": "not_found",
"title": "Not found",
"status": 404,
"detail": "The requested resource could not be found."
}
]
}
Automations
Get one trace span
Returns one span of an Automation execution’s trace with its attributes: the prompts, completions, tool
arguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"CrewAI Platform","colors":{"primary":"#EB6658","light":"#F3A78B","dark":"#C94C3C"},"logo":{"light":"https://mintcdn.com/crew-ai-platform-docs/UNPfV6xa2W35M-FA/images/crew_only_logo.png?fit=max\u0026auto=format\u0026n=UNPfV6xa2W35M-FA\u0026q=85\u0026s=26a26b1f1196dc2092395575ed72acce","dark":"https://mintcdn.com/crew-ai-platform-docs/UNPfV6xa2W35M-FA/images/crew_only_logo.png?fit=max\u0026auto=format\u0026n=UNPfV6xa2W35M-FA\u0026q=85\u0026s=26a26b1f1196dc2092395575ed72acce"},"favicon":"https://mintcdn.com/crew-ai-platform-docs/UNPfV6xa2W35M-FA/images/favicon.svg?fit=max\u0026auto=format\u0026n=UNPfV6xa2W35M-FA\u0026q=85\u0026s=bba15f251db0da821fee77b2b9762fd3","appearance":{"default":"system","strict":false},"background":{"decoration":"grid"},"navbar":{"links":[{"icon":"arrow-up-right-from-square","href":"https://app.crewai.com","label":"Start Cloud Trial"}],"primary":{"type":"github","href":"https://github.com/crewAIInc/crewAI"}},"footer":{"socials":{"website":"https://crewai.com","x":"https://x.com/crewAIInc","github":"https://github.com/crewAIInc/crewAI","linkedin":"https://www.linkedin.com/company/crewai-inc","youtube":"https://youtube.com/@crewAIInc","reddit":"https://www.reddit.com/r/crewAIInc"}},"seo":{"metatags":{"og:type":"website","og:site_name":"CrewAI Platform Documentation","og:image":"https://docs.crewai.com/images/crew_only_logo.png","twitter:card":"summary_large_image","twitter:site":"@crewAIInc","keywords":"CrewAI Platform, AI agents, multi-agent systems, automation"}},"fonts":{"family":"Inter"},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"platform/en/introduction"},{"language":"pt-BR","href":"platform/pt-BR/introduction"},{"language":"ko","href":"platform/ko/introduction"},{"language":"ar","href":"platform/ar/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"crew-ai-platform-docs","hasAudioNarration":false,"actualSubdomain":"crew-ai-platform-docs","customDomains":["docs-platform.crewai.com"],"gitSource":{"type":"github","owner":"crewaiinc","repo":"crewai-platform-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"63460b7f-83ed-4dee-bed3-c738cfa380b6","liveDeploymentHistoryId":"6ae4f4dabf86d5a14fb7a748","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4f4dabf86d5a14fb7a748"},"entitlements":{},"buildId":"6ae4f4dabf86d5a14fb7a748","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"en","tag":"Platform","count":87},{"language":"ar","tag":"المنصة","count":85},{"language":"ko","tag":"플랫폼","count":85},{"language":"pt-BR","tag":"Plataforma","count":85},{"language":"en","tag":"API Reference","count":84},{"language":"en","tag":"Platform API reference","count":74},{"language":"en","tag":"Integration Docs","count":28},{"language":"ar","tag":"التكاملات","count":28},{"language":"ko","tag":"통합 문서","count":28},{"language":"pt-BR","tag":"Documentação de Integração","count":28},{"language":"en","tag":"How-To Guides","count":19},{"language":"ar","tag":"How-To Guides","count":19},{"language":"ko","tag":"How-To Guides","count":19},{"language":"pt-BR","tag":"Guias","count":19},{"language":"en","tag":"Automations","count":17},{"language":"en","tag":"Teams","count":17},{"language":"en","tag":"Manage","count":14},{"language":"ar","tag":"الإدارة","count":13},{"language":"ko","tag":"관리","count":13},{"language":"pt-BR","tag":"Gerenciar","count":13},{"language":"en","tag":"Triggers","count":11},{"language":"ar","tag":"المشغّلات","count":11},{"language":"ko","tag":"트리거","count":11},{"language":"pt-BR","tag":"Triggers","count":11},{"language":"en","tag":"Getting started","count":10},{"language":"ar","tag":"Secrets Manager","count":9},{"language":"ko","tag":"Secrets Manager","count":9},{"language":"pt-BR","tag":"Secrets Manager","count":9},{"language":"ar","tag":"البناء","count":8},{"language":"ko","tag":"빌드","count":8},{"language":"pt-BR","tag":"Construir","count":8},{"language":"ar","tag":"العمليات","count":4},{"language":"ko","tag":"운영","count":4},{"language":"pt-BR","tag":"Operar","count":4},{"language":"ar","tag":"Agent Control Plane","count":3},{"language":"ar","tag":"الاستوديو","count":3},{"language":"ko","tag":"Agent Control Plane","count":3},{"language":"ko","tag":"Studio","count":3},{"language":"pt-BR","tag":"Agent Control Plane","count":3},{"language":"pt-BR","tag":"Studio","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/v1/reference/automations/get-one-trace-span","slug":"/api/v1/reference/automations/get-one-trace-span","pageMetadata":{"title":"Get one trace span","description":"Returns one span of an Automation execution's trace with its attributes: the prompts, completions, tool\narguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\n","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions/{execution_id}/trace/spans/{span_id}","href":"/api/v1/reference/automations/get-one-trace-span","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns one span of an Automation execution’s trace with its attributes: the prompts, completions, tool\\narguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\"\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 one trace span","description":"Returns one span of an Automation execution's trace with its attributes: the prompts, completions, tool\narguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\n","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions/{execution_id}/trace/spans/{span_id}","href":"/api/v1/reference/automations/get-one-trace-span","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get one trace span","operationId":"getAutomationExecutionTraceSpan","description":"Returns one span of an Automation execution's trace with its attributes: the prompts, completions, tool\narguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\n","tags":["Automations"],"responses":{"200":"f3b591c8-96c6-4aa2-946e-e308e873dde8","401":"417366f7-7942-4d4c-9ada-d107081398a8","404":"61d51162-b148-4a21-a5e8-a9a9581b73ee"},"method":"get","type":"path","servers":["b3d493e4-874d-4038-9374-c0447d5a1c59"],"security":["cbab0e37-0985-4f79-a4e5-fad115db2124"],"path":"/api/v1/automations/{automation_id}/executions/{execution_id}/trace/spans/{span_id}","baseUrlOptions":["https://app.crewai.com"],"title":"Get one trace span","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a409a2ed-3020-467c-bb26-fd31cfd18175":{"name":"automation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","example":"4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"dbf7eea4-1660-4c02-ae5e-ffa0cdbdda47":{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","example":"4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"57bebc6e-3f1e-4e8f-a71b-4d3def0734d5":{"name":"span_id","in":"path","required":true,"schema":{"type":"string","example":"a1b2c3d4e5f60718","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"f3b591c8-96c6-4aa2-946e-e308e873dde8":{"description":"OK","content":{"application/json":{"examples":{"success":{"title":"success","value":{"data":{"id":"a1b2c3d4e5f60718","parent_id":"0f1e2d3c4b5a6978","name":"call llm","type":"llm_call","status":"ok","started_at":"2026-07-07T00:00:01.250000Z","finished_at":"2026-07-07T00:00:03.500000Z","duration_ms":2250,"input_tokens":812,"output_tokens":164,"status_message":null,"attributes":{"gen_ai.request.model":"gpt-4.1"}}}}},"schema":{"type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"object","required":["id","parent_id","name","type","status","started_at","finished_at","duration_ms","input_tokens","output_tokens","status_message","attributes"],"additionalProperties":false,"properties":{"id":{"type":"string","example":"a1b2c3d4e5f60718","description":"The span id, 16 lowercase hex characters.","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"parent_id":{"oneOf":[{"type":"string","example":"0f1e2d3c4b5a6978","description":"The id of the enclosing span, or null for a root span. The parent can be missing from the trace while the execution runs, because a span is recorded only once it ends.","isRequired":true,"uniqueKey":"data.parent_id.oneOf.0","typeLabel":"string"},{"type":"null","example":"0f1e2d3c4b5a6978","description":"The id of the enclosing span, or null for a root span. The parent can be missing from the trace while the execution runs, because a span is recorded only once it ends.","isRequired":true,"uniqueKey":"data.parent_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.parent_id","typeLabel":"string | null"},"name":{"type":"string","example":"call llm","description":"The span name the runtime reported.","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"type":{"type":"string","enum":["flow","flow_method","crew","task","agent","agent_reasoning","llm_call","tool_call","tool_failure","mcp_connection","memory","knowledge","guardrail","policy","human_feedback","skill","other"],"example":"llm_call","description":"What the span records:\n- `flow`: A flow run.\n- `flow_method`: One method of a flow.\n- `crew`: A crew run.\n- `task`: One task of a crew.\n- `agent`: An agent working on a task, or a standalone agent run.\n- `agent_reasoning`: An agent planning before it acts.\n- `llm_call`: One call to a language model.\n- `tool_call`: One tool call, MCP tools included.\n- `tool_failure`: A tool call that failed.\n- `mcp_connection`: A connection to an MCP server.\n- `memory`: A memory read or write.\n- `knowledge`: A knowledge query or search.\n- `guardrail`: A guardrail evaluation.\n- `policy`: A policy evaluation.\n- `human_feedback`: A request for, or the answer to, human input.\n- `skill`: Discovering, loading or using a skill.\n- `other`: Any other span. Use `name` to tell these apart.\n","isRequired":true,"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["ok","error","unknown"],"example":"ok","description":"How the span ended:\n- `ok`: The operation succeeded.\n- `error`: The operation failed. A span detail carries the reason in `status_message`.\n- `unknown`: The span reported no status the platform recognizes.\n","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"started_at":{"type":"string","format":"date-time","example":"2026-07-07T00:00:01.250000Z","isRequired":true,"uniqueKey":"data.started_at","typeLabel":"string\u003cdate-time>"},"finished_at":{"type":"string","format":"date-time","example":"2026-07-07T00:00:03.500000Z","isRequired":true,"uniqueKey":"data.finished_at","typeLabel":"string\u003cdate-time>"},"duration_ms":{"oneOf":[{"type":"integer","example":2250,"isRequired":true,"uniqueKey":"data.duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","example":2250,"isRequired":true,"uniqueKey":"data.duration_ms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.duration_ms","typeLabel":"integer | null"},"input_tokens":{"oneOf":[{"type":"integer","example":812,"description":"Prompt tokens of an LLM call.","isRequired":true,"uniqueKey":"data.input_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","example":812,"description":"Prompt tokens of an LLM call.","isRequired":true,"uniqueKey":"data.input_tokens.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.input_tokens","typeLabel":"integer | null"},"output_tokens":{"oneOf":[{"type":"integer","example":164,"description":"Completion tokens of an LLM call.","isRequired":true,"uniqueKey":"data.output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","example":164,"description":"Completion tokens of an LLM call.","isRequired":true,"uniqueKey":"data.output_tokens.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.output_tokens","typeLabel":"integer | null"},"status_message":{"oneOf":[{"type":"string","example":null,"description":"Why the span failed, when it did.","isRequired":true,"uniqueKey":"data.status_message.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"description":"Why the span failed, when it did.","isRequired":true,"uniqueKey":"data.status_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.status_message","typeLabel":"string | null"},"attributes":{"type":"object","additionalProperties":true,"example":{"gen_ai.request.model":"gpt-4.1"},"description":"The span's OpenTelemetry attributes, as the runtime recorded them.","isRequired":true,"uniqueKey":"data.attributes","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"417366f7-7942-4d4c-9ada-d107081398a8":{"description":"Unauthorized","content":{"application/json":{"examples":{"unauthorized":{"title":"unauthorized","value":{"errors":[{"type":"https://docs-platform.crewai.com/api/problems/unauthorized","code":"unauthorized","title":"Unauthorized","status":401,"detail":"Missing or invalid bearer token."}]}}},"schema":{"type":"object","required":["errors"],"additionalProperties":false,"properties":{"errors":{"type":"array","minItems":1,"items":{"type":"object","description":"Public API error object.","required":["type","code","title","status","detail"],"additionalProperties":false,"properties":{"type":{"type":"string","format":"uri","enum":["https://docs-platform.crewai.com/api/problems/bad_request","https://docs-platform.crewai.com/api/problems/clipper_disabled","https://docs-platform.crewai.com/api/problems/clipper_disallowed","https://docs-platform.crewai.com/api/problems/clipper_feature_disabled","https://docs-platform.crewai.com/api/problems/clipper_not_found","https://docs-platform.crewai.com/api/problems/conflict","https://docs-platform.crewai.com/api/problems/forbidden","https://docs-platform.crewai.com/api/problems/internal_error","https://docs-platform.crewai.com/api/problems/not_found","https://docs-platform.crewai.com/api/problems/service_unavailable","https://docs-platform.crewai.com/api/problems/tool_execution_failed","https://docs-platform.crewai.com/api/problems/unauthorized","https://docs-platform.crewai.com/api/problems/validation_error"],"example":"https://docs-platform.crewai.com/api/problems/bad_request","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["bad_request","clipper_disabled","clipper_disallowed","clipper_feature_disabled","clipper_not_found","conflict","forbidden","internal_error","not_found","service_unavailable","tool_execution_failed","unauthorized","validation_error"],"example":"bad_request","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"title":{"type":"string","x-crewai-enum-format":"freeform","enum":["Bad request","Clipper resource disabled","Clipper resource disallowed","Clipper feature disabled","Clipper resource not found","Conflict","Forbidden","Internal error","Not found","Service unavailable","Tool execution failed","Unauthorized","Validation error"],"example":"Bad request","isRequired":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","enum":[400,401,403,404,409,422,500,503],"example":400,"isRequired":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"enum\u003cinteger>"},"detail":{"type":"string","example":"The request is invalid.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"61d51162-b148-4a21-a5e8-a9a9581b73ee":{"description":"Not Found","content":{"application/json":{"examples":{"not_found":{"title":"not_found","value":{"errors":[{"type":"https://docs-platform.crewai.com/api/problems/not_found","code":"not_found","title":"Not found","status":404,"detail":"The requested resource could not be found."}]}}},"schema":{"type":"object","required":["errors"],"additionalProperties":false,"properties":{"errors":{"type":"array","minItems":1,"items":{"type":"object","description":"Public API error object.","required":["type","code","title","status","detail"],"additionalProperties":false,"properties":{"type":{"type":"string","format":"uri","enum":["https://docs-platform.crewai.com/api/problems/bad_request","https://docs-platform.crewai.com/api/problems/clipper_disabled","https://docs-platform.crewai.com/api/problems/clipper_disallowed","https://docs-platform.crewai.com/api/problems/clipper_feature_disabled","https://docs-platform.crewai.com/api/problems/clipper_not_found","https://docs-platform.crewai.com/api/problems/conflict","https://docs-platform.crewai.com/api/problems/forbidden","https://docs-platform.crewai.com/api/problems/internal_error","https://docs-platform.crewai.com/api/problems/not_found","https://docs-platform.crewai.com/api/problems/service_unavailable","https://docs-platform.crewai.com/api/problems/tool_execution_failed","https://docs-platform.crewai.com/api/problems/unauthorized","https://docs-platform.crewai.com/api/problems/validation_error"],"example":"https://docs-platform.crewai.com/api/problems/bad_request","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["bad_request","clipper_disabled","clipper_disallowed","clipper_feature_disabled","clipper_not_found","conflict","forbidden","internal_error","not_found","service_unavailable","tool_execution_failed","unauthorized","validation_error"],"example":"bad_request","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"title":{"type":"string","x-crewai-enum-format":"freeform","enum":["Bad request","Clipper resource disabled","Clipper resource disallowed","Clipper feature disabled","Clipper resource not found","Conflict","Forbidden","Internal error","Not found","Service unavailable","Tool execution failed","Unauthorized","Validation error"],"example":"Bad request","isRequired":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","enum":[400,401,403,404,409,422,500,503],"example":400,"isRequired":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"enum\u003cinteger>"},"detail":{"type":"string","example":"The request is invalid.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"cbab0e37-0985-4f79-a4e5-fad115db2124":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"opaque","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"b3d493e4-874d-4038-9374-c0447d5a1c59":{"url":"https://app.crewai.com","description":"Current CrewAI Platform host"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"opaque","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/platform-v1.yaml"},"subdomain":"crew-ai-platform-docs","siteName":"CrewAI Platform","title":"Get one trace span - CrewAI Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/v1/reference/automations/get-one-trace-span","matchLevel":0},"pt-BR":{"href":"/platform/pt-BR/introduction","matchLevel":4},"ko":{"href":"/platform/ko/introduction","matchLevel":4},"ar":{"href":"/platform/ar/introduction","matchLevel":4}}},"lastModified":"2026-10-30T19:49:57.637Z","originalFileLocation":"api/v1/reference/automations/get-one-trace-span.mdx","locale":"en"},"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=\"Returns one span of an Automation execution\u0026#x27;s trace with its attributes: the prompts, completions, tool arguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\">\u003cmeta data-mint-head name=\"keywords\" content=\"CrewAI Platform, AI agents, multi-agent systems, automation\">\u003cmeta data-mint-head name=\"application-name\" content=\"CrewAI Platform\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get one trace span - CrewAI Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns one span of an Automation execution\u0026#x27;s trace with its attributes: the prompts, completions, tool arguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CrewAI Platform Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.crewai.com/images/crew_only_logo.png\">\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 one trace span - CrewAI Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns one span of an Automation execution\u0026#x27;s trace with its attributes: the prompts, completions, tool arguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.crewai.com/images/crew_only_logo.png\">\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/crew-ai-platform-docs/aRs_LPYy6hwBLJfb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CrewAI Platform\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EB6658\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/v1/reference/automations/get-one-trace-span.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs-platform.crewai.com/#organization\",\"name\":\"CrewAI Platform\",\"url\":\"https://docs-platform.crewai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/crew-ai-platform-docs/UNPfV6xa2W35M-FA/images/crew_only_logo.png?fit=max\u0026auto=format\u0026n=UNPfV6xa2W35M-FA\u0026q=85\u0026s=26a26b1f1196dc2092395575ed72acce\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs-platform.crewai.com#website\",\"name\":\"CrewAI Platform\",\"url\":\"https://docs-platform.crewai.com\",\"publisher\":{\"@id\":\"https://docs-platform.crewai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span#webpage\",\"url\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span\",\"name\":\"Get one trace span\",\"description\":\"Returns one span of an Automation execution's trace with its attributes: the prompts, completions, tool arguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\",\"dateModified\":\"2026-10-30T19:49:57.637Z\",\"isPartOf\":{\"@id\":\"https://docs-platform.crewai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Platform API reference\",\"item\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-an-executions-trace-summary\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automations\",\"item\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-an-executions-trace-summary\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get one trace span\",\"item\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span#apireference\",\"headline\":\"Get one trace span\",\"name\":\"Get one trace span\",\"description\":\"Returns one span of an Automation execution's trace with its attributes: the prompts, completions, tool arguments and results it recorded, as OpenTelemetry attributes. A single span can hold a few megabytes.\",\"url\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span\",\"mainEntityOfPage\":{\"@id\":\"https://docs-platform.crewai.com/api/v1/reference/automations/get-one-trace-span#webpage\"},\"image\":\"https://docs.crewai.com/images/crew_only_logo.png\",\"dateModified\":\"2026-10-30T19:49:57.637Z\",\"publisher\":{\"@id\":\"https://docs-platform.crewai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs-platform.crewai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CrewAI Platform\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CrewAI Platform","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Platform","icon":"briefcase","pages":[{"title":"Platform","href":"/platform/en/introduction"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/api/introduction"},{"title":"Service accounts","href":"/api/service-account"},{"group":"Authentication","pages":[{"title":"Create an access token","deprecated":null,"version":null,"openapi":"/openapi/platform-auth.yaml post /oauth/token","href":"/api-reference/authentication/create-an-access-token"}]},{"group":"Errors","pages":[{"title":"Error responses","href":"/api/problems"},{"title":"Bad request","href":"/api/problems/bad_request"},{"title":"Unauthorized","href":"/api/problems/unauthorized"},{"title":"Not found","href":"/api/problems/not_found"},{"title":"Conflict","href":"/api/problems/conflict"},{"title":"Validation error","href":"/api/problems/validation_error"},{"title":"Internal error","href":"/api/problems/internal_error"}]}]},{"group":"Platform API reference","pages":[{"group":"Automations","pages":[{"title":"Get an execution's trace summary","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions/{execution_id}/trace","href":"/api/v1/reference/automations/get-an-executions-trace-summary"},{"title":"List an execution's trace spans","description":"Returns the spans of an Automation execution's trace as a flat list, ordered by start time, then id.\nRebuild the tree from `parent_id`.\n\nSpans in this list leave out their attributes, which hold prompts, completions and tool arguments and\ncan be large. Get one span to read them.\n","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions/{execution_id}/trace/spans","href":"/api/v1/reference/automations/list-an-executions-trace-spans"},{"title":"Get one trace span","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions/{execution_id}/trace/spans/{span_id}","href":"/api/v1/reference/automations/get-one-trace-span"},{"title":"List an Automation's executions","description":"Returns the Automation's kickoff executions, newest first (`created_at` descending) unless `order_by` says otherwise.\n\nTraining runs, test runs, chat turns and crew runs nested inside a flow are not listed. Inputs, outputs\nand errors are not part of this collection.\n","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions","href":"/api/v1/reference/automations/list-an-automations-executions"},{"title":"Get an execution of an Automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions/{execution_id}","href":"/api/v1/reference/automations/get-an-execution-of-an-automation"},{"title":"List an Automation's schedules","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/schedules","href":"/api/v1/reference/automations/list-an-automations-schedules"},{"title":"Get a schedule of an Automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/schedules/{schedule_id}","href":"/api/v1/reference/automations/get-a-schedule-of-an-automation"},{"title":"Upload an Automation ZIP","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/automation-uploads","href":"/api/v1/reference/automations/upload-an-automation-zip"},{"title":"List Automations","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations","href":"/api/v1/reference/automations/list-automations"},{"title":"Create an Automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/automations","href":"/api/v1/reference/automations/create-an-automation"},{"title":"Redeploy an Automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/automations/{id}/redeploy","href":"/api/v1/reference/automations/redeploy-an-automation"},{"title":"Get an Automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{id}","href":"/api/v1/reference/automations/get-an-automation"},{"title":"Delete an Automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/automations/{id}","href":"/api/v1/reference/automations/delete-an-automation"},{"title":"Export an Automation ZIP","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{id}/export","href":"/api/v1/reference/automations/export-an-automation-zip"},{"title":"List the roles granted on an automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/granted-roles","href":"/api/v1/reference/automations/list-the-roles-granted-on-an-automation"},{"title":"Grant a role on an automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/automations/{automation_id}/granted-roles","href":"/api/v1/reference/automations/grant-a-role-on-an-automation"},{"title":"Revoke a role granted on an automation","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/automations/{automation_id}/granted-roles/{id}","href":"/api/v1/reference/automations/revoke-a-role-granted-on-an-automation"}]},{"group":"Group Mappings","pages":[{"title":"List group mappings","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/group-mappings","href":"/api/v1/reference/group-mappings/list-group-mappings"},{"title":"Create a group mapping","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/group-mappings","href":"/api/v1/reference/group-mappings/create-a-group-mapping"},{"title":"Delete a group mapping","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/group-mappings/{id}","href":"/api/v1/reference/group-mappings/delete-a-group-mapping"}]},{"group":"Users","pages":[{"title":"Create invitations","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/invites","href":"/api/v1/reference/users/create-invitations"},{"title":"List roles","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/roles","href":"/api/v1/reference/users/list-roles"},{"title":"List user granted roles","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/users/{user_id}/granted-roles","href":"/api/v1/reference/users/list-user-granted-roles"},{"title":"Assign a role to a user","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/users/{user_id}/granted-roles","href":"/api/v1/reference/users/assign-a-role-to-a-user"},{"title":"Revoke a granted role","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/users/{user_id}/granted-roles/{id}","href":"/api/v1/reference/users/revoke-a-granted-role"},{"title":"List a user's teams","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/users/{user_id}/teams","href":"/api/v1/reference/users/list-a-users-teams"},{"title":"List users","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/users","href":"/api/v1/reference/users/list-users"},{"title":"Remove user","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/users/{id}","href":"/api/v1/reference/users/remove-user"}]},{"group":"Teams","pages":[{"title":"Request a Team membership source purge","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/membership-sources/{source}/purge","href":"/api/v1/reference/teams/request-a-team-membership-source-purge"},{"title":"List Team membership sources","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/membership-sources","href":"/api/v1/reference/teams/list-team-membership-sources"},{"title":"Update a Team membership source","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml patch /api/v1/membership-sources/{source}","href":"/api/v1/reference/teams/update-a-team-membership-source"},{"title":"List team granted roles","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/teams/{team_id}/granted-roles","href":"/api/v1/reference/teams/list-team-granted-roles"},{"title":"Assign a role to a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/teams/{team_id}/granted-roles","href":"/api/v1/reference/teams/assign-a-role-to-a-team"},{"title":"Revoke a team granted role","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/teams/{team_id}/granted-roles/{id}","href":"/api/v1/reference/teams/revoke-a-team-granted-role"},{"title":"List team service accounts","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/teams/{team_id}/service-accounts","href":"/api/v1/reference/teams/list-team-service-accounts"},{"title":"Add a service account to a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/teams/{team_id}/service-accounts","href":"/api/v1/reference/teams/add-a-service-account-to-a-team"},{"title":"Remove a service account from a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/teams/{team_id}/service-accounts/{id}","href":"/api/v1/reference/teams/remove-a-service-account-from-a-team"},{"title":"List team users","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/teams/{team_id}/users","href":"/api/v1/reference/teams/list-team-users"},{"title":"Add a user to a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/teams/{team_id}/users","href":"/api/v1/reference/teams/add-a-user-to-a-team"},{"title":"Remove a user from a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/teams/{team_id}/users/{id}","href":"/api/v1/reference/teams/remove-a-user-from-a-team"},{"title":"List teams","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/teams","href":"/api/v1/reference/teams/list-teams"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/teams","href":"/api/v1/reference/teams/create-a-team"},{"title":"Get a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/teams/{id}","href":"/api/v1/reference/teams/get-a-team"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/teams/{id}","href":"/api/v1/reference/teams/delete-a-team"},{"title":"Update a team","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml patch /api/v1/teams/{id}","href":"/api/v1/reference/teams/update-a-team"}]},{"group":"Environment Variables","pages":[{"title":"List the roles granted on an environment variable","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/environment-variables/{environment_variable_id}/granted-roles","href":"/api/v1/reference/environment-variables/list-the-roles-granted-on-an-environment-variable"},{"title":"Grant a role on an environment variable","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/environment-variables/{environment_variable_id}/granted-roles","href":"/api/v1/reference/environment-variables/grant-a-role-on-an-environment-variable"},{"title":"Revoke a role granted on an environment variable","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/environment-variables/{environment_variable_id}/granted-roles/{id}","href":"/api/v1/reference/environment-variables/revoke-a-role-granted-on-an-environment-variable"}]},{"group":"Git Repositories","pages":[{"title":"List the roles granted on a git repository","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/git-repositories/{git_repository_id}/granted-roles","href":"/api/v1/reference/git-repositories/list-the-roles-granted-on-a-git-repository"},{"title":"Grant a role on a git repository","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/git-repositories/{git_repository_id}/granted-roles","href":"/api/v1/reference/git-repositories/grant-a-role-on-a-git-repository"},{"title":"Revoke a role granted on a git repository","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/git-repositories/{git_repository_id}/granted-roles/{id}","href":"/api/v1/reference/git-repositories/revoke-a-role-granted-on-a-git-repository"}]},{"group":"LLM Connections","pages":[{"title":"List the roles granted on an LLM connection","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/llm-connections/{llm_connection_id}/granted-roles","href":"/api/v1/reference/llm-connections/list-the-roles-granted-on-an-llm-connection"},{"title":"Grant a role on an LLM connection","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/llm-connections/{llm_connection_id}/granted-roles","href":"/api/v1/reference/llm-connections/grant-a-role-on-an-llm-connection"},{"title":"Revoke a role granted on an LLM connection","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/llm-connections/{llm_connection_id}/granted-roles/{id}","href":"/api/v1/reference/llm-connections/revoke-a-role-granted-on-an-llm-connection"}]},{"group":"Studio Projects","pages":[{"title":"List the roles granted on a Studio project","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/studio-projects/{studio_project_id}/granted-roles","href":"/api/v1/reference/studio-projects/list-the-roles-granted-on-a-studio-project"},{"title":"Grant a role on a Studio project","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/studio-projects/{studio_project_id}/granted-roles","href":"/api/v1/reference/studio-projects/grant-a-role-on-a-studio-project"},{"title":"Revoke a role granted on a Studio project","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/studio-projects/{studio_project_id}/granted-roles/{id}","href":"/api/v1/reference/studio-projects/revoke-a-role-granted-on-a-studio-project"},{"title":"Delete a Studio Project","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/studio-projects/{id}","href":"/api/v1/reference/studio-projects/delete-a-studio-project"}]},{"group":"Tools","pages":[{"title":"List the roles granted on a tool","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/tools/{tool_id}/granted-roles","href":"/api/v1/reference/tools/list-the-roles-granted-on-a-tool"},{"title":"Grant a role on a tool","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/tools/{tool_id}/granted-roles","href":"/api/v1/reference/tools/grant-a-role-on-a-tool"},{"title":"Revoke a role granted on a tool","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/tools/{tool_id}/granted-roles/{id}","href":"/api/v1/reference/tools/revoke-a-role-granted-on-a-tool"}]},{"group":"Service Accounts","pages":[{"title":"List service account granted roles","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/service-accounts/{service_account_id}/granted-roles","href":"/api/v1/reference/service-accounts/list-service-account-granted-roles"},{"title":"Assign a role to a service account","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/service-accounts/{service_account_id}/granted-roles","href":"/api/v1/reference/service-accounts/assign-a-role-to-a-service-account"},{"title":"Revoke a service account granted role","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/service-accounts/{service_account_id}/granted-roles/{id}","href":"/api/v1/reference/service-accounts/revoke-a-service-account-granted-role"},{"title":"List a service account's teams","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/service-accounts/{service_account_id}/teams","href":"/api/v1/reference/service-accounts/list-a-service-accounts-teams"}]},{"group":"Status","pages":[{"title":"Check API status","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/status","href":"/api/v1/reference/status/check-api-status"}]},{"group":"Webhook Endpoints","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/webhook-endpoints","href":"/api/v1/reference/webhook-endpoints/list-webhook-endpoints"},{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/webhook-endpoints","href":"/api/v1/reference/webhook-endpoints/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/webhook-endpoints/{id}","href":"/api/v1/reference/webhook-endpoints/get-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml delete /api/v1/webhook-endpoints/{id}","href":"/api/v1/reference/webhook-endpoints/delete-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml patch /api/v1/webhook-endpoints/{id}","href":"/api/v1/reference/webhook-endpoints/update-a-webhook-endpoint"},{"title":"Rotate a webhook endpoint's signing secret","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/webhook-endpoints/{id}/rotate-secret","href":"/api/v1/reference/webhook-endpoints/rotate-a-webhook-endpoints-signing-secret"},{"title":"Send a test event to a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml post /api/v1/webhook-endpoints/{id}/test","href":"/api/v1/reference/webhook-endpoints/send-a-test-event-to-a-webhook-endpoint"},{"title":"List a webhook endpoint's deliveries","deprecated":null,"version":null,"openapi":"/openapi/platform-v1.yaml get /api/v1/webhook-endpoints/{id}/deliveries","href":"/api/v1/reference/webhook-endpoints/list-a-webhook-endpoints-deliveries"}]}]}]}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/platform/pt-BR/introduction"}]},{"language":"ko","pages":[{"title":"ko","href":"/platform/ko/introduction"}]},{"language":"ar","pages":[{"title":"ar","href":"/platform/ar/introduction"}]}]},"basePath":"","title":"Get one trace span - CrewAI Platform","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}