Returns one entry per credit charge, newest first. Every workflow run, agent turn, copilot request, and MCP tool call that consumed credits appears here.Unlike operation logs, the credit ledger is not truncated by your plan. Your full history is available so you can reconcile against invoices.
Endpoint
GET /v1/credits/logs
Query Parameters
Parameter
Type
Required
Description
service_type
string
No
Filter by what was charged: workflow, agent, copilot, or mcp.
service_id
string
No
Charges from one workflow, conversation, or MCP server. Use this for per-client cost allocation.
user_id
string
No
Charges triggered by one team member.
created_after
integer
No
Only charges at or after this Unix second.
created_before
integer
No
Only charges at or before this Unix second.
limit
integer
No
Entries per page, 1 to 1000. Defaults to 25. Ledger entries carry no payloads, so the ceiling here is higher than on other resources.
Balance immediately after the charge. See the caveat below.
service
object
What was charged. See below.
user
object
The team member who triggered it, with id and email. Both can be null for system-triggered runs.
created_at
integer
Charge time in Unix seconds.
Service Object
Field
Type
Description
type
string
workflow, agent, copilot, or mcp.
id
string
The workflow, conversation, or MCP server charged. Matches source.id in operation logs.
name
string
The name at the time of the charge, not the current name. A renamed workflow keeps its old name on historical entries, which is what you want when reconciling a past invoice.
credits_remaining is a point-in-time snapshot, not a running total you can reproduce by summing credits_used.The ledger records consumption only. When a billing period renews, your balance resets without writing an entry, so two consecutive entries can show the balance jumping upward. Use Get credit balance for the current figure rather than deriving it from the ledger.
Pagination
Identical to operation logs: read next_cursor and pass it back as cursor. Keep every other parameter unchanged while paging, and treat the cursor as opaque.
Cost Allocation Example
To total what one workflow cost over a period, filter by its service_id and sum:
Page through with next_cursor until has_more is false to cover the whole range. Use limit=1000 when exporting: a full page is only around 265 KB, so a year of history is a handful of requests rather than hundreds.
Credit charges do not map one-to-one onto operation logs. A single workflow run produces one operation log per node but a single credit entry, and agent and copilot usage is charged at the conversation level. Treat this ledger as the authoritative record of what you were charged.
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
service_type
enum<string>
Filter by what was charged.
Available options:
workflow,
agent,
copilot,
mcp
service_id
string
Charges from one workflow, conversation, or MCP server.
user_id
string
Charges triggered by one team member.
created_after
integer<int64>
Only charges at or after this Unix second.
Required range: x >= 0
created_before
integer<int64>
Only charges at or before this Unix second.
Required range: x >= 0
limit
integer
default:25
Entries per page. The ceiling is higher than on other resources because ledger entries carry no payloads.
Required range: 1 <= x <= 1000
cursor
string
The next_cursor from the previous page. Keep every other filter unchanged while paging.
Response
Credit logs returned.
data
object[]
required
Show child attributes
has_more
boolean
required
Whether more entries match beyond this page.
next_cursor
string | null
Pass back as cursor to fetch the next page. Null on the last page.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Markifact","colors":{"primary":"#1374FF","light":"#1374FF","dark":"#1374FF"},"logo":{"light":"https://mintcdn.com/markifact/s418riJ1kIvXeqdE/logo/light.png?fit=max\u0026auto=format\u0026n=s418riJ1kIvXeqdE\u0026q=85\u0026s=97a0d799b6dd0f43778a389425cf0213","dark":"https://mintcdn.com/markifact/s418riJ1kIvXeqdE/logo/dark.png?fit=max\u0026auto=format\u0026n=s418riJ1kIvXeqdE\u0026q=85\u0026s=bebd2a4899640adec9102bc2f6dd85ec"},"favicon":"https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/favicon.ico?fit=max\u0026auto=format\u0026n=Ljk8anYBzOzZ898C\u0026q=85\u0026s=2402591c302780d9642e9e5dcf964340","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://www.markifact.com/auth/signin","label":"Log In"}],"primary":{"type":"button","label":"App","href":"https://markifact.com/"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/markifact","twitter":"https://twitter.com/markifactcom","youtube":"https://www.youtube.com/@markifactcom"}},"seo":{"metatags":{"og:site_name":"Markifact","og:image":"/images/og-image.webp","canonical":"https://docs.markifact.com"}},"styling":{"codeblocks":"dark","latex":true},"integrations":{"gtm":{"tagId":"GTM-MDGV4NFS"}},"contextual":{"options":["copy","view"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Contact Support","icon":"heart","href":"https://www.markifact.com/app/contact-us"},{"anchor":"Changelog","icon":"clock","href":"https://www.markifact.com/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"markifact","hasAudioNarration":false,"actualSubdomain":"markifact","customDomains":["docs.markifact.com"],"gitSource":{"type":"github","owner":"ahmed-3li","repo":"markifact-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b06ac51363f5aed72309f29","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Documentation","count":1279},{"language":"default","tag":"Operations","count":1255},{"language":"default","tag":"Google Tag Manager","count":98},{"language":"default","tag":"Meta Ads","count":98},{"language":"default","tag":"Microsoft Ads","count":98},{"language":"default","tag":"Google Ads","count":71},{"language":"default","tag":"X Ads","count":63},{"language":"default","tag":"Snapchat Ads","count":54},{"language":"default","tag":"DV360","count":53},{"language":"default","tag":"LinkedIn Ads","count":51}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/credits/list-credit-logs","slug":"/api-reference/credits/list-credit-logs","pageMetadata":{"title":"List credit logs","description":"Read your Markifact team's credit ledger: every charge, what caused it, and who ran it.","openapi":"GET /v1/credits/logs","href":"/api-reference/credits/list-credit-logs"},"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: \"Read your Markifact team’s credit ledger: every charge, what caused it, and who ran it.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns one entry per credit charge, newest first. Every workflow run, agent turn, copilot request, and MCP tool call that consumed credits appears here.`}),`\n`,_jsxs(_components.p,{children:[`Unlike `,_jsx(_components.a,{href:`/api-reference/logs/list-logs`,children:`operation logs`}),`, the credit ledger is `,_jsx(_components.strong,{children:`not truncated by your plan`}),`. Your full history is available so you can reconcile against invoices.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/credits/logs`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filter by what was charged: `,_jsx(_components.code,{children:`workflow`}),`, `,_jsx(_components.code,{children:`agent`}),`, `,_jsx(_components.code,{children:`copilot`}),`, or `,_jsx(_components.code,{children:`mcp`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Charges from one workflow, conversation, or MCP server. Use this for per-client cost allocation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Charges triggered by one team member.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_after`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Only charges at or after this Unix second.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_before`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Only charges at or before this Unix second.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limit`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Entries per page, 1 to 1000. Defaults to 25. Ledger entries carry no payloads, so the ceiling here is higher than on other resources.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cursor`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`next_cursor`}),` from the previous page.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.markifact.com/v1/credits/logs?service_type=workflow\u0026limit=25\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`7934`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_used\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_remaining\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`6389`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"service\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"workflow\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"bcd0e853-dd0c-4347-bd35-b86148cf2c96\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Meta Ads Upload\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Q8Wvn9gL8GUQ11SsJAnMfiyyGOA2\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"member@example.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`1784874205`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"has_more\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_cursor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"eyJzIjoxNzg0ODc0MjA1LCJpIjo3OTM0fQ\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`credit-log-object`,children:`Credit Log Object`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Ledger entry ID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`credits_used`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Credits this charge consumed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`credits_remaining`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Balance immediately after the charge. See the caveat below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`What was charged. See below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`The team member who triggered it, with `,_jsx(_components.code,{children:`id`}),` and `,_jsx(_components.code,{children:`email`}),`. Both can be null for system-triggered runs.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_at`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Charge time in Unix seconds.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`service-object`,children:`Service Object`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workflow`}),`, `,_jsx(_components.code,{children:`agent`}),`, `,_jsx(_components.code,{children:`copilot`}),`, or `,_jsx(_components.code,{children:`mcp`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The workflow, conversation, or MCP server charged. Matches `,_jsx(_components.code,{children:`source.id`}),` in `,_jsx(_components.a,{href:`/api-reference/logs/list-logs`,children:`operation logs`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The name `,_jsx(_components.strong,{children:`at the time of the charge`}),`, not the current name. A renamed workflow keeps its old name on historical entries, which is what you want when reconciling a past invoice.`]})]})]})]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`credits_remaining`}),` is a point-in-time snapshot, not a running total you can reproduce by summing `,_jsx(_components.code,{children:`credits_used`}),`.`]}),_jsxs(_components.p,{children:[`The ledger records `,_jsx(_components.strong,{children:`consumption only`}),`. When a billing period renews, your balance resets without writing an entry, so two consecutive entries can show the balance jumping upward. Use `,_jsx(_components.a,{href:`/api-reference/credits/get-balance`,children:`Get credit balance`}),` for the current figure rather than deriving it from the ledger.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`pagination`,children:`Pagination`}),`\n`,_jsxs(_components.p,{children:[`Identical to `,_jsx(_components.a,{href:`/api-reference/logs/list-logs#pagination`,children:`operation logs`}),`: read `,_jsx(_components.code,{children:`next_cursor`}),` and pass it back as `,_jsx(_components.code,{children:`cursor`}),`. Keep every other parameter unchanged while paging, and treat the cursor as opaque.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cost-allocation-example`,children:`Cost Allocation Example`}),`\n`,_jsxs(_components.p,{children:[`To total what one workflow cost over a period, filter by its `,_jsx(_components.code,{children:`service_id`}),` and sum:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.markifact.com/v1/credits/logs?service_id=bcd0e853-dd0c-4347-bd35-b86148cf2c96\u0026created_after=1782000000\u0026limit=1000\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`jq`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '[.data[].credits_used] | add'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Page through with `,_jsx(_components.code,{children:`next_cursor`}),` until `,_jsx(_components.code,{children:`has_more`}),` is `,_jsx(_components.code,{children:`false`}),` to cover the whole range. Use `,_jsx(_components.code,{children:`limit=1000`}),` when exporting: a full page is only around 265 KB, so a year of history is a handful of requests rather than hundreds.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Credit charges do not map one-to-one onto operation logs. A single workflow run produces one operation log per node but a single credit entry, and agent and copilot usage is charged at the conversation level. Treat this ledger as the authoritative record of what you were charged.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"List credit logs","description":"Read your Markifact team's credit ledger: every charge, what caused it, and who ran it.","openapi":"GET /v1/credits/logs","href":"/api-reference/credits/list-credit-logs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Credit Log Object","slug":"credit-log-object","depth":2,"children":[{"title":"Service Object","slug":"service-object","depth":3,"children":[]}]},{"title":"Pagination","slug":"pagination","depth":2,"children":[]},{"title":"Cost Allocation Example","slug":"cost-allocation-example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/markifact/3685bc415eb86d32/chatbase.js"],"openApiReferenceData":{"operation":{"operationId":"listCreditLogs","summary":"List credit logs","description":"Read your Markifact team's credit ledger: every charge, what caused it, and who ran it.","tags":["Credits"],"parameters":["36f7f414-a1e5-4bd9-b619-f96352e88d9b","587aad0d-4276-43ba-b187-87521e91adf7","8ff639a5-ac59-4196-8ee1-3ab01e039b89","0cd0419a-0509-40cd-b821-3e65718c174e","615efc6b-fe12-4fcd-9320-2a5d471a106b","2b00f1e4-7d8d-4620-ba4c-f77be4cfb5b1","dbc5e3ad-4f81-4687-8c3b-907403299a22"],"responses":{"200":"a8006482-f1e4-4e36-9a33-101fad4a1ba6","400":"495f7209-d419-4a47-a43b-1425bb21c653","401":"c1c1a0fb-e481-4c65-a641-dbf40b754c51"},"method":"get","type":"path","servers":["f57092d7-b197-440e-9fca-7df546756ae9"],"security":["c8564385-cff3-4bb0-9dde-2883723f4b64"],"path":"/v1/credits/logs","baseUrlOptions":["https://api.markifact.com"],"title":"List credit logs","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"36f7f414-a1e5-4bd9-b619-f96352e88d9b":{"name":"service_type","in":"query","required":false,"schema":{"type":"string","enum":["workflow","agent","copilot","mcp"],"isRequired":false,"description":"Filter by what was charged.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Filter by what was charged."},"587aad0d-4276-43ba-b187-87521e91adf7":{"name":"service_id","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"Charges from one workflow, conversation, or MCP server.","uniqueKey":"","typeLabel":"string"},"description":"Charges from one workflow, conversation, or MCP server."},"8ff639a5-ac59-4196-8ee1-3ab01e039b89":{"name":"user_id","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"Charges triggered by one team member.","uniqueKey":"","typeLabel":"string"},"description":"Charges triggered by one team member."},"0cd0419a-0509-40cd-b821-3e65718c174e":{"name":"created_after","in":"query","required":false,"schema":{"type":"integer","format":"int64","minimum":0,"isRequired":false,"description":"Only charges at or after this Unix second.","uniqueKey":"","typeLabel":"integer\u003cint64>"},"description":"Only charges at or after this Unix second."},"615efc6b-fe12-4fcd-9320-2a5d471a106b":{"name":"created_before","in":"query","required":false,"schema":{"type":"integer","format":"int64","minimum":0,"isRequired":false,"description":"Only charges at or before this Unix second.","uniqueKey":"","typeLabel":"integer\u003cint64>"},"description":"Only charges at or before this Unix second."},"2b00f1e4-7d8d-4620-ba4c-f77be4cfb5b1":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"default":25,"isRequired":false,"description":"Entries per page. The ceiling is higher than on other resources because ledger entries carry no payloads.","uniqueKey":"","typeLabel":"integer"},"description":"Entries per page. The ceiling is higher than on other resources because ledger entries carry no payloads."},"dbc5e3ad-4f81-4687-8c3b-907403299a22":{"name":"cursor","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"The next_cursor from the previous page. Keep every other filter unchanged while paging.","uniqueKey":"","typeLabel":"string"},"description":"The next_cursor from the previous page. Keep every other filter unchanged while paging."}},"responses":{"a8006482-f1e4-4e36-9a33-101fad4a1ba6":{"description":"Credit logs returned.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"Ledger entry ID.","isRequired":true,"uniqueKey":"data.items.[INDEX].id","typeLabel":"integer"},"credits_used":{"type":"integer","description":"Credits this charge consumed.","isRequired":true,"uniqueKey":"data.items.[INDEX].credits_used","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"Balance immediately after this charge. A snapshot, not a running total: renewals reset the balance without writing an entry.","isRequired":true,"uniqueKey":"data.items.[INDEX].credits_remaining","typeLabel":"integer"},"service":{"type":"object","properties":{"type":{"type":"string","enum":["workflow","agent","copilot","mcp"],"description":"What was charged.","isRequired":true,"uniqueKey":"data.items.[INDEX].service.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"type":"string","description":"The workflow, conversation, or MCP server charged. Matches source.id on operation logs.","uniqueKey":"data.items.[INDEX].service.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The workflow, conversation, or MCP server charged. Matches source.id on operation logs.","uniqueKey":"data.items.[INDEX].service.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].service.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name at the time of the charge, not the parent's current name.","uniqueKey":"data.items.[INDEX].service.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name at the time of the charge, not the parent's current name.","uniqueKey":"data.items.[INDEX].service.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].service.name","typeLabel":"string | null"}},"required":["type"],"isRequired":true,"uniqueKey":"data.items.[INDEX].service","typeLabel":"object"},"user":{"type":"object","properties":{"id":{"oneOf":[{"type":"string","description":"Markifact user ID.","uniqueKey":"data.items.[INDEX].user.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Markifact user ID.","uniqueKey":"data.items.[INDEX].user.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].user.id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","description":"Email of the team member who ran the operation.","uniqueKey":"data.items.[INDEX].user.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email of the team member who ran the operation.","uniqueKey":"data.items.[INDEX].user.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].user.email","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].user","typeLabel":"object"},"created_at":{"type":"integer","format":"int64","example":1784874205,"description":"Charge time in Unix seconds.","isRequired":true,"uniqueKey":"data.items.[INDEX].created_at","typeLabel":"integer\u003cint64>"}},"required":["id","credits_used","credits_remaining","service","user","created_at"],"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"has_more":{"type":"boolean","description":"Whether more entries match beyond this page.","isRequired":true,"uniqueKey":"has_more","typeLabel":"boolean"},"next_cursor":{"oneOf":[{"type":"string","description":"Pass back as `cursor` to fetch the next page. Null on the last page.","uniqueKey":"next_cursor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Pass back as `cursor` to fetch the next page. Null on the last page.","uniqueKey":"next_cursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_cursor","typeLabel":"string | null"}},"required":["data","has_more"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"id":123,"credits_used":123,"credits_remaining":123,"service":{"type":"workflow","id":"\u003cstring>","name":"\u003cstring>"},"user":{"id":"\u003cstring>","email":"\u003cstring>"},"created_at":1784874205}],"has_more":true,"next_cursor":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"495f7209-d419-4a47-a43b-1425bb21c653":{"description":"Invalid cursor.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"oneOf":[{}],"uniqueKey":"detail","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c1c1a0fb-e481-4c65-a641-dbf40b754c51":{"description":"Invalid API key.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"oneOf":[{}],"uniqueKey":"detail","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c8564385-cff3-4bb0-9dde-2883723f4b64":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"f57092d7-b197-440e-9fca-7df546756ae9":{"url":"https://api.markifact.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"markifact","siteName":"Markifact","title":"List credit logs - Markifact","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-27T08:21:45.620Z","originalFileLocation":"api-reference/credits/list-credit-logs.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=\"light\"}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=\"Read your Markifact team\u0026#x27;s credit ledger: every charge, what caused it, and who ran it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Markifact\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/markifact/rRckqEm4YH35F_Gi/_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/markifact/rRckqEm4YH35F_Gi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/markifact/rRckqEm4YH35F_Gi/_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/markifact/rRckqEm4YH35F_Gi/_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/markifact/rRckqEm4YH35F_Gi/_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/markifact/rRckqEm4YH35F_Gi/_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/markifact/rRckqEm4YH35F_Gi/_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/markifact/rRckqEm4YH35F_Gi/_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/markifact/rRckqEm4YH35F_Gi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List credit logs - Markifact\">\u003cmeta data-mint-head property=\"og:description\" content=\"Read your Markifact team\u0026#x27;s credit ledger: every charge, what caused it, and who ran it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Markifact\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.markifact.com/api-reference/credits/list-credit-logs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://markifact.mintlify.site/images/og-image.webp\">\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=\"List credit logs - Markifact\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Read your Markifact team\u0026#x27;s credit ledger: every charge, what caused it, and who ran it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://markifact.mintlify.site/images/og-image.webp\">\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/markifact/rRckqEm4YH35F_Gi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Markifact\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1374FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.markifact.com/api-reference/credits/list-credit-logs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/credits/list-credit-logs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.markifact.com/#organization\",\"name\":\"Markifact\",\"url\":\"https://docs.markifact.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/markifact/s418riJ1kIvXeqdE/logo/light.png?fit=max\u0026auto=format\u0026n=s418riJ1kIvXeqdE\u0026q=85\u0026s=97a0d799b6dd0f43778a389425cf0213\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.markifact.com#website\",\"name\":\"Markifact\",\"url\":\"https://docs.markifact.com\",\"publisher\":{\"@id\":\"https://docs.markifact.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs#webpage\",\"url\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs\",\"name\":\"List credit logs\",\"description\":\"Read your Markifact team's credit ledger: every charge, what caused it, and who ran it.\",\"dateModified\":\"2026-07-27T08:21:45.620Z\",\"isPartOf\":{\"@id\":\"https://docs.markifact.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Credits\",\"item\":\"https://docs.markifact.com/api-reference/credits/get-balance\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List credit logs\",\"item\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs#apireference\",\"headline\":\"List credit logs\",\"name\":\"List credit logs\",\"description\":\"Read your Markifact team's credit ledger: every charge, what caused it, and who ran it.\",\"url\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.markifact.com/api-reference/credits/list-credit-logs#webpage\"},\"image\":\"https://docs.markifact.com/images/og-image.webp\",\"dateModified\":\"2026-07-27T08:21:45.620Z\",\"publisher\":{\"@id\":\"https://docs.markifact.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.markifact.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Markifact\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Markifact\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/credits/list-credit-logs.md","siteName":"Markifact","nav":{"global":{"anchors":[{"anchor":"Contact Support","icon":"heart","href":"https://www.markifact.com/app/contact-us"},{"anchor":"Changelog","icon":"clock","href":"https://www.markifact.com/changelog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Getting started","href":"/api-reference/getting-started"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Connections","icon":"plug","pages":[{"title":"List connections","openapi":"GET /v1/connections","href":"/api-reference/connections/list-connections"},{"title":"Get connection","openapi":"GET /v1/connections/{connection_id}","href":"/api-reference/connections/get-connection"},{"title":"List connection types","openapi":"GET /v1/connections/types","href":"/api-reference/connections/list-connection-types"},{"title":"Create connection","openapi":"POST /v1/connections","href":"/api-reference/connections/create-connection"},{"title":"Create auth link","openapi":"POST /v1/connections/auth-link","href":"/api-reference/connections/create-auth-link"},{"title":"Get auth link status","openapi":"GET /v1/connections/auth-links/{auth_link_id}/status","href":"/api-reference/connections/get-auth-link-status"},{"title":"Delete connection","openapi":"DELETE /v1/connections/{connection_id}","href":"/api-reference/connections/delete-connection"}]},{"group":"Credits","icon":"coins","pages":[{"title":"Get credit balance","description":"Check how many Markifact credits your team has left in the current billing period.","openapi":"GET /v1/credits","href":"/api-reference/credits/get-balance"},{"title":"List credit logs","openapi":"GET /v1/credits/logs","href":"/api-reference/credits/list-credit-logs"}]},{"group":"Logs","icon":"list-check","pages":[{"title":"List logs","description":"List the operation logs your Markifact team has produced across workflows, MCP servers, and agents.","openapi":"GET /v1/logs","href":"/api-reference/logs/list-logs"},{"title":"Get log","openapi":"GET /v1/logs/{log_id}","href":"/api-reference/logs/get-log"}]}]}]},"basePath":"","title":"List credit logs - Markifact","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}