{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sequentum Developer Documentation","description":"Build, run, and operate web data agents at enterprise scale.","colors":{"primary":"#5248f9","light":"#7c74fb","dark":"#14163b"},"logo":{"light":"https://mintcdn.com/sequentum/fcE1x9eYvxrlj_sO/logo/wordmark-light.svg?fit=max\u0026auto=format\u0026n=fcE1x9eYvxrlj_sO\u0026q=85\u0026s=0a67e1bcfec589a284d603f793833f43","dark":"https://mintcdn.com/sequentum/fcE1x9eYvxrlj_sO/logo/wordmark-dark.svg?fit=max\u0026auto=format\u0026n=fcE1x9eYvxrlj_sO\u0026q=85\u0026s=2c2373b40cd1969f989d11624005229b","href":"https://docs.sequentum.com"},"favicon":{"light":"https://mintcdn.com/sequentum/fcE1x9eYvxrlj_sO/favicon-light.svg?fit=max\u0026auto=format\u0026n=fcE1x9eYvxrlj_sO\u0026q=85\u0026s=7b586086bac293498d14050730848a18","dark":"https://mintcdn.com/sequentum/fcE1x9eYvxrlj_sO/favicon-dark.svg?fit=max\u0026auto=format\u0026n=fcE1x9eYvxrlj_sO\u0026q=85\u0026s=93ab6db44ff5945729856e1209d0bc5c"},"navbar":{"links":[{"href":"https://www.sequentum.com/contact-us","label":"Support"}],"primary":{"type":"button","label":"Get API Key","href":"https://dashboard.sequentum.com/user/api-keys"}},"footer":{"socials":{"x":"https://x.com/sequentum","linkedin":"https://www.linkedin.com/company/sequentum","github":"https://github.com/sequentum"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sequentum","hasAudioNarration":false,"actualSubdomain":"sequentum","customDomains":["docs.sequentum.com"],"gitSource":{"type":"github","owner":"sequentum","repo":"sequentum-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae566d14f6cee598f7bd105","collectionId":"1284149c-11bf-4d11-8aa2-609e19837aea","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae566d14f6cee598f7bd105"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae566d14f6cee598f7bd105","clientVersion":"0.0.4064","searchFilterCounts":[{"language":"default","tag":"Agents","count":64},{"language":"default","tag":"Documentation","count":60},{"language":"default","tag":"API reference","count":48},{"language":"default","tag":"Commands","count":43},{"language":"default","tag":"Export","count":11},{"language":"default","tag":"Extract","count":9},{"language":"default","tag":"Schedules","count":7},{"language":"default","tag":"Get started","count":7},{"language":"default","tag":"Agent Builder","count":6},{"language":"default","tag":"Billing","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/billing/agent","slug":"/api-reference/billing/agent","pageMetadata":{"title":"Agent billing detail","openapi":"GET /api/v1/billing/agents/{agentId}","mode":"wide","description":"Returns the cost breakdown by usage type for a specific agent within the specified date range.\nUseful for visualizing agent costs over time in charts.","href":"/api-reference/billing/agent"},"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 the cost breakdown by usage type for a specific agent within the specified date range.\\nUseful for visualizing agent costs over time in charts.\"\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":"Agent billing detail","openapi":"GET /api/v1/billing/agents/{agentId}","mode":"wide","description":"Returns the cost breakdown by usage type for a specific agent within the specified date range.\nUseful for visualizing agent costs over time in charts.","href":"/api-reference/billing/agent"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["ApiBilling"],"summary":"Get cost breakdown for a specific agent over time","description":"Returns the cost breakdown by usage type for a specific agent within the specified date range.\nUseful for visualizing agent costs over time in charts.","parameters":["0f71717b-04a3-4e53-b73b-bc029fd540ef","ece7ae40-2dbf-441c-96da-f1f2d7bc3cbb","148ad3ed-9460-498a-b9c2-d8d5ee23a063","66279da2-7e77-4ffa-8500-e45aac698ea3","82bfdfa9-357d-4432-8136-c1035a7f2b9b"],"responses":{"200":"18a69d76-09a3-4210-8822-5e4804254319","400":"09a88ab1-b29c-4fe0-b43b-0afdeb19a49d","401":"eee1a254-a7a3-44b8-b3fc-cf20a1414117","404":"a9e7598b-2808-443c-a4b9-dd384a0222d2","429":"ac24d0a2-072b-4f9b-aa03-b9f23fcb8956"},"method":"get","type":"path","servers":[],"security":["c8641e7d-99f9-44e8-a2b7-2b249e4b5896"],"path":"/api/v1/billing/agents/{agentId}","baseUrlOptions":[],"title":"Get cost breakdown for a specific agent over time","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0f71717b-04a3-4e53-b73b-bc029fd540ef":{"name":"agentId","in":"path","description":"The agent ID","required":true,"schema":{"type":"integer","format":"int32","isRequired":true,"description":"The agent ID","uniqueKey":"","typeLabel":"integer\u003cint32>"}},"ece7ae40-2dbf-441c-96da-f1f2d7bc3cbb":{"name":"startDate","in":"query","description":"Start date for the range (ISO format, required)","schema":{"type":"string","format":"date-time","description":"Start date for the range (ISO format, required)","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"148ad3ed-9460-498a-b9c2-d8d5ee23a063":{"name":"endDate","in":"query","description":"End date for the range (ISO format, required)","schema":{"type":"string","format":"date-time","description":"End date for the range (ISO format, required)","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"66279da2-7e77-4ffa-8500-e45aac698ea3":{"name":"timeUnit","in":"query","description":"Time unit for grouping data: day (default), month","schema":{"type":"string","default":"day","description":"Time unit for grouping data: day (default), month","uniqueKey":"","typeLabel":"string"}},"82bfdfa9-357d-4432-8136-c1035a7f2b9b":{"name":"usageTypes","in":"query","description":"Filter by usage types (comma-separated)","schema":{"type":"string","description":"Filter by usage types (comma-separated)","uniqueKey":"","typeLabel":"string"}}},"responses":{"18a69d76-09a3-4210-8822-5e4804254319":{"description":"Returns the cost breakdown","content":{"application/json":{"schema":{"type":"object","properties":{"agentId":{"type":"integer","description":"Agent ID","format":"int32","uniqueKey":"agentId","typeLabel":"integer\u003cint32>"},"agentName":{"oneOf":[{"type":"string","description":"Agent name","uniqueKey":"agentName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Agent name","uniqueKey":"agentName.oneOf.1","typeLabel":"null"}],"uniqueKey":"agentName","typeLabel":"string | null"},"labels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"labels.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Date labels for the chart (e.g., \"2024-01-01\", \"2024-01-02\")","uniqueKey":"labels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Date labels for the chart (e.g., \"2024-01-01\", \"2024-01-02\")","uniqueKey":"labels.oneOf.1","typeLabel":"null"}],"uniqueKey":"labels","typeLabel":"string[] | null"},"usageTypes":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","description":"Usage type name (e.g., \"Server Time\", \"Export GB\", \"Agent Inputs\", \"Proxy Data\", \"Export CPM\")","uniqueKey":"usageTypes.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Usage type name (e.g., \"Server Time\", \"Export GB\", \"Agent Inputs\", \"Proxy Data\", \"Export CPM\")","uniqueKey":"usageTypes.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"usageTypes.oneOf.0.items.[INDEX].type","typeLabel":"string | null"},"data":{"oneOf":[{"type":"array","items":{"type":"number","format":"double","uniqueKey":"usageTypes.oneOf.0.items.[INDEX].data.oneOf.0.items.[INDEX]","typeLabel":"number\u003cdouble>"},"description":"Cost data points corresponding to the date labels","uniqueKey":"usageTypes.oneOf.0.items.[INDEX].data.oneOf.0","typeLabel":"number\u003cdouble>[]"},{"type":"null","items":{"type":"number","format":"double"},"description":"Cost data points corresponding to the date labels","uniqueKey":"usageTypes.oneOf.0.items.[INDEX].data.oneOf.1","typeLabel":"null"}],"uniqueKey":"usageTypes.oneOf.0.items.[INDEX].data","typeLabel":"number\u003cdouble>[] | null"},"totalCost":{"type":"number","description":"Total cost for this usage type","format":"double","uniqueKey":"usageTypes.oneOf.0.items.[INDEX].totalCost","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Usage data for a specific usage type (e.g., Server Time, Export GB)","uniqueKey":"usageTypes.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Usage data grouped by type","uniqueKey":"usageTypes.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","description":"Usage type name (e.g., \"Server Time\", \"Export GB\", \"Agent Inputs\", \"Proxy Data\", \"Export CPM\")"},{"type":"null","description":"Usage type name (e.g., \"Server Time\", \"Export GB\", \"Agent Inputs\", \"Proxy Data\", \"Export CPM\")"}]},"data":{"oneOf":[{"type":"array","items":{"type":"number","format":"double"},"description":"Cost data points corresponding to the date labels"},{"type":"null","items":{"type":"number","format":"double"},"description":"Cost data points corresponding to the date labels"}]},"totalCost":{"type":"number","description":"Total cost for this usage type","format":"double"}},"additionalProperties":false,"description":"Usage data for a specific usage type (e.g., Server Time, Export GB)"},"description":"Usage data grouped by type","uniqueKey":"usageTypes.oneOf.1","typeLabel":"null"}],"uniqueKey":"usageTypes","typeLabel":"object[] | null"},"totalCost":{"type":"number","description":"Total cost across all usage types","format":"double","uniqueKey":"totalCost","typeLabel":"number\u003cdouble>"},"startDate":{"type":"string","description":"Start date of the range","format":"date-time","uniqueKey":"startDate","typeLabel":"string\u003cdate-time>"},"endDate":{"type":"string","description":"End date of the range","format":"date-time","uniqueKey":"endDate","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"description":"Cost breakdown for a specific agent over time","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentId":123,"agentName":"\u003cstring>","labels":["\u003cstring>"],"usageTypes":[{"type":"\u003cstring>","data":[123],"totalCost":123}],"totalCost":123,"startDate":"2023-11-07T05:31:56Z","endDate":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"09a88ab1-b29c-4fe0-b43b-0afdeb19a49d":{"description":"If the request is invalid","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","format":"int32","uniqueKey":"statusCode","typeLabel":"integer\u003cint32>"},"statusDescription":{"oneOf":[{"type":"string","uniqueKey":"statusDescription.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"statusDescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusDescription","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","readOnly":true,"uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"severity":{"enum":[0,1,2,3,4],"type":"integer","description":"`0` = `Error`; `1` = `Unexpected`; `2` = `Fatal`; `3` = `Warning`; `4` = `Info`","format":"int32","uniqueKey":"severity","typeLabel":"enum\u003cinteger>"},"errorCode":{"oneOf":[{"type":"string","description":"Optional machine-readable error code. When present, clients should switch on this\r\nvalue rather than parsing Sequentum.Enterprise.Core.ControllerError.Message. Omitted from the response when null.","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional machine-readable error code. When present, clients should switch on this\r\nvalue rather than parsing Sequentum.Enterprise.Core.ControllerError.Message. Omitted from the response when null.","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"statusDescription":"\u003cstring>","message":"\u003cstring>","severity":0,"errorCode":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"eee1a254-a7a3-44b8-b3fc-cf20a1414117":{"description":"If the API key is missing or invalid","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a9e7598b-2808-443c-a4b9-dd384a0222d2":{"description":"If the agent is not found or not accessible","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ac24d0a2-072b-4f9b-aa03-b9f23fcb8956":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c8641e7d-99f9-44e8-a2b7-2b249e4b5896":{"ApiKey":{"type":"apiKey","description":"API Key authorization header. Example: \"Authorization: ApiKey {your-api-key}\"","name":"Authorization","in":"header","scopes":[]},"Bearer":{"type":"http","description":"OAuth 2.0 Bearer token. Example: \"Authorization: Bearer {access-token}\"","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"API Key authorization header. Example: \"Authorization: ApiKey {your-api-key}\"","name":"Authorization","in":"header","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"API Key authorization header. Example: \"Authorization: ApiKey {your-api-key}\"","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"Authorization"},{"scheme":{"type":"http","description":"OAuth 2.0 Bearer token. Example: \"Authorization: Bearer {access-token}\"","scheme":"bearer","bearerFormat":"JWT","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"OAuth 2.0 Bearer token. Example: \"Authorization: Bearer {access-token}\"","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"ApiKey \u0026 Bearer"}]},"originalFileLocation":"swagger.json"},"subdomain":"sequentum","siteName":"Sequentum Developer Documentation","title":"Agent billing detail - Sequentum Developer Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-05T22:38:33.153Z","originalFileLocation":"api-reference/billing/agent.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=\"Returns the cost breakdown by usage type for a specific agent within the specified date range. Useful for visualizing agent costs over time in charts.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sequentum Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sequentum/VkZlqfknQ1prTgmm/_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/sequentum/VkZlqfknQ1prTgmm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sequentum/VkZlqfknQ1prTgmm/_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/sequentum/VkZlqfknQ1prTgmm/_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/sequentum/VkZlqfknQ1prTgmm/_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/sequentum/VkZlqfknQ1prTgmm/_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/sequentum/VkZlqfknQ1prTgmm/_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/sequentum/VkZlqfknQ1prTgmm/_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/sequentum/VkZlqfknQ1prTgmm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent billing detail - Sequentum Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the cost breakdown by usage type for a specific agent within the specified date range. Useful for visualizing agent costs over time in charts.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sequentum Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sequentum.com/api-reference/billing/agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sequentum.mintlify.app/_mintlify/api/og/v2?division=Billing\u0026amp;title=Agent+billing+detail\u0026amp;description=Returns+the+cost+breakdown+by+usage+type+for+a+specific+agent+within+the+specified+date+range.%0AUseful+for+visualizing+agent+costs+over+time+in+charts.\u0026amp;theme=79ab2d552dc11d5e80ec210a\u0026amp;signature=8be65e4a1c4e352981a064c23d39f25f140ed6ed0b92015050e3dabfc73674c3\">\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=\"Agent billing detail - Sequentum Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the cost breakdown by usage type for a specific agent within the specified date range. Useful for visualizing agent costs over time in charts.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sequentum.mintlify.app/_mintlify/api/og/v2?division=Billing\u0026amp;title=Agent+billing+detail\u0026amp;description=Returns+the+cost+breakdown+by+usage+type+for+a+specific+agent+within+the+specified+date+range.%0AUseful+for+visualizing+agent+costs+over+time+in+charts.\u0026amp;theme=79ab2d552dc11d5e80ec210a\u0026amp;signature=8be65e4a1c4e352981a064c23d39f25f140ed6ed0b92015050e3dabfc73674c3\">\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/sequentum/VkZlqfknQ1prTgmm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sequentum Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5248f9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sequentum.com/api-reference/billing/agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/billing/agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sequentum.com/#organization\",\"name\":\"Sequentum Developer Documentation\",\"url\":\"https://docs.sequentum.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sequentum/fcE1x9eYvxrlj_sO/logo/wordmark-light.svg?fit=max\u0026auto=format\u0026n=fcE1x9eYvxrlj_sO\u0026q=85\u0026s=0a67e1bcfec589a284d603f793833f43\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sequentum.com#website\",\"name\":\"Sequentum Developer Documentation\",\"url\":\"https://docs.sequentum.com\",\"publisher\":{\"@id\":\"https://docs.sequentum.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sequentum.com/api-reference/billing/agent#webpage\",\"url\":\"https://docs.sequentum.com/api-reference/billing/agent\",\"name\":\"Agent billing detail\",\"description\":\"Returns the cost breakdown by usage type for a specific agent within the specified date range. Useful for visualizing agent costs over time in charts.\",\"dateModified\":\"2026-08-05T22:38:33.153Z\",\"isPartOf\":{\"@id\":\"https://docs.sequentum.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sequentum.com/api-reference/billing/agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sequentum.com/api-reference/billing/agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Billing\",\"item\":\"https://docs.sequentum.com/api-reference/billing/credits\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent billing detail\",\"item\":\"https://docs.sequentum.com/api-reference/billing/agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sequentum.com/api-reference/billing/agent#apireference\",\"headline\":\"Agent billing detail\",\"name\":\"Agent billing detail\",\"description\":\"Returns the cost breakdown by usage type for a specific agent within the specified date range. Useful for visualizing agent costs over time in charts.\",\"url\":\"https://docs.sequentum.com/api-reference/billing/agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sequentum.com/api-reference/billing/agent#webpage\"},\"dateModified\":\"2026-08-05T22:38:33.153Z\",\"publisher\":{\"@id\":\"https://docs.sequentum.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sequentum.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sequentum Developer Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sequentum Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Agent Builder","pages":[{"title":"Start an Agent Builder session","openapi":"POST /api/v1/agent-builder/start","mode":"wide","href":"/api-reference/agent-builder/start-session"},{"title":"Get session status","openapi":"GET /api/v1/agent-builder/{sessionId}/status","mode":"wide","href":"/api-reference/agent-builder/session-status"},{"title":"Stop a session","openapi":"POST /api/v1/agent-builder/{sessionId}/stop","mode":"wide","href":"/api-reference/agent-builder/session-stop"}]},{"group":"Agents","pages":[{"title":"List agents","openapi":"GET /api/v1/agent/all","mode":"wide","href":"/api-reference/agents/list"},{"title":"Search agents","openapi":"GET /api/v1/agent/search","mode":"wide","href":"/api-reference/agents/search"},{"title":"Get an agent","openapi":"GET /api/v1/agent/{agentId}","mode":"wide","href":"/api-reference/agents/get"},{"title":"Get agent content","openapi":"GET /api/v1/agent/{agentId}/content","mode":"wide","href":"/api-reference/agents/get-content"},{"title":"Upload agent content","openapi":"POST /api/v1/agent/{agentId}/content","mode":"wide","href":"/api-reference/agents/upload-content"},{"title":"Get agent input parameters","openapi":"GET /api/v1/agent/{agentId}/input-parameters","mode":"wide","href":"/api-reference/agents/input-parameters"},{"title":"Start a run","openapi":"POST /api/v1/agent/{agentId}/start","mode":"wide","href":"/api-reference/agents/start-run"},{"title":"List runs for an agent","openapi":"GET /api/v1/agent/{agentId}/runs","mode":"wide","href":"/api-reference/agents/list-runs"},{"title":"Get run status","openapi":"GET /api/v1/agent/{agentId}/run/{runId}/status","mode":"wide","href":"/api-reference/agents/run-status"},{"title":"Stop a run","openapi":"POST /api/v1/agent/{agentId}/run/{runId}/stop","mode":"wide","href":"/api-reference/agents/stop-run"},{"title":"Kill a run","openapi":"POST /api/v1/agent/{agentId}/run/{runId}/kill","mode":"wide","href":"/api-reference/agents/kill-run"},{"title":"Delete a run","openapi":"DELETE /api/v1/agent/{agentId}/run/{runId}","mode":"wide","href":"/api-reference/agents/delete-run"},{"title":"List run output files","openapi":"GET /api/v1/agent/{agentId}/run/{runId}/files","mode":"wide","href":"/api-reference/agents/run-files"},{"title":"Download a run output file","openapi":"GET /api/v1/agent/{agentId}/run/{runId}/file/{fileId}/download","mode":"wide","href":"/api-reference/agents/run-file-download"},{"title":"List agent versions","openapi":"GET /api/v1/agent/{agentId}/versions","mode":"wide","href":"/api-reference/agents/versions"},{"title":"Get version content","openapi":"GET /api/v1/agent/{agentId}/version/{versionNumber}/content","mode":"wide","href":"/api-reference/agents/version-content"},{"title":"Restore an agent version","openapi":"POST /api/v1/agent/{agentId}/version/{versionNumber}/restore","mode":"wide","href":"/api-reference/agents/restore-version"},{"title":"Archive an agent","openapi":"POST /api/v1/agent/{agentId}/archive","mode":"wide","href":"/api-reference/agents/archive"},{"title":"Unarchive an agent","openapi":"POST /api/v1/agent/{agentId}/unarchive","mode":"wide","href":"/api-reference/agents/unarchive"}]},{"group":"Schedules","pages":[{"title":"List schedules for an agent","openapi":"GET /api/v1/agent/{agentId}/schedules","mode":"wide","href":"/api-reference/schedules/list"},{"title":"Create a schedule","openapi":"POST /api/v1/agent/{agentId}/schedules","mode":"wide","href":"/api-reference/schedules/create"},{"title":"Get a schedule","openapi":"GET /api/v1/agent/{agentId}/schedules/{scheduleId}","mode":"wide","href":"/api-reference/schedules/get"},{"title":"Update a schedule","openapi":"PUT /api/v1/agent/{agentId}/schedules/{scheduleId}","mode":"wide","href":"/api-reference/schedules/update"},{"title":"Delete a schedule","openapi":"DELETE /api/v1/agent/{agentId}/schedules/{scheduleId}","mode":"wide","href":"/api-reference/schedules/delete"},{"title":"Enable a schedule","openapi":"POST /api/v1/agent/{agentId}/schedules/{scheduleId}/enable","mode":"wide","href":"/api-reference/schedules/enable"},{"title":"Disable a schedule","openapi":"POST /api/v1/agent/{agentId}/schedules/{scheduleId}/disable","mode":"wide","href":"/api-reference/schedules/disable"}]},{"group":"Analytics","pages":[{"title":"Runs summary","openapi":"GET /api/v1/analytics/runs/summary","mode":"wide","href":"/api-reference/analytics/runs-summary"},{"title":"Records summary","openapi":"GET /api/v1/analytics/records/summary","mode":"wide","href":"/api-reference/analytics/records-summary"},{"title":"Upcoming schedules","openapi":"GET /api/v1/analytics/schedules/upcoming","mode":"wide","href":"/api-reference/analytics/schedules-upcoming"},{"title":"Run diagnostics","openapi":"GET /api/v1/analytics/agents/{agentId}/runs/{runId}/diagnostics","mode":"wide","href":"/api-reference/analytics/run-diagnostics"},{"title":"Latest failure for an agent","openapi":"GET /api/v1/analytics/agents/{agentId}/latest-failure","mode":"wide","href":"/api-reference/analytics/latest-failure"}]},{"group":"Billing","pages":[{"title":"Get credits balance","openapi":"GET /api/v1/billing/credits","mode":"wide","href":"/api-reference/billing/credits"},{"title":"Get spending","openapi":"GET /api/v1/billing/spending","mode":"wide","href":"/api-reference/billing/spending"},{"title":"Billing history","openapi":"GET /api/v1/billing/history","mode":"wide","href":"/api-reference/billing/history"},{"title":"Per-agent billing summary","openapi":"GET /api/v1/billing/agents","mode":"wide","description":"Returns a paginated list of agents with their total costs within the specified date range.\nOnly returns agents the authenticated user has access to.\n\n**Filtering**\n\n- `name` — filter by agent name (case-insensitive contains match)\n- `usageTypes` — filter by usage type (comma-separated: `Server Time`, `Export GB`, `Agent Inputs`, `Proxy Data`, `Export CPM`)\n\n**Sorting**\n\n- `sortColumn` — `name` | `cost` (default: `name`)\n- `sortOrder` — `0` ascending (default) | `1` descending","href":"/api-reference/billing/agents"},{"title":"Agent billing detail","openapi":"GET /api/v1/billing/agents/{agentId}","mode":"wide","href":"/api-reference/billing/agent"},{"title":"Agent run-level billing","openapi":"GET /api/v1/billing/agents/{agentId}/runs","mode":"wide","description":"Returns a paginated list of runs with their costs for a specific agent within the specified date range.\n\n**Filtering**\n\n- `usageTypes` — filter by usage type (comma-separated: `Server Time`, `Export GB`, `Agent Inputs`, `Proxy Data`, `Export CPM`)\n\n**Sorting**\n\n- `sortColumn` — `date` | `cost` | `duration` (default: `date`)\n- `sortOrder` — `0` ascending (default) | `1` descending","href":"/api-reference/billing/agent-runs"}]},{"group":"Spaces","pages":[{"title":"List spaces","openapi":"GET /api/v1/spaces","mode":"wide","href":"/api-reference/spaces/list"},{"title":"Get a space","openapi":"GET /api/v1/spaces/{spaceId}","mode":"wide","href":"/api-reference/spaces/get"},{"title":"List agents in a space","openapi":"GET /api/v1/spaces/{spaceId}/agents","mode":"wide","href":"/api-reference/spaces/agents"},{"title":"Run all agents in a space","openapi":"POST /api/v1/spaces/{spaceId}/run-all","mode":"wide","href":"/api-reference/spaces/run-all"},{"title":"Search spaces","openapi":"GET /api/v1/spaces/search","mode":"wide","href":"/api-reference/spaces/search"}]}]}]},"basePath":"","title":"Agent billing detail - Sequentum Developer Documentation","buildId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","deploymentId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-hfTk6MZX.js","utils-Bfp7HcY4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D8dSW7yV.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CFgQXcZO.js","snippetPresets-dMW1-pV3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BsZAA8xk.js","ApiExamples-DyrCOido.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bwwdcyh3.js","shallow-drVXTg79.js","getApiPlaygroundDisplay-GMPxUzWV.js","CodeSnippet-wTmV0wP6.js","CodeSnippets-D_QxCJEq.js","getPastedJson-Dev-X0Xy.js","icon-7L2WL0jD.js","MethodPill-Ble59Dl_.js","DuplicateIcon-r-98uLGh.js","createIcon-DaFzipjW.js","DynamicMarkdown-Jk8YAWGN.js","SectionHeading-nLgrCDOg.js","axios-vUo_bRtp.js","Markdown-_QGow1Wo.js","clsx-v8ssfMzu.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CjboTi0T.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DkAyo-p5.js"]}