Returns recorded Approvability runs, one entry per GitHub check run, newest recordTime first. Each run carries its verdict, outcome and the eligibility and correctness reasoning behind it.
Follow nextPageToken until it is absent. Results are live, not a snapshot: a verdict recorded again moves the run to a newer recordTime, and a listing already in progress can miss it.
How to analyze with your coding agent
The listing carries the same data the Approvability page shows, so a coding agent can answer questions the page’s charts do not.For example, to judge what Macroscope would have approved while automatic approval was off:
List runs with verdicts=WOULD_APPROVE for the period. These pull requests were eligible, but approval was withheld.
For each pull request, list its runs with repositoryIds and pullRequestNumber and no verdicts filter. A later NOT_APPROVED run means a subsequent commit changed the verdict; pullRequestRunCount says how many runs to expect.
A prompt such as “Using the Macroscope API, find pull requests Macroscope would have approved last quarter, and tell me which ones later needed code changes and why” is enough for an agent that has an API key and these reference pages.
Numeric GitHub ID of the organization or user. Must match the key’s workspace.
Query parameters
Repeat list parameters, for example verdicts=APPROVED&verdicts=WOULD_APPROVE. Omit a list to select all values; _UNSPECIFIED enum values are invalid filter inputs. Supplied lists must contain distinct values.
string
Inclusive UTC instant (RFC 3339), matched against recordTime. Defaults to 90 days before the resolved endTime, and must be before it and at most 366 days earlier. Without endTime, it must be in the past and within the last 366 days.
string
Exclusive UTC instant (RFC 3339), after startTime. Defaults to now. The interval is half-open, [startTime, endTime). Continuations keep the window the first page resolved.
string[]
Up to 100 GitHub repository IDs, each 1–128 characters, including removed repositories. Omit for every repository in the workspace. An ID with no runs yields an empty page.
string
One pull request number, a positive int64 encoded as a decimal string. Requires exactly one repositoryIds value.
string[]
SKIPPED, NOT_APPROVED, WOULD_APPROVE or APPROVED, matched against each run’s recorded verdict. Runs without a verdict match only when this list is omitted. See Verdicts.
string[]
RUN_COMPLETED, RUN_SKIPPED or RUN_FAILED. Runs without a recorded outcome match only when this list is omitted.
integer
default:"50"
Maximum runs per page, 1–200.
string
Opaque nextPageToken. Bound to workspace, operation and filters; expires after 24 hours. Repeat original filters; pageSize may change. Invalid, expired, altered or mismatched tokens return 400; restart without the token.
Response
Run[]
Matching runs on this page, newest recordTime first. Omitted for an empty page.
string
Opaque continuation. Omitted when no more matching runs remain.
See shared errors and limits. Invalid filters, dates, page sizes or tokens return 400, including pullRequestNumber without exactly one repository. Missing workspace access returns 403. Approvability not available for the workspace returns 404.Reasoning is never truncated. A page larger than the 50 MiB response limit returns 400 with code 9; repeat the request with the same pageToken and a smaller pageSize.
Run
False, zero and empty values are omitted unless a field says otherwise.
string
GitHub repository ID.
string
Repository owner login. Omitted when the repository record no longer exists.
string
Repository name without the owner, for example backend. Omitted when the repository record no longer exists.
string
GitHub pull request number (int64 as string).
string
Link to the pull request on GitHub. Omitted when the repository owner or name is unknown.
string
GitHub login of the pull request author. Omitted when unknown.
string
Pull request head branch, without refs/heads/. Omitted when unknown.
string
The commit the run judged.
string
RUN_COMPLETED (at least one hurdle was evaluated), RUN_SKIPPED (skipped before evaluating; see skippedReason) or RUN_FAILED (failed with an error). Omitted only for a run that recorded no outcome.
string
SKIPPED, NOT_APPROVED (shown as Needs Human Approval), WOULD_APPROVE or APPROVED. See Verdicts. Omitted when the run recorded no verdict: it failed, or it predates stored verdicts. An omitted verdict is not SKIPPED.
string
When the GitHub check run started (RFC 3339).
string
When the verdict was recorded (RFC 3339). The sort key and the time startTime and endTime filter on. Moves when a verdict is recorded again.
string
Why the run was skipped. Present only with RUN_SKIPPED.
string
When the run failed (RFC 3339). Present only with RUN_FAILED.
Hurdle
Whether the change was eligible for approval. Omitted when eligibility was never evaluated.
Hurdle
Whether the change was judged correct. Omitted when correctness was never evaluated.
true when those rules were read from front-matter configuration. Omitted when false.
integer
Agent credits billed for the run. 0 when the run was free. Omitted when the run was not billed or its credits are unknown. See Agent pricing.
boolean
true when the run was billed, false when it was not. Omitted when billing is unknown, so an omitted value is not false.
string
Every run recorded for this pull request (int64 as string), regardless of the request’s filters and dates. It can exceed the runs this listing returns for the pull request.
Hurdle
One hurdle’s recorded judgment. An object with no fields means the hurdle was evaluated and did not pass, with no recorded explanation.
boolean
true when the hurdle passed. Omitted when false.
boolean
true when the hurdle could not be evaluated and did not block approval. Omitted when false.
string
Macroscope’s explanation, in Markdown. Omitted when empty.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Macroscope","colors":{"primary":"#6f16a3","light":"#a26fd9","dark":"#a26fd9"},"logo":{"light":"https://mintcdn.com/macroscope/9iw0Cp-qvEu72Hf8/logo/light.svg?fit=max\u0026auto=format\u0026n=9iw0Cp-qvEu72Hf8\u0026q=85\u0026s=bd1aa63d43927eed5140a1a50d7781fc","dark":"https://mintcdn.com/macroscope/9iw0Cp-qvEu72Hf8/logo/dark.svg?fit=max\u0026auto=format\u0026n=9iw0Cp-qvEu72Hf8\u0026q=85\u0026s=05f568cf92a21f18b8ebaed893c0ff3b"},"favicon":"https://mintcdn.com/macroscope/Ij1wsJ7EUw4zYzA-/images/favicon.svg?fit=max\u0026auto=format\u0026n=Ij1wsJ7EUw4zYzA-\u0026q=85\u0026s=bab7bcd6e8c996d0426a6a241bf3ecbe","navbar":{"links":[{"href":"https://docs.macroscope.com/contact","label":"Contact Us"}],"primary":{"type":"button","label":"Macroscope","href":"https://app.macroscope.com"}},"integrations":{"gtm":{"tagId":"GTM-MFXG74M6"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Go to Macroscope","icon":"arrow-right","href":"https://app.macroscope.com/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"macroscope","hasAudioNarration":false,"actualSubdomain":"macroscope","customDomains":["docs.macroscope.com"],"gitSource":{"type":"github","owner":"prassoai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afb5c842b2c35059a511474","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"Documentation","count":54},{"language":"default","tag":"Integrations","count":24},{"language":"default","tag":"API","count":21},{"language":"default","tag":"Code Review","count":12},{"language":"default","tag":"Status","count":6},{"language":"default","tag":"Workspace","count":4},{"language":"default","tag":"Check Run Agents","count":4},{"language":"default","tag":"Resources","count":3},{"language":"default","tag":"Pricing","count":3},{"language":"default","tag":"Modifying behavior","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"workos-onboarding","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":"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":"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":"editor-metadata","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},{"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/list-approvability-runs","slug":"/api-reference/endpoint/list-approvability-runs","pageMetadata":{"title":"List approvability runs","description":"Recorded Approvability runs with verdicts, eligibility and correctness reasoning","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/approvability-runs","playground":"none","href":"/api-reference/endpoint/list-approvability-runs"},"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: \"Recorded Approvability runs with verdicts, eligibility and correctness reasoning\"\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`,em:`em`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,Note,ParamField,ResponseField}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns recorded `,_jsx(_components.a,{href:`/approvability`,children:`Approvability`}),` runs, one entry per GitHub check run, newest `,_jsx(_components.code,{children:`recordTime`}),` first. Each run carries its verdict, outcome and the eligibility and correctness reasoning behind it.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Follow `,_jsx(_components.code,{children:`nextPageToken`}),` until it is absent. Results are live, not a snapshot: a verdict recorded again moves the run to a newer `,_jsx(_components.code,{children:`recordTime`}),`, and a listing already in progress can miss it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-analyze-with-your-coding-agent`,children:`How to analyze with your coding agent`}),`\n`,_jsx(_components.p,{children:`The listing carries the same data the Approvability page shows, so a coding agent can answer questions the page’s charts do not.`}),`\n`,_jsx(_components.p,{children:`For example, to judge what Macroscope would have approved while automatic approval was off:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`List runs with `,_jsx(_components.code,{children:`verdicts=WOULD_APPROVE`}),` for the period. These pull requests were eligible, but approval was withheld.`]}),`\n`,_jsxs(_components.li,{children:[`For each pull request, list its runs with `,_jsx(_components.code,{children:`repositoryIds`}),` and `,_jsx(_components.code,{children:`pullRequestNumber`}),` and no `,_jsx(_components.code,{children:`verdicts`}),` filter. A later `,_jsx(_components.code,{children:`NOT_APPROVED`}),` run means a subsequent commit changed the verdict; `,_jsx(_components.code,{children:`pullRequestRunCount`}),` says how many runs to expect.`]}),`\n`,_jsxs(_components.li,{children:[`Join the pull requests to `,_jsx(_components.a,{href:`/api-reference/endpoint/list-code-review-comments`,children:`List code review comments`}),` and `,_jsx(_components.a,{href:`/api-reference/endpoint/list-commits`,children:`List commits`}),` to see what reviewers and authors changed before merge.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A prompt such as `,_jsx(_components.em,{children:`“Using the Macroscope API, find pull requests Macroscope would have approved last quarter, and tell me which ones later needed code changes and why”`}),` is enough for an agent that has an API key and these reference pages.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authorization`,children:`Authorization`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer \u003ckey>`}),`. See `,_jsx(_components.a,{href:`/api#authentication`,children:`Authentication`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`workspaceType`,type:`string`,required:true,id:`param-workspace-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GITHUB_ORGANIZATION`}),` or `,_jsx(_components.code,{children:`GITHUB_USER`}),`.`]})}),`\n`,_jsx(ParamField,{path:`workspaceId`,type:`string`,required:true,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Numeric GitHub ID of the organization or user. Must match the key’s workspace.`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsxs(_components.p,{children:[`Repeat list parameters, for example `,_jsx(_components.code,{children:`verdicts=APPROVED\u0026verdicts=WOULD_APPROVE`}),`. Omit a list to select all values; `,_jsx(_components.code,{children:`_UNSPECIFIED`}),` enum values are invalid filter inputs. Supplied lists must contain distinct values.`]}),`\n`,_jsx(ParamField,{query:`startTime`,type:`string`,id:`param-start-time`,children:_jsxs(_components.p,{children:[`Inclusive UTC instant (RFC 3339), matched against `,_jsx(_components.code,{children:`recordTime`}),`. Defaults to 90 days before the resolved `,_jsx(_components.code,{children:`endTime`}),`, and must be before it and at most 366 days earlier. Without `,_jsx(_components.code,{children:`endTime`}),`, it must be in the past and within the last 366 days.`]})}),`\n`,_jsx(ParamField,{query:`endTime`,type:`string`,id:`param-end-time`,children:_jsxs(_components.p,{children:[`Exclusive UTC instant (RFC 3339), after `,_jsx(_components.code,{children:`startTime`}),`. Defaults to now. The interval is half-open, `,_jsx(_components.code,{children:`[startTime, endTime)`}),`. Continuations keep the window the first page resolved.`]})}),`\n`,_jsx(ParamField,{query:`repositoryIds`,type:`string[]`,id:`param-repository-ids`,children:_jsx(_components.p,{children:`Up to 100 GitHub repository IDs, each 1–128 characters, including removed repositories. Omit for every repository in the workspace. An ID with no runs yields an empty page.`})}),`\n`,_jsx(ParamField,{query:`pullRequestNumber`,type:`string`,id:`param-pull-request-number`,children:_jsxs(_components.p,{children:[`One pull request number, a positive int64 encoded as a decimal string. Requires exactly one `,_jsx(_components.code,{children:`repositoryIds`}),` value.`]})}),`\n`,_jsx(ParamField,{query:`verdicts`,type:`string[]`,id:`param-verdicts`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`SKIPPED`}),`, `,_jsx(_components.code,{children:`NOT_APPROVED`}),`, `,_jsx(_components.code,{children:`WOULD_APPROVE`}),` or `,_jsx(_components.code,{children:`APPROVED`}),`, matched against each run’s recorded verdict. Runs without a verdict match only when this list is omitted. See `,_jsx(_components.a,{href:`/approvability#verdicts`,children:`Verdicts`}),`.`]})}),`\n`,_jsx(ParamField,{query:`outcomes`,type:`string[]`,id:`param-outcomes`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`RUN_COMPLETED`}),`, `,_jsx(_components.code,{children:`RUN_SKIPPED`}),` or `,_jsx(_components.code,{children:`RUN_FAILED`}),`. Runs without a recorded outcome match only when this list is omitted.`]})}),`\n`,_jsx(ParamField,{query:`pageSize`,type:`integer`,default:`50`,id:`param-page-size`,children:_jsx(_components.p,{children:`Maximum runs per page, 1–200.`})}),`\n`,_jsx(ParamField,{query:`pageToken`,type:`string`,id:`param-page-token`,children:_jsxs(_components.p,{children:[`Opaque `,_jsx(_components.code,{children:`nextPageToken`}),`. Bound to workspace, operation and filters; expires after 24 hours. Repeat original filters; `,_jsx(_components.code,{children:`pageSize`}),` may change. Invalid, expired, altered or mismatched tokens return `,_jsx(_components.code,{children:`400`}),`; restart without the token.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`runs`,type:`Run[]`,id:`param-runs`,children:_jsxs(_components.p,{children:[`Matching runs on this page, newest `,_jsx(_components.code,{children:`recordTime`}),` first. Omitted for an empty page.`]})}),`\n`,_jsx(ResponseField,{name:`nextPageToken`,type:`string`,id:`param-next-page-token`,children:_jsx(_components.p,{children:`Opaque continuation. Omitted when no more matching runs remain.`})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api#errors`,children:`shared errors and limits`}),`. Invalid filters, dates, page sizes or tokens return `,_jsx(_components.code,{children:`400`}),`, including `,_jsx(_components.code,{children:`pullRequestNumber`}),` without exactly one repository. Missing workspace access returns `,_jsx(_components.code,{children:`403`}),`. Approvability not available for the workspace returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Reasoning is never truncated. A page larger than the 50 MiB response limit returns `,_jsx(_components.code,{children:`400`}),` with `,_jsx(_components.code,{children:`code`}),` 9; repeat the request with the same `,_jsx(_components.code,{children:`pageToken`}),` and a smaller `,_jsx(_components.code,{children:`pageSize`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`run`,children:`Run`}),`\n`,_jsx(_components.p,{children:`False, zero and empty values are omitted unless a field says otherwise.`}),`\n`,_jsx(ResponseField,{name:`repositoryId`,type:`string`,id:`param-repository-id`,children:`GitHub repository ID.`}),`\n`,_jsx(ResponseField,{name:`repositoryOwner`,type:`string`,id:`param-repository-owner`,children:`Repository owner login. Omitted when the repository record no longer exists.`}),`\n`,_jsxs(ResponseField,{name:`repositoryName`,type:`string`,id:`param-repository-name`,children:[`Repository name without the owner, for example `,_jsx(_components.code,{children:`backend`}),`. Omitted when the repository record no longer exists.`]}),`\n`,_jsx(ResponseField,{name:`pullRequestNumber`,type:`string`,id:`param-pull-request-number-1`,children:`GitHub pull request number (int64 as string).`}),`\n`,_jsx(ResponseField,{name:`githubUrl`,type:`string`,id:`param-github-url`,children:`Link to the pull request on GitHub. Omitted when the repository owner or name is unknown.`}),`\n`,_jsx(ResponseField,{name:`authorLogin`,type:`string`,id:`param-author-login`,children:`GitHub login of the pull request author. Omitted when unknown.`}),`\n`,_jsxs(ResponseField,{name:`branch`,type:`string`,id:`param-branch`,children:[`Pull request head branch, without `,_jsx(_components.code,{children:`refs/heads/`}),`. Omitted when unknown.`]}),`\n`,_jsx(ResponseField,{name:`commitSha`,type:`string`,id:`param-commit-sha`,children:`The commit the run judged.`}),`\n`,_jsx(ResponseField,{name:`outcome`,type:`string`,id:`param-outcome`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`RUN_COMPLETED`}),` (at least one hurdle was evaluated), `,_jsx(_components.code,{children:`RUN_SKIPPED`}),` (skipped before evaluating; see `,_jsx(_components.code,{children:`skippedReason`}),`) or `,_jsx(_components.code,{children:`RUN_FAILED`}),` (failed with an error). Omitted only for a run that recorded no outcome.`]})}),`\n`,_jsx(ResponseField,{name:`verdict`,type:`string`,id:`param-verdict`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`SKIPPED`}),`, `,_jsx(_components.code,{children:`NOT_APPROVED`}),` (shown as `,_jsx(_components.strong,{children:`Needs Human Approval`}),`), `,_jsx(_components.code,{children:`WOULD_APPROVE`}),` or `,_jsx(_components.code,{children:`APPROVED`}),`. See `,_jsx(_components.a,{href:`/approvability#verdicts`,children:`Verdicts`}),`. Omitted when the run recorded no verdict: it failed, or it predates stored verdicts. An omitted verdict is not `,_jsx(_components.code,{children:`SKIPPED`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`startTime`,type:`string`,id:`param-start-time-1`,children:`When the GitHub check run started (RFC 3339).`}),`\n`,_jsx(ResponseField,{name:`recordTime`,type:`string`,id:`param-record-time`,children:_jsxs(_components.p,{children:[`When the verdict was recorded (RFC 3339). The sort key and the time `,_jsx(_components.code,{children:`startTime`}),` and `,_jsx(_components.code,{children:`endTime`}),` filter on. Moves when a verdict is recorded again.`]})}),`\n`,_jsxs(ResponseField,{name:`skippedReason`,type:`string`,id:`param-skipped-reason`,children:[`Why the run was skipped. Present only with `,_jsx(_components.code,{children:`RUN_SKIPPED`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`failureTime`,type:`string`,id:`param-failure-time`,children:[`When the run failed (RFC 3339). Present only with `,_jsx(_components.code,{children:`RUN_FAILED`}),`.`]}),`\n`,_jsx(ResponseField,{name:`eligibility`,type:`Hurdle`,id:`param-eligibility`,children:`Whether the change was eligible for approval. Omitted when eligibility was never evaluated.`}),`\n`,_jsx(ResponseField,{name:`correctness`,type:`Hurdle`,id:`param-correctness`,children:`Whether the change was judged correct. Omitted when correctness was never evaluated.`}),`\n`,_jsx(ResponseField,{name:`customEligibilityPolicy`,type:`boolean`,id:`param-custom-eligibility-policy`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the repository’s `,_jsx(_components.a,{href:`/approvability#custom-eligibility-rules`,children:`custom eligibility rules`}),` decided eligibility. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`customEligibilityPolicyFrontMatter`,type:`boolean`,id:`param-custom-eligibility-policy-front-matter`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when those rules were read from front-matter configuration. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`agentCredits`,type:`integer`,id:`param-agent-credits`,children:_jsxs(_components.p,{children:[`Agent credits billed for the run. `,_jsx(_components.code,{children:`0`}),` when the run was `,_jsx(_components.a,{href:`/approvability#pricing`,children:`free`}),`. Omitted when the run was not billed or its credits are unknown. See `,_jsx(_components.a,{href:`/pricing#agent`,children:`Agent pricing`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`agentCreditsBilled`,type:`boolean`,id:`param-agent-credits-billed`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the run was billed, `,_jsx(_components.code,{children:`false`}),` when it was not. Omitted when billing is unknown, so an omitted value is not `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`pullRequestRunCount`,type:`string`,id:`param-pull-request-run-count`,children:_jsx(_components.p,{children:`Every run recorded for this pull request (int64 as string), regardless of the request’s filters and dates. It can exceed the runs this listing returns for the pull request.`})}),`\n`,_jsx(Heading,{level:`3`,id:`hurdle`,children:`Hurdle`}),`\n`,_jsx(_components.p,{children:`One hurdle’s recorded judgment. An object with no fields means the hurdle was evaluated and did not pass, with no recorded explanation.`}),`\n`,_jsxs(ResponseField,{name:`passed`,type:`boolean`,id:`param-passed`,children:[_jsx(_components.code,{children:`true`}),` when the hurdle passed. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`skipped`,type:`boolean`,id:`param-skipped`,children:[_jsx(_components.code,{children:`true`}),` when the hurdle could not be evaluated and did not block approval. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(ResponseField,{name:`reason`,type:`string`,id:`param-reason`,children:`Macroscope’s explanation, in Markdown. Omitted when empty.`})]})}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":{"config":{},"pageMetadata":{"title":"List approvability runs","description":"Recorded Approvability runs with verdicts, eligibility and correctness reasoning","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/approvability-runs","playground":"none","href":"/api-reference/endpoint/list-approvability-runs"}}},"mdxSourceWithNoJs":{"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`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns recorded `,_jsx(_components.a,{href:`/approvability`,children:`Approvability`}),` runs, one entry per GitHub check run, newest `,_jsx(_components.code,{children:`recordTime`}),` first. Each run carries its verdict, outcome and the eligibility and correctness reasoning behind it.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Follow `,_jsx(_components.code,{children:`nextPageToken`}),` until it is absent. Results are live, not a snapshot: a verdict recorded again moves the run to a newer `,_jsx(_components.code,{children:`recordTime`}),`, and a listing already in progress can miss it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-analyze-with-your-coding-agent`,children:`How to analyze with your coding agent`}),`\n`,_jsx(_components.p,{children:`The listing carries the same data the Approvability page shows, so a coding agent can answer questions the page’s charts do not.`}),`\n`,_jsx(_components.p,{children:`For example, to judge what Macroscope would have approved while automatic approval was off:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`List runs with `,_jsx(_components.code,{children:`verdicts=WOULD_APPROVE`}),` for the period. These pull requests were eligible, but approval was withheld.`]}),`\n`,_jsxs(_components.li,{children:[`For each pull request, list its runs with `,_jsx(_components.code,{children:`repositoryIds`}),` and `,_jsx(_components.code,{children:`pullRequestNumber`}),` and no `,_jsx(_components.code,{children:`verdicts`}),` filter. A later `,_jsx(_components.code,{children:`NOT_APPROVED`}),` run means a subsequent commit changed the verdict; `,_jsx(_components.code,{children:`pullRequestRunCount`}),` says how many runs to expect.`]}),`\n`,_jsxs(_components.li,{children:[`Join the pull requests to `,_jsx(_components.a,{href:`/api-reference/endpoint/list-code-review-comments`,children:`List code review comments`}),` and `,_jsx(_components.a,{href:`/api-reference/endpoint/list-commits`,children:`List commits`}),` to see what reviewers and authors changed before merge.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A prompt such as `,_jsx(_components.em,{children:`“Using the Macroscope API, find pull requests Macroscope would have approved last quarter, and tell me which ones later needed code changes and why”`}),` is enough for an agent that has an API key and these reference pages.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authorization`,children:`Authorization`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer \u003ckey>`}),`. See `,_jsx(_components.a,{href:`/api#authentication`,children:`Authentication`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`workspaceType`,type:`string`,required:true,id:`param-workspace-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GITHUB_ORGANIZATION`}),` or `,_jsx(_components.code,{children:`GITHUB_USER`}),`.`]})}),`\n`,_jsx(ParamField,{path:`workspaceId`,type:`string`,required:true,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Numeric GitHub ID of the organization or user. Must match the key’s workspace.`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsxs(_components.p,{children:[`Repeat list parameters, for example `,_jsx(_components.code,{children:`verdicts=APPROVED\u0026verdicts=WOULD_APPROVE`}),`. Omit a list to select all values; `,_jsx(_components.code,{children:`_UNSPECIFIED`}),` enum values are invalid filter inputs. Supplied lists must contain distinct values.`]}),`\n`,_jsx(ParamField,{query:`startTime`,type:`string`,id:`param-start-time`,children:_jsxs(_components.p,{children:[`Inclusive UTC instant (RFC 3339), matched against `,_jsx(_components.code,{children:`recordTime`}),`. Defaults to 90 days before the resolved `,_jsx(_components.code,{children:`endTime`}),`, and must be before it and at most 366 days earlier. Without `,_jsx(_components.code,{children:`endTime`}),`, it must be in the past and within the last 366 days.`]})}),`\n`,_jsx(ParamField,{query:`endTime`,type:`string`,id:`param-end-time`,children:_jsxs(_components.p,{children:[`Exclusive UTC instant (RFC 3339), after `,_jsx(_components.code,{children:`startTime`}),`. Defaults to now. The interval is half-open, `,_jsx(_components.code,{children:`[startTime, endTime)`}),`. Continuations keep the window the first page resolved.`]})}),`\n`,_jsx(ParamField,{query:`repositoryIds`,type:`string[]`,id:`param-repository-ids`,children:_jsx(_components.p,{children:`Up to 100 GitHub repository IDs, each 1–128 characters, including removed repositories. Omit for every repository in the workspace. An ID with no runs yields an empty page.`})}),`\n`,_jsx(ParamField,{query:`pullRequestNumber`,type:`string`,id:`param-pull-request-number`,children:_jsxs(_components.p,{children:[`One pull request number, a positive int64 encoded as a decimal string. Requires exactly one `,_jsx(_components.code,{children:`repositoryIds`}),` value.`]})}),`\n`,_jsx(ParamField,{query:`verdicts`,type:`string[]`,id:`param-verdicts`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`SKIPPED`}),`, `,_jsx(_components.code,{children:`NOT_APPROVED`}),`, `,_jsx(_components.code,{children:`WOULD_APPROVE`}),` or `,_jsx(_components.code,{children:`APPROVED`}),`, matched against each run’s recorded verdict. Runs without a verdict match only when this list is omitted. See `,_jsx(_components.a,{href:`/approvability#verdicts`,children:`Verdicts`}),`.`]})}),`\n`,_jsx(ParamField,{query:`outcomes`,type:`string[]`,id:`param-outcomes`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`RUN_COMPLETED`}),`, `,_jsx(_components.code,{children:`RUN_SKIPPED`}),` or `,_jsx(_components.code,{children:`RUN_FAILED`}),`. Runs without a recorded outcome match only when this list is omitted.`]})}),`\n`,_jsx(ParamField,{query:`pageSize`,type:`integer`,default:`50`,id:`param-page-size`,children:_jsx(_components.p,{children:`Maximum runs per page, 1–200.`})}),`\n`,_jsx(ParamField,{query:`pageToken`,type:`string`,id:`param-page-token`,children:_jsxs(_components.p,{children:[`Opaque `,_jsx(_components.code,{children:`nextPageToken`}),`. Bound to workspace, operation and filters; expires after 24 hours. Repeat original filters; `,_jsx(_components.code,{children:`pageSize`}),` may change. Invalid, expired, altered or mismatched tokens return `,_jsx(_components.code,{children:`400`}),`; restart without the token.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`runs`,type:`Run[]`,id:`param-runs`,children:_jsxs(_components.p,{children:[`Matching runs on this page, newest `,_jsx(_components.code,{children:`recordTime`}),` first. Omitted for an empty page.`]})}),`\n`,_jsx(ResponseField,{name:`nextPageToken`,type:`string`,id:`param-next-page-token`,children:_jsx(_components.p,{children:`Opaque continuation. Omitted when no more matching runs remain.`})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api#errors`,children:`shared errors and limits`}),`. Invalid filters, dates, page sizes or tokens return `,_jsx(_components.code,{children:`400`}),`, including `,_jsx(_components.code,{children:`pullRequestNumber`}),` without exactly one repository. Missing workspace access returns `,_jsx(_components.code,{children:`403`}),`. Approvability not available for the workspace returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Reasoning is never truncated. A page larger than the 50 MiB response limit returns `,_jsx(_components.code,{children:`400`}),` with `,_jsx(_components.code,{children:`code`}),` 9; repeat the request with the same `,_jsx(_components.code,{children:`pageToken`}),` and a smaller `,_jsx(_components.code,{children:`pageSize`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`run`,children:`Run`}),`\n`,_jsx(_components.p,{children:`False, zero and empty values are omitted unless a field says otherwise.`}),`\n`,_jsx(ResponseField,{name:`repositoryId`,type:`string`,id:`param-repository-id`,children:`GitHub repository ID.`}),`\n`,_jsx(ResponseField,{name:`repositoryOwner`,type:`string`,id:`param-repository-owner`,children:`Repository owner login. Omitted when the repository record no longer exists.`}),`\n`,_jsxs(ResponseField,{name:`repositoryName`,type:`string`,id:`param-repository-name`,children:[`Repository name without the owner, for example `,_jsx(_components.code,{children:`backend`}),`. Omitted when the repository record no longer exists.`]}),`\n`,_jsx(ResponseField,{name:`pullRequestNumber`,type:`string`,id:`param-pull-request-number-1`,children:`GitHub pull request number (int64 as string).`}),`\n`,_jsx(ResponseField,{name:`githubUrl`,type:`string`,id:`param-github-url`,children:`Link to the pull request on GitHub. Omitted when the repository owner or name is unknown.`}),`\n`,_jsx(ResponseField,{name:`authorLogin`,type:`string`,id:`param-author-login`,children:`GitHub login of the pull request author. Omitted when unknown.`}),`\n`,_jsxs(ResponseField,{name:`branch`,type:`string`,id:`param-branch`,children:[`Pull request head branch, without `,_jsx(_components.code,{children:`refs/heads/`}),`. Omitted when unknown.`]}),`\n`,_jsx(ResponseField,{name:`commitSha`,type:`string`,id:`param-commit-sha`,children:`The commit the run judged.`}),`\n`,_jsx(ResponseField,{name:`outcome`,type:`string`,id:`param-outcome`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`RUN_COMPLETED`}),` (at least one hurdle was evaluated), `,_jsx(_components.code,{children:`RUN_SKIPPED`}),` (skipped before evaluating; see `,_jsx(_components.code,{children:`skippedReason`}),`) or `,_jsx(_components.code,{children:`RUN_FAILED`}),` (failed with an error). Omitted only for a run that recorded no outcome.`]})}),`\n`,_jsx(ResponseField,{name:`verdict`,type:`string`,id:`param-verdict`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`SKIPPED`}),`, `,_jsx(_components.code,{children:`NOT_APPROVED`}),` (shown as `,_jsx(_components.strong,{children:`Needs Human Approval`}),`), `,_jsx(_components.code,{children:`WOULD_APPROVE`}),` or `,_jsx(_components.code,{children:`APPROVED`}),`. See `,_jsx(_components.a,{href:`/approvability#verdicts`,children:`Verdicts`}),`. Omitted when the run recorded no verdict: it failed, or it predates stored verdicts. An omitted verdict is not `,_jsx(_components.code,{children:`SKIPPED`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`startTime`,type:`string`,id:`param-start-time-1`,children:`When the GitHub check run started (RFC 3339).`}),`\n`,_jsx(ResponseField,{name:`recordTime`,type:`string`,id:`param-record-time`,children:_jsxs(_components.p,{children:[`When the verdict was recorded (RFC 3339). The sort key and the time `,_jsx(_components.code,{children:`startTime`}),` and `,_jsx(_components.code,{children:`endTime`}),` filter on. Moves when a verdict is recorded again.`]})}),`\n`,_jsxs(ResponseField,{name:`skippedReason`,type:`string`,id:`param-skipped-reason`,children:[`Why the run was skipped. Present only with `,_jsx(_components.code,{children:`RUN_SKIPPED`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`failureTime`,type:`string`,id:`param-failure-time`,children:[`When the run failed (RFC 3339). Present only with `,_jsx(_components.code,{children:`RUN_FAILED`}),`.`]}),`\n`,_jsx(ResponseField,{name:`eligibility`,type:`Hurdle`,id:`param-eligibility`,children:`Whether the change was eligible for approval. Omitted when eligibility was never evaluated.`}),`\n`,_jsx(ResponseField,{name:`correctness`,type:`Hurdle`,id:`param-correctness`,children:`Whether the change was judged correct. Omitted when correctness was never evaluated.`}),`\n`,_jsx(ResponseField,{name:`customEligibilityPolicy`,type:`boolean`,id:`param-custom-eligibility-policy`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the repository’s `,_jsx(_components.a,{href:`/approvability#custom-eligibility-rules`,children:`custom eligibility rules`}),` decided eligibility. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`customEligibilityPolicyFrontMatter`,type:`boolean`,id:`param-custom-eligibility-policy-front-matter`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when those rules were read from front-matter configuration. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`agentCredits`,type:`integer`,id:`param-agent-credits`,children:_jsxs(_components.p,{children:[`Agent credits billed for the run. `,_jsx(_components.code,{children:`0`}),` when the run was `,_jsx(_components.a,{href:`/approvability#pricing`,children:`free`}),`. Omitted when the run was not billed or its credits are unknown. See `,_jsx(_components.a,{href:`/pricing#agent`,children:`Agent pricing`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`agentCreditsBilled`,type:`boolean`,id:`param-agent-credits-billed`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the run was billed, `,_jsx(_components.code,{children:`false`}),` when it was not. Omitted when billing is unknown, so an omitted value is not `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`pullRequestRunCount`,type:`string`,id:`param-pull-request-run-count`,children:_jsx(_components.p,{children:`Every run recorded for this pull request (int64 as string), regardless of the request’s filters and dates. It can exceed the runs this listing returns for the pull request.`})}),`\n`,_jsx(Heading,{level:`3`,id:`hurdle`,children:`Hurdle`}),`\n`,_jsx(_components.p,{children:`One hurdle’s recorded judgment. An object with no fields means the hurdle was evaluated and did not pass, with no recorded explanation.`}),`\n`,_jsxs(ResponseField,{name:`passed`,type:`boolean`,id:`param-passed`,children:[_jsx(_components.code,{children:`true`}),` when the hurdle passed. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`skipped`,type:`boolean`,id:`param-skipped`,children:[_jsx(_components.code,{children:`true`}),` when the hurdle could not be evaluated and did not block approval. Omitted when `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(ResponseField,{name:`reason`,type:`string`,id:`param-reason`,children:`Macroscope’s explanation, in Markdown. Omitted when empty.`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.macroscope.com/api/v1/workspaces/GITHUB_ORGANIZATION/12345678/approvability-runs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MACROSCOPE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"startTime=2026-07-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"endTime=2026-10-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"verdicts=APPROVED\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pageSize=50\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`17`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os, requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.macroscope.com/api/v1/workspaces/GITHUB_ORGANIZATION/12345678/approvability-runs\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'MACROSCOPE_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`params `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"startTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"endTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"verdicts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APPROVED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`runs `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` []`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`while`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`params).json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` runs.extend(body.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"runs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, []))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"nextPageToken\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` params[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pageToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nextPageToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`len`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(runs))`})]}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`56`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`56`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"runs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"repositoryId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"repositoryOwner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"repositoryName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"backend\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pullRequestNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"42\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"githubUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://github.com/acme/backend/pull/42\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorLogin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example-developer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fix-cancellation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"commitSha\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0123456789abcdef0123456789abcdef01234567\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RUN_COMPLETED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"verdict\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APPROVED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"startTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T17:58:12Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recordTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T18:02:45Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eligibility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"passed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Small, well-tested change to cancellation handling in one module.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"correctness\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"passed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No outstanding correctness findings.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentCredits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentCreditsBilled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pullRequestRunCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"repositoryId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"repositoryOwner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"repositoryName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"backend\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pullRequestNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"41\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"githubUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://github.com/acme/backend/pull/41\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorLogin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example-developer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bump-dependencies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"commitSha\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"89abcdef0123456789abcdef0123456789abcdef\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RUN_COMPLETED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"verdict\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APPROVED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"startTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T16:40:03Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recordTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T16:41:10Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eligibility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"passed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Every changed path matches the repository's routine paths.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"correctness\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"passed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customEligibilityPolicy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customEligibilityPolicyFrontMatter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentCredits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentCreditsBilled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pullRequestRunCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextPageToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque-continuation-token\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`16`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unauthenticated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})})]})]})}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":{"config":{},"pageMetadata":{"title":"List approvability runs","description":"Recorded Approvability runs with verdicts, eligibility and correctness reasoning","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/approvability-runs","playground":"none","href":"/api-reference/endpoint/list-approvability-runs"}}}},"mdxExtracts":{"tableOfContents":[{"title":"How to analyze with your coding agent","slug":"how-to-analyze-with-your-coding-agent","depth":2,"children":[]},{"title":"Authorization","slug":"authorization","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Run","slug":"run","depth":3,"children":[]},{"title":"Hurdle","slug":"hurdle","depth":3,"children":[]}]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --get\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.macroscope.com/api/v1/workspaces/GITHUB_ORGANIZATION/12345678/approvability-runs\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$MACROSCOPE_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"startTime=2026-07-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"endTime=2026-10-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"verdicts=APPROVED\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"pageSize=50\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> os, requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">url \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.macroscope.com/api/v1/workspaces/GITHUB_ORGANIZATION/12345678/approvability-runs\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">os.environ[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'MACROSCOPE_API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">params \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"startTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-07-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"endTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"verdicts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"APPROVED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">runs \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">while\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> True\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> body \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.get(url, \u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers, \u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">params\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">params).json()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> runs.extend(body.get(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"runs\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, []))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> if\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"nextPageToken\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> not\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> in\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> body:\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> break\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> params[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pageToken\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">] \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> body[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"nextPageToken\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">len\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(runs))\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"56\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"runs\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"repositoryId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"123456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"repositoryOwner\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"acme\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"repositoryName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"backend\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pullRequestNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"42\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"githubUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://github.com/acme/backend/pull/42\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"authorLogin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example-developer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"branch\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"fix-cancellation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"commitSha\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0123456789abcdef0123456789abcdef01234567\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"outcome\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"RUN_COMPLETED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"verdict\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"APPROVED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"startTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T17:58:12Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recordTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T18:02:45Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"eligibility\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"passed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Small, well-tested change to cancellation handling in one module.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"correctness\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"passed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"No outstanding correctness findings.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentCredits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">30\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentCreditsBilled\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pullRequestRunCount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"repositoryId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"123456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"repositoryOwner\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"acme\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"repositoryName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"backend\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pullRequestNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"41\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"githubUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://github.com/acme/backend/pull/41\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"authorLogin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example-developer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"branch\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"bump-dependencies\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"commitSha\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"89abcdef0123456789abcdef0123456789abcdef\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"outcome\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"RUN_COMPLETED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"verdict\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"APPROVED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"startTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T16:40:03Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recordTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T16:41:10Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"eligibility\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"passed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Every changed path matches the repository's routine paths.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"correctness\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"passed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customEligibilityPolicy\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customEligibilityPolicyFrontMatter\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentCredits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentCreditsBilled\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pullRequestRunCount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nextPageToken\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"opaque-continuation-token\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{ \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">16\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"unauthenticated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"List approvability runs","path":"/api/v1/workspaces/{workspaceType}/{workspaceId}/approvability-runs","servers":[{"url":"https://api.macroscope.com"}],"method":"get","request":{"security":[],"parameters":{"query":{"startTime":{"schema":[{"type":"string","description":"Inclusive UTC instant (RFC 3339), matched against `recordTime` . Defaults to 90 days before the resolved `endTime` , and must be before it and at most 366 days earlier. Without `endTime` , it must be in the past and within the last 366 days."}]},"endTime":{"schema":[{"type":"string","description":"Exclusive UTC instant (RFC 3339), after `startTime` . Defaults to now. The interval is half-open, `[startTime, endTime)` . Continuations keep the window the first page resolved."}]},"repositoryIds":{"schema":[{"type":"array","items":[{"type":"string"}],"description":"Up to 100 GitHub repository IDs, each 1–128 characters, including removed repositories. Omit for every repository in the workspace. An ID with no runs yields an empty page."}]},"pullRequestNumber":{"schema":[{"type":"string","description":"One pull request number, a positive int64 encoded as a decimal string. Requires exactly one `repositoryIds` value."}]},"verdicts":{"schema":[{"type":"array","items":[{"type":"string"}],"description":"`SKIPPED` , `NOT_APPROVED` , `WOULD_APPROVE` or `APPROVED` , matched against each run’s recorded verdict. Runs without a verdict match only when this list is omitted. See Verdicts ."}]},"outcomes":{"schema":[{"type":"array","items":[{"type":"string"}],"description":"`RUN_COMPLETED` , `RUN_SKIPPED` or `RUN_FAILED` . Runs without a recorded outcome match only when this list is omitted."}]},"pageSize":{"schema":[{"type":"integer","description":"Maximum runs per page, 1–200."}]},"pageToken":{"schema":[{"type":"string","description":"Opaque `nextPageToken` . Bound to workspace, operation and filters; expires after 24 hours. Repeat original filters; `pageSize` may change. Invalid, expired, altered or mismatched tokens return `400` ; restart without the token."}]}},"header":{"Authorization":{"schema":[{"type":"string","description":"`Bearer \u003ckey>` . See Authentication .","required":true}]}},"cookie":{},"path":{"workspaceType":{"schema":[{"type":"string","description":"`GITHUB_ORGANIZATION` or `GITHUB_USER` .","required":true}]},"workspaceId":{"schema":[{"type":"string","description":"Numeric GitHub ID of the organization or user. Must match the key’s workspace.","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"runs":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Matching runs on this page, newest `recordTime` first. Omitted for an empty page."}],"nextPageToken":[{"type":"string","description":"Opaque continuation. Omitted when no more matching runs remain."}],"repositoryId":[{"type":"string","description":"GitHub repository ID."}],"repositoryOwner":[{"type":"string","description":"Repository owner login. Omitted when the repository record no longer exists."}],"repositoryName":[{"type":"string","description":"Repository name without the owner, for example `backend` . Omitted when the repository record no longer exists."}],"pullRequestNumber":[{"type":"string","description":"GitHub pull request number (int64 as string)."}],"githubUrl":[{"type":"string","description":"Link to the pull request on GitHub. Omitted when the repository owner or name is unknown."}],"authorLogin":[{"type":"string","description":"GitHub login of the pull request author. Omitted when unknown."}],"branch":[{"type":"string","description":"Pull request head branch, without `refs/heads/` . Omitted when unknown."}],"commitSha":[{"type":"string","description":"The commit the run judged."}],"outcome":[{"type":"string","description":"`RUN_COMPLETED` (at least one hurdle was evaluated), `RUN_SKIPPED` (skipped before evaluating; see `skippedReason` ) or `RUN_FAILED` (failed with an error). Omitted only for a run that recorded no outcome."}],"verdict":[{"type":"string","description":"`SKIPPED` , `NOT_APPROVED` (shown as Needs Human Approval ), `WOULD_APPROVE` or `APPROVED` . See Verdicts . Omitted when the run recorded no verdict: it failed, or it predates stored verdicts. An omitted verdict is not `SKIPPED` ."}],"startTime":[{"type":"string","description":"When the GitHub check run started (RFC 3339)."}],"recordTime":[{"type":"string","description":"When the verdict was recorded (RFC 3339). The sort key and the time `startTime` and `endTime` filter on. Moves when a verdict is recorded again."}],"skippedReason":[{"type":"string","description":"Why the run was skipped. Present only with `RUN_SKIPPED` ."}],"failureTime":[{"type":"string","description":"When the run failed (RFC 3339). Present only with `RUN_FAILED` ."}],"eligibility":[{"type":"object","properties":{},"description":"Whether the change was eligible for approval. Omitted when eligibility was never evaluated."}],"correctness":[{"type":"object","properties":{},"description":"Whether the change was judged correct. Omitted when correctness was never evaluated."}],"customEligibilityPolicy":[{"type":"boolean","description":"`true` when the repository’s custom eligibility rules decided eligibility. Omitted when `false` ."}],"customEligibilityPolicyFrontMatter":[{"type":"boolean","description":"`true` when those rules were read from front-matter configuration. Omitted when `false` ."}],"agentCredits":[{"type":"integer","description":"Agent credits billed for the run. `0` when the run was free . Omitted when the run was not billed or its credits are unknown. See Agent pricing ."}],"agentCreditsBilled":[{"type":"boolean","description":"`true` when the run was billed, `false` when it was not. Omitted when billing is unknown, so an omitted value is not `false` ."}],"pullRequestRunCount":[{"type":"string","description":"Every run recorded for this pull request (int64 as string), regardless of the request’s filters and dates. It can exceed the runs this listing returns for the pull request."}],"passed":[{"type":"boolean","description":"`true` when the hurdle passed. Omitted when `false` ."}],"skipped":[{"type":"boolean","description":"`true` when the hurdle could not be evaluated and did not block approval. Omitted when `false` ."}],"reason":[{"type":"string","description":"Macroscope’s explanation, in Markdown. Omitted when empty."}]}}],"examples":{"example":{"value":{"runs":[{}],"nextPageToken":"\u003cstring>","repositoryId":"\u003cstring>","repositoryOwner":"\u003cstring>","repositoryName":"\u003cstring>","pullRequestNumber":"\u003cstring>","githubUrl":"\u003cstring>","authorLogin":"\u003cstring>","branch":"\u003cstring>","commitSha":"\u003cstring>","outcome":"\u003cstring>","verdict":"\u003cstring>","startTime":"\u003cstring>","recordTime":"\u003cstring>","skippedReason":"\u003cstring>","failureTime":"\u003cstring>","eligibility":{},"correctness":{},"customEligibilityPolicy":true,"customEligibilityPolicyFrontMatter":true,"agentCredits":123,"agentCreditsBilled":true,"pullRequestRunCount":"\u003cstring>","passed":true,"skipped":true,"reason":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"macroscope","siteName":"Macroscope","title":"List approvability runs - Macroscope","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T19:42:00.723Z","originalFileLocation":"api-reference/endpoint/list-approvability-runs.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=\"Recorded Approvability runs with verdicts, eligibility and correctness reasoning\">\u003cmeta data-mint-head name=\"application-name\" content=\"Macroscope\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/macroscope/9sYBVwJjOb2ffPKd/_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/macroscope/9sYBVwJjOb2ffPKd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/macroscope/9sYBVwJjOb2ffPKd/_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/macroscope/9sYBVwJjOb2ffPKd/_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/macroscope/9sYBVwJjOb2ffPKd/_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/macroscope/9sYBVwJjOb2ffPKd/_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/macroscope/9sYBVwJjOb2ffPKd/_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/macroscope/9sYBVwJjOb2ffPKd/_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/macroscope/9sYBVwJjOb2ffPKd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List approvability runs - Macroscope\">\u003cmeta data-mint-head property=\"og:description\" content=\"Recorded Approvability runs with verdicts, eligibility and correctness reasoning\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Macroscope\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://macroscope.mintlify.site/_mintlify/api/og/v2?division=API\u0026amp;title=List+approvability+runs\u0026amp;description=Recorded+Approvability+runs+with+verdicts%2C+eligibility+and+correctness+reasoning\u0026amp;theme=ab62f9e97a9aa757910919a8\u0026amp;signature=87a1cf5186cb4a631b5aba557e9ef5e620bfb45d9183def0a238526bd009bbe2\">\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 approvability runs - Macroscope\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Recorded Approvability runs with verdicts, eligibility and correctness reasoning\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://macroscope.mintlify.site/_mintlify/api/og/v2?division=API\u0026amp;title=List+approvability+runs\u0026amp;description=Recorded+Approvability+runs+with+verdicts%2C+eligibility+and+correctness+reasoning\u0026amp;theme=ab62f9e97a9aa757910919a8\u0026amp;signature=87a1cf5186cb4a631b5aba557e9ef5e620bfb45d9183def0a238526bd009bbe2\">\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/macroscope/9sYBVwJjOb2ffPKd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Macroscope\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6f16a3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/list-approvability-runs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.macroscope.com/#organization\",\"name\":\"Macroscope\",\"url\":\"https://docs.macroscope.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/macroscope/9iw0Cp-qvEu72Hf8/logo/light.svg?fit=max\u0026auto=format\u0026n=9iw0Cp-qvEu72Hf8\u0026q=85\u0026s=bd1aa63d43927eed5140a1a50d7781fc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.macroscope.com#website\",\"name\":\"Macroscope\",\"url\":\"https://docs.macroscope.com\",\"publisher\":{\"@id\":\"https://docs.macroscope.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs#webpage\",\"url\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs\",\"name\":\"List approvability runs\",\"description\":\"Recorded Approvability runs with verdicts, eligibility and correctness reasoning\",\"dateModified\":\"2026-11-16T19:42:00.723Z\",\"isPartOf\":{\"@id\":\"https://docs.macroscope.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docs.macroscope.com/webhooks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https://docs.macroscope.com/api\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"List approvability runs\",\"item\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs#apireference\",\"headline\":\"List approvability runs\",\"name\":\"List approvability runs\",\"description\":\"Recorded Approvability runs with verdicts, eligibility and correctness reasoning\",\"url\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.macroscope.com/api-reference/endpoint/list-approvability-runs#webpage\"},\"dateModified\":\"2026-11-16T19:42:00.723Z\",\"publisher\":{\"@id\":\"https://docs.macroscope.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.macroscope.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Macroscope\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Macroscope\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/list-approvability-runs.md","siteName":"Macroscope","nav":{"global":{"anchors":[{"anchor":"Go to Macroscope","icon":"arrow-right","href":"https://app.macroscope.com/"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Overview","href":"/welcome"},{"title":"Setup","href":"/setup-instructions"},{"group":"Pricing","pages":[{"title":"Pricing overview","href":"/pricing"},{"title":"Models and token rates","href":"/model-pricing"},{"title":"Spend controls","href":"/spend-limits"}]},{"group":"Code Review","pages":[{"title":"Correctness","href":"/correctness"},{"title":"Detection mode","href":"/code-review/detection-mode"},{"group":"Modifying behavior","root":{"title":"Modifying behavior","href":"/code-review/macroscope"},"pages":[{"title":"Custom instructions","href":"/custom-instructions"},{"title":"Ignore files","href":"/code-review/ignore-files"}]},{"group":"Check Run Agents","root":{"title":"Check Run Agents","href":"/check-run-agents"},"pages":[{"title":"Configuration","href":"/check-run-agents/configuration"},{"title":"Instructions and context","href":"/check-run-agents/instructions"},{"title":"Triggers and skips","href":"/check-run-agents/triggers"},{"title":"GitHub Actions","href":"/github-actions"}]},{"title":"Approvability","href":"/approvability"},{"title":"CLI","href":"/cli"},{"title":"PR summaries","href":"/pull-request-descriptions"},{"title":"Fix it for me","href":"/fix-it-for-me"}]},{"group":"Status","pages":[{"title":"Status","href":"/status"},{"title":"Areas","href":"/areas"},{"title":"Productivity","href":"/productivity"},{"title":"Slack subscriptions","href":"/slack-subscriptions"},{"title":"Ask Macroscope","href":"/agent"},{"title":"Macros","href":"/macros"}]},{"group":"Integrations","pages":[{"title":"Webhooks","href":"/webhooks"},{"title":"Connected tools","href":"/integrations"},{"group":"API","root":{"title":"API","href":"/api"},"pages":[{"title":"Get workspace","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}","playground":"none","href":"/api-reference/endpoint/get-workspace"},{"title":"List areas","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/areas","playground":"none","href":"/api-reference/endpoint/list-areas"},{"title":"Get workspace report","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/workspaceReport","playground":"none","href":"/api-reference/endpoint/get-workspace-report"},{"title":"Get sprint elapsed hours","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/sprintElapsedHours","playground":"none","href":"/api-reference/endpoint/get-sprint-elapsed-hours"},{"title":"List contributor statistics","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/contributorStatistics","playground":"none","href":"/api-reference/endpoint/list-contributor-statistics"},{"title":"List team memberships","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/teams/memberships","playground":"none","href":"/api-reference/endpoint/list-team-memberships"},{"title":"List team statistics","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/teamStatistics","playground":"none","href":"/api-reference/endpoint/list-team-statistics"},{"title":"Get coding time statistics","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/codingTimeStatistics","playground":"none","href":"/api-reference/endpoint/get-coding-time-statistics"},{"title":"Query code review statistics","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/code-review-statistics","playground":"none","href":"/api-reference/endpoint/query-code-review-statistics"},{"title":"List code review comments","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/code-review-comments","playground":"none","href":"/api-reference/endpoint/list-code-review-comments"},{"title":"Query approvability statistics","description":"See Approvability verdict counts and approval rates","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/approvability-statistics","playground":"none","href":"/api-reference/endpoint/query-approvability-statistics"},{"title":"List approvability runs","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/approvability-runs","playground":"none","href":"/api-reference/endpoint/list-approvability-runs"},{"title":"List commits","description":"Recorded commits with available summaries, attribution, branch metadata and productivity estimates.","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/commits","playground":"none","href":"/api-reference/endpoint/list-commits"},{"title":"Get billing status","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/billing/status","playground":"none","href":"/api-reference/endpoint/get-billing-status"},{"title":"Get billing balance","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/billing/balance","playground":"none","href":"/api-reference/endpoint/get-billing-balance"},{"title":"Get billing controls","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/billing/controls","playground":"none","href":"/api-reference/endpoint/get-billing-controls"},{"title":"List billing meter summaries","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/billing/meterSummaries","playground":"none","href":"/api-reference/endpoint/list-billing-meter-summaries"},{"title":"List daily billing usage","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/billing/dailyUsage","playground":"none","href":"/api-reference/endpoint/list-daily-billing-usage"},{"title":"List agent credit usage","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/billing/agentCreditUsage","playground":"none","href":"/api-reference/endpoint/list-agent-credit-usage"},{"title":"List workspace reporting periods","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/reportingPeriods","playground":"none","href":"/api-reference/endpoint/list-workspace-reporting-periods"},{"title":"List check-run agent billing summaries","api":"GET https://api.macroscope.com/api/v1/workspaces/{workspaceType}/{workspaceId}/billing/checkRunAgentSummaries","playground":"none","href":"/api-reference/endpoint/list-check-run-agent-billing-summaries"}]},{"group":"S3 exports","root":{"title":"S3 exports","href":"/s3-exports"},"pages":[{"title":"Export schema","href":"/s3-exports/format"}]}]},{"group":"Workspace","pages":[{"title":"Workspace settings","href":"/settings"},{"title":"Enterprise Managed Users","href":"/github-enterprise-login"},{"title":"GitHub IP allow lists","href":"/github-ip-allow-list"},{"title":"Cancellation","href":"/cancel-subscription"}]},{"group":"Resources","pages":[{"title":"Murmur","href":"/murmur"},{"title":"Support","href":"/contact"},{"title":"Release notes","href":"/changelog"}]}]}]},"basePath":"","title":"List approvability runs - Macroscope","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BFmjTMeT.js","utils-BWr-sjpP.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-LafIDf0N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-MJNzuxek.js","snippetPresets-DPZEtUvW.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DQ2UhGIs.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DUUJTUkE.js","shallow-BTf5bw35.js","getApiPlaygroundDisplay-h2POYYOO.js","CodeSnippet-C4qEftRe.js","CodeSnippets-CsSrOqMC.js","Page-CWFqNdGh.js","getPastedJson-DU6W6y78.js","icon-2ZYNQ78y.js","MethodPill-BMXJzYMm.js","DuplicateIcon-DNjdEpYZ.js","createIcon-WdPVhKxl.js","DynamicMarkdown-Z_y464fM.js","SectionHeading-Bcrd8azU.js","axios-vUo_bRtp.js"]}