Return the wallet’s current balance and most recent billing rows.
All resource types are included (compute, training, inference, traces,
disks, sandboxes, images) — same source-of-truth Billing table the
dashboard’s Billing History tab reads. Sorted by lastBilledAt desc.
If provided, return the team's wallet (requires membership).
Response
Successful Response
Snapshot of a wallet's balance + most recent billing rows.
Drives prime wallet. One call returns everything an agent needs to
audit the billing flow against a known training run. Credit grants are
listed separately from balance_usd: they are category-scoped free
credits consumed before balance, not wallet money.
Remaining grant credits in USD per category (sandboxes, training, inference), snapshot
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Prime Intellect Docs","colors":{"primary":"#9946FC","light":"#ffffff","dark":"#121212"},"logo":{"light":"https://mintcdn.com/primeintellect/X3F2tnEstSGMOi8f/logo/logo-dark-font.svg?fit=max\u0026auto=format\u0026n=X3F2tnEstSGMOi8f\u0026q=85\u0026s=4530d2da1baa9b91284a28d341a96d41","dark":"https://mintcdn.com/primeintellect/X3F2tnEstSGMOi8f/logo/logo-light-font.svg?fit=max\u0026auto=format\u0026n=X3F2tnEstSGMOi8f\u0026q=85\u0026s=692102cbfd35d0ffc53889dd563b2bba"},"favicon":"https://mintcdn.com/primeintellect/V8nr4KkPva3ooU45/favicon.svg?fit=max\u0026auto=format\u0026n=V8nr4KkPva3ooU45\u0026q=85\u0026s=0605a1bf3a6c6f9dc5f446cb0935f9f3","navbar":{"links":[{"href":"mailto:contact@primeintellect.ai","label":"Support"}],"primary":{"type":"button","label":"Home","href":"https://app.primeintellect.ai"}},"footer":{"socials":{"x":"https://x.com/PrimeIntellect","github":"https://github.com/PrimeIntellect-ai","linkedin":"https://www.linkedin.com/company/primeintellect-ai"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Join Discord","icon":"discord","href":"https://discord.gg/ZTFydGWPKj"},{"anchor":"Twitter","icon":"twitter","href":"https://twitter.com/PrimeIntellect"},{"anchor":"Blog","icon":"newspaper","href":"https://www.primeintellect.ai/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"primeintellect","hasAudioNarration":false,"actualSubdomain":"primeintellect","customDomains":["docs.primeintellect.ai"],"gitSource":{"type":"github","owner":"primeintellect-ai","repo":"public-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4db19adbc5dcc4d882fc8","collectionId":"e55dd9bc-87f8-48fb-8fb2-bcfd20ed8129","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4db19adbc5dcc4d882fc8"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4db19adbc5dcc4d882fc8","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API","count":118},{"language":"default","tag":"Platform","count":70},{"language":"default","tag":"Libraries","count":20},{"language":"default","tag":"Model Factory","count":18},{"language":"default","tag":"training","count":17},{"language":"default","tag":"Compute","count":16},{"language":"default","tag":"Traces API","count":15},{"language":"default","tag":"Sandboxes","count":13},{"language":"default","tag":"Training","count":12},{"language":"default","tag":"Traces","count":12}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@primeintellect.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/billing/wallet-balance-+-most-recent-billing-rows","slug":"/api-reference/billing/wallet-balance-+-most-recent-billing-rows","pageMetadata":{"title":"Wallet balance + most recent billing rows","description":"Return the wallet's current balance and most recent billing rows.\n\nAll resource types are included (compute, training, inference, traces,\ndisks, sandboxes, images) — same source-of-truth `Billing` table the\ndashboard's Billing History tab reads. Sorted by `lastBilledAt` desc.","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/billing/wallet","href":"/api-reference/billing/wallet-balance-+-most-recent-billing-rows","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Return the wallet’s current balance and most recent billing rows.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"All resource types are included (compute, training, inference, traces,\\ndisks, sandboxes, images) — same source-of-truth \", _jsx(_components.code, {\n children: \"Billing\"\n }), \" table the\\ndashboard’s Billing History tab reads. Sorted by \", _jsx(_components.code, {\n children: \"lastBilledAt\"\n }), \" desc.\"]\n })]\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":"Wallet balance + most recent billing rows","description":"Return the wallet's current balance and most recent billing rows.\n\nAll resource types are included (compute, training, inference, traces,\ndisks, sandboxes, images) — same source-of-truth `Billing` table the\ndashboard's Billing History tab reads. Sorted by `lastBilledAt` desc.","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/billing/wallet","href":"/api-reference/billing/wallet-balance-+-most-recent-billing-rows","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/primeintellect/888b2eb94cd2e0ca/script.js","/_mintlify/custom/primeintellect/e3040f43d72452c7/proxy.js"],"openApiReferenceData":{"operation":{"tags":["Billing"],"summary":"Wallet balance + most recent billing rows","description":"Return the wallet's current balance and most recent billing rows.\n\nAll resource types are included (compute, training, inference, traces,\ndisks, sandboxes, images) — same source-of-truth `Billing` table the\ndashboard's Billing History tab reads. Sorted by `lastBilledAt` desc.","operationId":"get_wallet_api_v1_billing_wallet_get","security":["a873329f-c2d0-4870-b171-e557e6ebbdfd"],"parameters":["5bb2455e-14a2-475c-9771-e22aa7a37ece","1deaf827-935b-435a-af2e-a90fe158ac15","e92dde88-8010-4999-a296-b10edf7ec8af"],"responses":{"200":"94b1610f-1d13-44f3-bf66-75d6fa2b1bec","401":"8c0a41df-8170-42e3-9fa7-4a90268542ee","422":"9c4e29c3-9e03-4ce1-aa03-2784abe50c9e"},"method":"get","type":"path","servers":["a2389e58-7a3e-48a0-97f2-6f8c43e26c51"],"path":"/api/v1/billing/wallet","baseUrlOptions":["https://api.primeintellect.ai"],"title":"Wallet balance + most recent billing rows","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5bb2455e-14a2-475c-9771-e22aa7a37ece":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of recent billing rows to include (max 100).","default":20,"title":"Limit","isRequired":false,"uniqueKey":"","typeLabel":"integer"},"description":"Number of recent billing rows to include (max 100)."},"1deaf827-935b-435a-af2e-a90fe158ac15":{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Skip this many rows before returning. Lets callers page.","default":0,"title":"Offset","isRequired":false,"uniqueKey":"","typeLabel":"integer"},"description":"Skip this many rows before returning. Lets callers page."},"e92dde88-8010-4999-a296-b10edf7ec8af":{"name":"teamId","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Teamid","description":"If provided, return the team's wallet (requires membership).","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Teamid","description":"If provided, return the team's wallet (requires membership).","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"If provided, return the team's wallet (requires membership)."}},"responses":{"94b1610f-1d13-44f3-bf66-75d6fa2b1bec":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"wallet_id":{"type":"string","title":"Wallet Id","isRequired":true,"uniqueKey":"wallet_id","typeLabel":"string"},"balance_usd":{"type":"number","title":"Balance Usd","description":"Current balance in USD","isRequired":true,"uniqueKey":"balance_usd","typeLabel":"number"},"currency":{"type":"string","title":"Currency","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"total_billings":{"type":"integer","title":"Total Billings","description":"Total billing rows on the wallet (across all pages)","isRequired":true,"uniqueKey":"total_billings","typeLabel":"integer"},"recent_billings":{"items":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"recent_billings.items.[INDEX].id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"recent_billings.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"recent_billings.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"amount_usd":{"type":"number","title":"Amount Usd","isRequired":true,"uniqueKey":"recent_billings.items.[INDEX].amount_usd","typeLabel":"number"},"currency":{"type":"string","title":"Currency","isRequired":true,"uniqueKey":"recent_billings.items.[INDEX].currency","typeLabel":"string"},"resource_type":{"type":"string","title":"Resource Type","isRequired":true,"uniqueKey":"recent_billings.items.[INDEX].resource_type","typeLabel":"string"},"last_billed_at":{"oneOf":[{"type":"string","title":"Last Billed At","format":"date-time","uniqueKey":"recent_billings.items.[INDEX].last_billed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Last Billed At","uniqueKey":"recent_billings.items.[INDEX].last_billed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"recent_billings.items.[INDEX].last_billed_at","typeLabel":"string\u003cdate-time> | null"},"resource_id":{"oneOf":[{"type":"string","title":"Resource Id","uniqueKey":"recent_billings.items.[INDEX].resource_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resource Id","uniqueKey":"recent_billings.items.[INDEX].resource_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"recent_billings.items.[INDEX].resource_id","typeLabel":"string | null"},"credits_covered_usd":{"type":"number","title":"Credits Covered Usd","description":"Portion of this billing row covered by credit grants (aggregated over the returned page). The wallet was charged amount_usd - credits_covered_usd.","default":0,"uniqueKey":"recent_billings.items.[INDEX].credits_covered_usd","typeLabel":"number"}},"type":"object","required":["id","created_at","updated_at","amount_usd","currency","resource_type"],"title":"BillingEntry","description":"A single row from the Billing table, with the resource derived from\nwhichever foreign-key column is non-null.\n\n`resource_type` mirrors the strings the dashboard's billing page filters\nby (`compute`, `training`, `inference`, `traces`, `disks`, `sandboxes`,\n`images`).\n`resource_id` is the matching FK value, so callers can drill back into\nthe run / pod / disk / etc. that produced the charge.","uniqueKey":"recent_billings.items.[INDEX]","typeLabel":"BillingEntry · object"},"type":"array","title":"Recent Billings","isRequired":true,"uniqueKey":"recent_billings","typeLabel":"BillingEntry · object[]"},"team_id":{"oneOf":[{"type":"string","title":"Team Id","uniqueKey":"team_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Team Id","uniqueKey":"team_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"team_id","typeLabel":"string | null"},"credit_grants":{"items":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"credit_grants.items.[INDEX].id","typeLabel":"string"},"category":{"type":"string","title":"Category","isRequired":true,"uniqueKey":"credit_grants.items.[INDEX].category","typeLabel":"string"},"amount_usd":{"type":"number","title":"Amount Usd","description":"Original grant amount in USD","isRequired":true,"uniqueKey":"credit_grants.items.[INDEX].amount_usd","typeLabel":"number"},"remaining_usd":{"type":"number","title":"Remaining Usd","description":"Remaining (amount - consumed) in USD, snapshot","isRequired":true,"uniqueKey":"credit_grants.items.[INDEX].remaining_usd","typeLabel":"number"},"currency":{"type":"string","title":"Currency","isRequired":true,"uniqueKey":"credit_grants.items.[INDEX].currency","typeLabel":"string"},"qualifier":{"oneOf":[{"type":"string","title":"Qualifier","uniqueKey":"credit_grants.items.[INDEX].qualifier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Qualifier","uniqueKey":"credit_grants.items.[INDEX].qualifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"credit_grants.items.[INDEX].qualifier","typeLabel":"string | null"},"label":{"oneOf":[{"type":"string","title":"Label","uniqueKey":"credit_grants.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Label","uniqueKey":"credit_grants.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"uniqueKey":"credit_grants.items.[INDEX].label","typeLabel":"string | null"},"expiresAt":{"oneOf":[{"type":"string","title":"Expiresat","format":"date-time","uniqueKey":"credit_grants.items.[INDEX].expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Expiresat","uniqueKey":"credit_grants.items.[INDEX].expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"credit_grants.items.[INDEX].expiresAt","typeLabel":"string\u003cdate-time> | null"},"revokedAt":{"oneOf":[{"type":"string","title":"Revokedat","format":"date-time","uniqueKey":"credit_grants.items.[INDEX].revokedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revokedat","uniqueKey":"credit_grants.items.[INDEX].revokedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"credit_grants.items.[INDEX].revokedAt","typeLabel":"string\u003cdate-time> | null"}},"type":"object","required":["id","category","amount_usd","remaining_usd","currency"],"title":"CreditGrantSummary","description":"A product-scoped credit grant on this wallet (public view).\n\nGrants are consumed before wallet balance for their category and never\ntop up `balance`. `remaining_usd` is a snapshot, not a reservation.\nAdmin/audit fields (source, campaign, issuer, revoke reason) are\ndeliberately not exposed publicly.","uniqueKey":"credit_grants.items.[INDEX]","typeLabel":"CreditGrantSummary · object"},"type":"array","title":"Credit Grants","description":"Active (non-revoked, non-expired, non-exhausted) grants on this wallet","uniqueKey":"credit_grants","typeLabel":"CreditGrantSummary · object[]"},"sandbox_credits_remaining_usd":{"type":"number","title":"Sandbox Credits Remaining Usd","description":"Sum of remaining sandbox-category grant credits in USD, snapshot","default":0,"uniqueKey":"sandbox_credits_remaining_usd","typeLabel":"number"},"credits_remaining_by_category":{"additionalProperties":{"type":"number","uniqueKey":"credits_remaining_by_category.additionalProperties","typeLabel":"number"},"type":"object","title":"Credits Remaining By Category","description":"Remaining grant credits in USD per category (sandboxes, training, inference), snapshot","uniqueKey":"credits_remaining_by_category","typeLabel":"Credits Remaining By Category · object"}},"type":"object","required":["wallet_id","balance_usd","currency","total_billings","recent_billings"],"title":"WalletResponse","description":"Snapshot of a wallet's balance + most recent billing rows.\n\nDrives `prime wallet`. One call returns everything an agent needs to\naudit the billing flow against a known training run. Credit grants are\nlisted separately from `balance_usd`: they are category-scoped free\ncredits consumed before balance, not wallet money.","uniqueKey":"","typeLabel":"WalletResponse · object"},"examples":{"Example":{"title":"Example","value":{"wallet_id":"\u003cstring>","balance_usd":123,"currency":"\u003cstring>","total_billings":123,"recent_billings":[{"id":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","amount_usd":123,"currency":"\u003cstring>","resource_type":"\u003cstring>","last_billed_at":"2023-11-07T05:31:56Z","resource_id":"\u003cstring>","credits_covered_usd":0}],"team_id":"\u003cstring>","credit_grants":[{"id":"\u003cstring>","category":"\u003cstring>","amount_usd":123,"remaining_usd":123,"currency":"\u003cstring>","qualifier":"\u003cstring>","label":"\u003cstring>","expiresAt":"2023-11-07T05:31:56Z","revokedAt":"2023-11-07T05:31:56Z"}],"sandbox_credits_remaining_usd":0,"credits_remaining_by_category":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"8c0a41df-8170-42e3-9fa7-4a90268542ee":{"description":"Authorization failed","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"9c4e29c3-9e03-4ce1-aa03-2784abe50c9e":{"description":"Invalid request data","content":{"application/json":{"schema":{"properties":{"errors":{"items":{"properties":{"param":{"type":"string","title":"Param","isRequired":true,"uniqueKey":"errors.items.[INDEX].param","typeLabel":"string"},"details":{"type":"string","title":"Details","isRequired":true,"uniqueKey":"errors.items.[INDEX].details","typeLabel":"string"}},"type":"object","required":["param","details"],"title":"ErrorDetail","uniqueKey":"errors.items.[INDEX]","typeLabel":"ErrorDetail · object"},"type":"array","title":"Errors","isRequired":true,"uniqueKey":"errors","typeLabel":"ErrorDetail · object[]"}},"type":"object","required":["errors"],"title":"ErrorResponse","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"param":"\u003cstring>","details":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a873329f-c2d0-4870-b171-e557e6ebbdfd":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"a2389e58-7a3e-48a0-97f2-6f8c43e26c51":{"url":"https://api.primeintellect.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"},"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":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"https://api.primeintellect.ai/openapi.json"},"subdomain":"primeintellect","siteName":"Prime Intellect Docs","title":"Wallet balance + most recent billing rows - Prime Intellect Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T15:50:33.481Z","originalFileLocation":"api-reference/billing/wallet-balance-+-most-recent-billing-rows.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=\"Return the wallet\u0026#x27;s current balance and most recent billing rows. All resource types are included (compute, training, inference, traces, disks, sandboxes, images) — same source-of-truth Billing table the dashboard\u0026#x27;s Billing History tab reads. Sorted by lastBilledAt desc.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Prime Intellect Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/primeintellect/Kk6EAHv3Qhta4r9y/_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/primeintellect/Kk6EAHv3Qhta4r9y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/primeintellect/Kk6EAHv3Qhta4r9y/_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/primeintellect/Kk6EAHv3Qhta4r9y/_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/primeintellect/Kk6EAHv3Qhta4r9y/_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/primeintellect/Kk6EAHv3Qhta4r9y/_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/primeintellect/Kk6EAHv3Qhta4r9y/_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/primeintellect/Kk6EAHv3Qhta4r9y/_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/primeintellect/Kk6EAHv3Qhta4r9y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Wallet balance + most recent billing rows - Prime Intellect Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Return the wallet\u0026#x27;s current balance and most recent billing rows. All resource types are included (compute, training, inference, traces, disks, sandboxes, images) — same source-of-truth Billing table the dashboard\u0026#x27;s Billing History tab reads. Sorted by lastBilledAt desc.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Prime Intellect Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://primeintellect.mintlify.app/_mintlify/api/og/v2?division=Billing\u0026amp;title=Wallet+balance+%2B+most+recent+billing+rows\u0026amp;description=Return+the+wallet%27s+current+balance+and+most+recent+billing+rows.%0A%0AAll+resource+types+are+included+%28compute%2C+training%2C+inference%2C+traces%2C%0Adisks%2C+sandboxes%2C+imag\u0026amp;theme=6d7a5e449203cf606ab9cc22\u0026amp;signature=ce60a30eff87e144a7fdbdfe1c72d409a2ec9a77433e0b3e7bfae14da5c03a4a\">\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=\"Wallet balance + most recent billing rows - Prime Intellect Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Return the wallet\u0026#x27;s current balance and most recent billing rows. All resource types are included (compute, training, inference, traces, disks, sandboxes, images) — same source-of-truth Billing table the dashboard\u0026#x27;s Billing History tab reads. Sorted by lastBilledAt desc.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://primeintellect.mintlify.app/_mintlify/api/og/v2?division=Billing\u0026amp;title=Wallet+balance+%2B+most+recent+billing+rows\u0026amp;description=Return+the+wallet%27s+current+balance+and+most+recent+billing+rows.%0A%0AAll+resource+types+are+included+%28compute%2C+training%2C+inference%2C+traces%2C%0Adisks%2C+sandboxes%2C+imag\u0026amp;theme=6d7a5e449203cf606ab9cc22\u0026amp;signature=ce60a30eff87e144a7fdbdfe1c72d409a2ec9a77433e0b3e7bfae14da5c03a4a\">\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/primeintellect/Kk6EAHv3Qhta4r9y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Prime Intellect Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9946FC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows\">\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/wallet-balance-%2B-most-recent-billing-rows.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.primeintellect.ai/#organization\",\"name\":\"Prime Intellect Docs\",\"url\":\"https://docs.primeintellect.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/primeintellect/X3F2tnEstSGMOi8f/logo/logo-dark-font.svg?fit=max\u0026auto=format\u0026n=X3F2tnEstSGMOi8f\u0026q=85\u0026s=4530d2da1baa9b91284a28d341a96d41\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.primeintellect.ai#website\",\"name\":\"Prime Intellect Docs\",\"url\":\"https://docs.primeintellect.ai\",\"publisher\":{\"@id\":\"https://docs.primeintellect.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows#webpage\",\"url\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows\",\"name\":\"Wallet balance + most recent billing rows\",\"description\":\"Return the wallet's current balance and most recent billing rows. All resource types are included (compute, training, inference, traces, disks, sandboxes, images) — same source-of-truth Billing table the dashboard's Billing History tab reads. Sorted by lastBilledAt desc.\",\"dateModified\":\"2026-10-30T15:50:33.481Z\",\"isPartOf\":{\"@id\":\"https://docs.primeintellect.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Billing\",\"item\":\"https://docs.primeintellect.ai/api-reference/billing/token-usage-and-cost-for-a-single-rft-run\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wallet balance + most recent billing rows\",\"item\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows#apireference\",\"headline\":\"Wallet balance + most recent billing rows\",\"name\":\"Wallet balance + most recent billing rows\",\"description\":\"Return the wallet's current balance and most recent billing rows. All resource types are included (compute, training, inference, traces, disks, sandboxes, images) — same source-of-truth Billing table the dashboard's Billing History tab reads. Sorted by lastBilledAt desc.\",\"url\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows\",\"mainEntityOfPage\":{\"@id\":\"https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows#webpage\"},\"dateModified\":\"2026-10-30T15:50:33.481Z\",\"publisher\":{\"@id\":\"https://docs.primeintellect.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.primeintellect.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Prime Intellect Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Prime Intellect Docs","nav":{"global":{"anchors":[{"anchor":"Join Discord","icon":"discord","href":"https://discord.gg/ZTFydGWPKj"},{"anchor":"Twitter","icon":"twitter","href":"https://twitter.com/PrimeIntellect"},{"anchor":"Blog","icon":"newspaper","href":"https://www.primeintellect.ai/blog"}]},"tabs":[{"tab":"Platform","pages":[{"title":"Platform","href":"/introduction"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API","groups":[{"group":"API Documentation","pages":[{"title":"API Overview","icon":"folder-tree","href":"/api-reference/introduction"},{"title":"API keys","icon":"key","href":"/api-reference/api-keys"}]},{"group":"Compute API","pages":[{"title":"Get Availability Information","icon":"magnifying-glass","href":"/api-reference/check-gpu-availability"},{"title":"Provision Instance","icon":"rocket","href":"/api-reference/provision-gpu"},{"title":"Managing Pods","icon":"list-check","href":"/api-reference/managing-pods"},{"title":"Managing Disks","icon":"hard-drive","href":"/api-reference/managing-disks"},{"title":"Teams","icon":"users","href":"/api-reference/teams"}]},{"group":"Inference API","pages":[{"title":"Models API","icon":"brain-circuit","href":"/api-reference/inference-models"},{"title":"Chat Completions API","icon":"messages","href":"/api-reference/inference-chat-completions"},{"title":"Evaluations API","icon":"list-check","href":"/api-reference/inference-evaluations"}]},{"group":"Traces API","pages":[{"group":"Traces","pages":[{"title":"List traces","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/traces","href":"/api-reference/traces/traces/list-traces"},{"title":"Delete a run's traces","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json delete /api/v1/traces","href":"/api-reference/traces/traces/delete-a-runs-traces"},{"title":"Get a trace","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/traces/{trace_id}","href":"/api-reference/traces/traces/get-a-trace"},{"title":"Delete a trace","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json delete /api/v1/traces/{trace_id}","href":"/api-reference/traces/traces/delete-a-trace"},{"title":"List trace nodes","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/traces/{trace_id}/nodes","href":"/api-reference/traces/traces/list-trace-nodes"},{"title":"List trace model calls","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/traces/{trace_id}/calls","href":"/api-reference/traces/traces/list-trace-model-calls"},{"title":"Get a trace's timeline","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/traces/{trace_id}/timeline","href":"/api-reference/traces/traces/get-a-traces-timeline"}]},{"group":"Ingestion","pages":[{"title":"Upload traces","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json post /api/v1/traces","href":"/api-reference/traces/ingestion/upload-traces"}]},{"group":"Episodes","pages":[{"title":"List episodes","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/episodes","href":"/api-reference/traces/episodes/list-episodes"},{"title":"Get an episode","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/episodes/{episode_id}","href":"/api-reference/traces/episodes/get-an-episode"},{"title":"List episode traces","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/episodes/{episode_id}/traces","href":"/api-reference/traces/episodes/list-episode-traces"}]},{"group":"Runs","pages":[{"title":"List runs","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/runs","href":"/api-reference/traces/runs/list-runs"},{"title":"Get a run","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/runs/{run_id}","href":"/api-reference/traces/runs/get-a-run"},{"title":"List run steps","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/runs/{run_id}/steps","href":"/api-reference/traces/runs/list-run-steps"},{"title":"Search a run","deprecated":null,"version":null,"openapi":"https://prime-traces.pintel.dev/openapi.json get /api/v1/runs/{run_id}/search","href":"/api-reference/traces/runs/search-a-run"}]}]},{"group":"Availability","pages":[{"title":"Get Legacygpu Availability","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/availability/","href":"/api-reference/availability/get-legacygpu-availability"},{"title":"Get Legacy Cluster Availability","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/availability/clusters","href":"/api-reference/availability/get-legacy-cluster-availability"},{"title":"Get Disks Availability","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/availability/disks","href":"/api-reference/availability/get-disks-availability"},{"title":"Get Gpu Summary","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/availability/gpu-summary","href":"/api-reference/availability/get-gpu-summary"},{"title":"Get Gpu Availability","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/availability/gpus","href":"/api-reference/availability/get-gpu-availability"},{"title":"Get Multinode Availability","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/availability/multi-node","href":"/api-reference/availability/get-multinode-availability"},{"title":"Get Multinode Summary","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/availability/multi-node-summary","href":"/api-reference/availability/get-multinode-summary"}]},{"group":"Billing","pages":[{"title":"Token usage and cost for a single RFT run","description":"Return the running token + cost totals for one RFT run.\n\nMirrors the per-row training data shown on the billing page (Training\ntokens, Inference input/output tokens, price per million tokens, and\ntotal cost) so an agent can poll this endpoint to monitor a live run.","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/billing/runs/{run_id}/usage","href":"/api-reference/billing/token-usage-and-cost-for-a-single-rft-run"},{"title":"Wallet balance + most recent billing rows","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/billing/wallet","href":"/api-reference/billing/wallet-balance-+-most-recent-billing-rows"}]},{"group":"Disks","pages":[{"title":"List Disks","description":null,"deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/disks/","href":"/api-reference/disks/list-disks"},{"title":"Create Disk","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/disks/","href":"/api-reference/disks/create-disk"},{"title":"Get Disk","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/disks/{disk_id}","href":"/api-reference/disks/get-disk"},{"title":"Delete Disk","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/disks/{disk_id}","href":"/api-reference/disks/delete-disk"},{"title":"Update Disk","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json patch /api/v1/disks/{disk_id}","href":"/api-reference/disks/update-disk"}]},{"group":"evals","pages":[{"title":"List Evaluations","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/evaluations/","href":"/api-reference/evals/list-evaluations"},{"title":"Create Evaluation","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/evaluations/","href":"/api-reference/evals/create-evaluation"},{"title":"Bulk Delete Evaluations","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/evaluations/bulk-delete","href":"/api-reference/evals/bulk-delete-evaluations"},{"title":"Get Evaluation","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/evaluations/{evaluation_id}","href":"/api-reference/evals/get-evaluation"},{"title":"Update Evaluation","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json put /api/v1/evaluations/{evaluation_id}","href":"/api-reference/evals/update-evaluation"},{"title":"Delete Evaluation","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/evaluations/{evaluation_id}","href":"/api-reference/evals/delete-evaluation"},{"title":"Finalize Evaluation","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/evaluations/{evaluation_id}/finalize","href":"/api-reference/evals/finalize-evaluation"},{"title":"Get Samples","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/evaluations/{evaluation_id}/samples","href":"/api-reference/evals/get-samples"},{"title":"Push Samples","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/evaluations/{evaluation_id}/samples","href":"/api-reference/evals/push-samples"}]},{"group":"factory","pages":[{"title":"Get Factory Nodes","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/factory/nodes","href":"/api-reference/factory/get-factory-nodes"},{"title":"Get Factory Status","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/factory/status","href":"/api-reference/factory/get-factory-status"},{"title":"Get Factory Utilization","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/factory/utilization","href":"/api-reference/factory/get-factory-utilization"},{"title":"Get Factory Workloads","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/factory/workloads","href":"/api-reference/factory/get-factory-workloads"}]},{"group":"Feedback","pages":[{"title":"Submit Feedback","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/feedback","href":"/api-reference/feedback/submit-feedback"}]},{"group":"hosted-evaluations","pages":[{"title":"Create Hosted Evaluation","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/hosted-evaluations","href":"/api-reference/hosted-evaluations/create-hosted-evaluation"},{"title":"Get Inference Models","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/hosted-evaluations/models","href":"/api-reference/hosted-evaluations/get-inference-models"},{"title":"Cancel Hosted Evaluation Route","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json patch /api/v1/hosted-evaluations/{evaluation_id}/cancel","href":"/api-reference/hosted-evaluations/cancel-hosted-evaluation-route"},{"title":"Get Hosted Evaluation Logs Route","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/hosted-evaluations/{evaluation_id}/logs","href":"/api-reference/hosted-evaluations/get-hosted-evaluation-logs-route"},{"title":"Upload Hosted Evaluation Logs Route","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json put /api/v1/hosted-evaluations/{evaluation_id}/logs","href":"/api-reference/hosted-evaluations/upload-hosted-evaluation-logs-route"}]},{"group":"Images","pages":[{"title":"List User Images","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/images","href":"/api-reference/images/list-user-images"},{"title":"Update Images","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json patch /api/v1/images","href":"/api-reference/images/update-images"},{"title":"Initiate Image Build","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/images/build","href":"/api-reference/images/initiate-image-build"},{"title":"Get Build Status","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/images/build/{build_id}","href":"/api-reference/images/get-build-status"},{"title":"Start Image Build","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/images/build/{build_id}/start","href":"/api-reference/images/start-image-build"},{"title":"List Image Builds","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/images/builds","href":"/api-reference/images/list-image-builds"},{"title":"Delete User Image","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/images/{image_name}/{image_tag}","href":"/api-reference/images/delete-user-image"}]},{"group":"metrics","pages":[{"title":"Ingest Metrics","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/metrics","href":"/api-reference/metrics/ingest-metrics"}]},{"group":"Pods","pages":[{"title":"Get Pods","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/pods/","href":"/api-reference/pods/get-pods"},{"title":"Create Pod","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/pods/","href":"/api-reference/pods/create-pod"},{"title":"Get Pods History","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/pods/history","href":"/api-reference/pods/get-pods-history"},{"title":"Get Pods Status","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/pods/status","href":"/api-reference/pods/get-pods-status"},{"title":"Get Pod","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/pods/{pod_id}","href":"/api-reference/pods/get-pod"},{"title":"Delete Pod","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/pods/{pod_id}","href":"/api-reference/pods/delete-pod"},{"title":"Get Pod Logs Api","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/pods/{pod_id}/log","href":"/api-reference/pods/get-pod-logs-api"}]},{"group":"Secrets","pages":[{"title":"List Secrets","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/secrets/","href":"/api-reference/secrets/list-secrets"},{"title":"Create Secret","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/secrets/","href":"/api-reference/secrets/create-secret"},{"title":"Get Secret","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/secrets/{secret_id}","href":"/api-reference/secrets/get-secret"},{"title":"Delete Secret","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/secrets/{secret_id}","href":"/api-reference/secrets/delete-secret"},{"title":"Update Secret","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json patch /api/v1/secrets/{secret_id}","href":"/api-reference/secrets/update-secret"}]},{"group":"slurm-clusters","pages":[{"title":"Get Connection Info","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/slurm-clusters/{cluster_id}/connection","href":"/api-reference/slurm-clusters/get-connection-info"},{"title":"List Clusters","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/slurm-clusters/{team_id}","href":"/api-reference/slurm-clusters/list-clusters"},{"title":"Deploy Cluster","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/slurm-clusters/{team_id}/deploy","href":"/api-reference/slurm-clusters/deploy-cluster"},{"title":"List Members","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/slurm-clusters/{team_id}/{job_id}/members","href":"/api-reference/slurm-clusters/list-members"},{"title":"Add Member","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/slurm-clusters/{team_id}/{job_id}/members","href":"/api-reference/slurm-clusters/add-member"},{"title":"Remove Member","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/slurm-clusters/{team_id}/{job_id}/members/{username}","href":"/api-reference/slurm-clusters/remove-member"},{"title":"Resize Cluster","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/slurm-clusters/{team_id}/{job_id}/resize","href":"/api-reference/slurm-clusters/resize-cluster"}]},{"group":"SSH Keys","pages":[{"title":"Get Ssh Keys","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/ssh_keys/","href":"/api-reference/ssh-keys/get-ssh-keys"},{"title":"Upload Ssh Key","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/ssh_keys/","href":"/api-reference/ssh-keys/upload-ssh-key"},{"title":"Delete Ssh Key","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/ssh_keys/{key_id}","href":"/api-reference/ssh-keys/delete-ssh-key"},{"title":"Set Primary Key","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json patch /api/v1/ssh_keys/{key_id}","href":"/api-reference/ssh-keys/set-primary-key"}]},{"group":"teams","pages":[{"title":"List Team Members","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/teams/{team_id}/members","href":"/api-reference/teams/list-team-members"}]},{"group":"API Keys","pages":[{"title":"List Tokens","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/tokens/","href":"/api-reference/api-keys/list-tokens"},{"title":"Delete Token","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/tokens/{token_id}","href":"/api-reference/api-keys/delete-token"},{"title":"Disable Token","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/tokens/{token_id}/disable","href":"/api-reference/api-keys/disable-token"}]},{"group":"training","pages":[{"title":"Get Available Fft Models","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/training/available-fft-models","href":"/api-reference/training/get-available-fft-models"},{"title":"Get Available Gpu Types","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/training/available-gpu-types","href":"/api-reference/training/get-available-gpu-types"},{"title":"Create Dedicated Run","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/runs","href":"/api-reference/training/create-dedicated-run"},{"title":"Prepare Local Validation","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/runs/prepare","href":"/api-reference/training/prepare-local-validation"},{"title":"Delete Dedicated Run","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/training/runs/{run_id}","href":"/api-reference/training/delete-dedicated-run"},{"title":"Pause Dedicated Run","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/runs/{run_id}/pause","href":"/api-reference/training/pause-dedicated-run"},{"title":"Resume Dedicated Run","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/runs/{run_id}/resume","href":"/api-reference/training/resume-dedicated-run"},{"title":"List Volumes","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/training/volumes","href":"/api-reference/training/list-volumes"},{"title":"Create Volume","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/volumes","href":"/api-reference/training/create-volume"},{"title":"Delete Volume","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/training/volumes/{name}","href":"/api-reference/training/delete-volume"},{"title":"Expand Volume","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json patch /api/v1/training/volumes/{name}","href":"/api-reference/training/expand-volume"},{"title":"List Volume Sessions","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/training/volumes/{name}/sessions","href":"/api-reference/training/list-volume-sessions"},{"title":"Create Volume Session","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/volumes/{name}/sessions","href":"/api-reference/training/create-volume-session"},{"title":"Get Volume Session","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/training/volumes/{name}/sessions/{session_id}","href":"/api-reference/training/get-volume-session"},{"title":"Stop Volume Session","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/training/volumes/{name}/sessions/{session_id}","href":"/api-reference/training/stop-volume-session"},{"title":"Volume Transfer","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/volumes/{name}/transfer","href":"/api-reference/training/volume-transfer"},{"title":"Volume Transfer Release","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/training/volumes/{name}/transfer/release","href":"/api-reference/training/volume-transfer-release"}]},{"group":"Tunnel","pages":[{"title":"List Tunnels Endpoint","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/tunnel","href":"/api-reference/tunnel/list-tunnels-endpoint"},{"title":"Create Tunnel Endpoint","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json post /api/v1/tunnel","href":"/api-reference/tunnel/create-tunnel-endpoint"},{"title":"Bulk Delete Tunnels Endpoint","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/tunnel","href":"/api-reference/tunnel/bulk-delete-tunnels-endpoint"},{"title":"Get Tunnel Status Endpoint","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/tunnel/{tunnel_id}","href":"/api-reference/tunnel/get-tunnel-status-endpoint"},{"title":"Delete Tunnel Endpoint","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json delete /api/v1/tunnel/{tunnel_id}","href":"/api-reference/tunnel/delete-tunnel-endpoint"}]},{"group":"user","pages":[{"title":"Set Username Slug","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json patch /api/v1/user/slug","href":"/api-reference/user/set-username-slug"},{"title":"List My Teams","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/user/teams","href":"/api-reference/user/list-my-teams"},{"title":"Get Whoami","deprecated":null,"version":null,"openapi":"https://api.primeintellect.ai/openapi.json get /api/v1/user/whoami","href":"/api-reference/user/get-whoami"}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli-reference/introduction"}]}]},"basePath":"","title":"Wallet balance + most recent billing rows - Prime Intellect Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}