API reference

View as Markdown

Every operation in the Proofline Review API 9.1.0, generated from the same OpenAPI document the SDKs are built from.

All paths are under /api/v1/organizations/{org_id} and take a token with the scope shown. The full document is at /docs/openapi.json.

Each example reads the token, the organization and every other required parameter from an environment variable named after it, such as REVIEW_ID for review_id. A patch review reads its patch from change.patch, and a coverage upload reads its report from coverage/lcov.info.

Reviews#

Get agent session#

GET /api/v1/organizations/{org_id}/agent-sessions/{session_id}

Get a coding-agent session

Returns a coding-agent session's latest status, its vendor link, its untrusted vendor summary and the pull request GitHub confirmed it opened in the target repository.

  • Scope: agent_sessions:start
  • TypeScript: client.getAgentSession()
  • Python: client.get_agent_session()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
session_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonAgentSession
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getAgentSession({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    session_id: process.env.SESSION_ID!,
  },
});
console.log(result);

Export reviews#

GET /api/v1/organizations/{org_id}/exports/{dataset}

Export review metadata

Returns one page of an export dataset (reviews, finding_outcomes, finding_validations, spend or findings) for an RFC3339 window of at most 31 days, as NDJSON by default or CSV. Each dataset has its own row version, which the X-Proofline-Export-Version response header states on every page, including a page with no rows. Rows respect the token's repository restriction.

  • Scope: analytics:read
  • TypeScript: client.exportReviews()
  • Python: client.export_reviews()
ParameterInTypeRequiredDescription
datasetpathDatasetyes
org_idpathstring (uuid)yes
cursorquerystring or nullnoTreat this signed continuation as opaque. Retain the same window and grouping.
formatquerystring or nullnondjson (default) or csv. Each CSV page repeats its column header.
fromquerystringyesInclusive RFC3339 creation, debit or first-publication time. At most 31 days.
group_byqueryFindingOutcomesGroupBy or nullnofinding_outcomes only; defaults to repository.
toquerystringyesExclusive RFC3339 creation, debit or first-publication time.
StatusMedia typeBodyDescription
200application/x-ndjson or text/csvone ExportRow per rowAt most 5000 review, finding, validation or daily spend rows, or 1000 finding-outcome groups. NDJSON uses the declared dataset row per line; CSV uses the same named columns, RFC4180 quoting and formula-safe text. Nested count and reference objects are JSON text in CSV cells. The settled horizon and optional opaque continuation are response headers.
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.

200 response headers:

HeaderTypeRequiredDescription
X-Proofline-Export-Next-CursorstringnoOpaque signed continuation. Absent on the last page.
X-Proofline-Export-Settled-UntilstringyesFrozen RFC3339 horizon, five minutes before the first request.
X-Proofline-Export-VersionstringyesThe row version of the selected dataset, sent on every page, including a page with no rows: reviews 1, finding_outcomes 1, finding_validations 2, spend 1, findings 2.

The examples read one page. Analytics exports follows its cursor to collect every page of the window.

import { type ExportParameters, ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const page = await client.exportReviews({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    dataset: process.env.DATASET! as ExportParameters["path"]["dataset"],
  },
  query: { from: process.env.FROM!, to: process.env.TO! },
});
for (const row of page.rows) console.log(JSON.stringify(row));
console.error(`version ${page.version}, settled until ${page.settledUntil}`);
if (page.nextCursor !== null) console.error(`next cursor ${page.nextCursor}`);

List repositories#

GET /api/v1/organizations/{org_id}/repository-names

List repository names

Returns the ID and full name of each connected repository inside the token's repository restriction, including repositories with no review, so a client can resolve owner/name to an ID.

  • Scope: reviews:read
  • TypeScript: client.listRepositories()
  • Python: client.list_repositories()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonRepositoryNames
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.listRepositories({
  path: { org_id: process.env.PROOFLINE_ORGANIZATION_ID! },
});
console.log(result);

List reviews#

GET /api/v1/organizations/{org_id}/reviews

List reviews

Lists the latest run of each pull request in the organization, with filters and cursor pagination. A search equal to a full head commit SHA returns the latest run at that commit instead.

  • Scope: reviews:read
  • TypeScript: client.listReviews()
  • Python: client.list_reviews()
ParameterInTypeRequiredDescription
attentionquerystring or nullnoneeded lists terminal reviews of open pull requests with active findings, FAILED/INCOMPLETE/STOPPED execution, or an earlier reviewed commit.
auditsquerystring or nullnoonly lists repository audits; none leaves them out, so kind=REVISION_SCAN&audits=none lists plain revision scans.
authorquerystring or nullnomine for the caller's own pull requests, or a GitHub user ID. mine needs a person's sign-in or token.
cursorquerystring or nullno
environmentquerystring (uuid) or nullno
findingsquerystring or nullnopresent lists reviews with at least one finding; none lists reviews with no finding.
kindquerystring or nullnoOne review kind: PULL_REQUEST, DEPLOYMENT, PATCH, COMMIT, FILES, MERGE_GROUP or REVISION_SCAN.
limitqueryinteger (int64) or nullno
queryquerystring or nullnoQualifiers, quoted values, AND/OR, groups and minus exclusions.
repositoryquerystring (uuid) or nullno
searchquerystring or nullno
statusquerystring or nullnoOne review status: PENDING, RUNNING, COMPLETED, INCOMPLETE, FAILED, SUPERSEDED, STOPPED or EXCLUDED.
org_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonReviewPage
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.listReviews({
  path: { org_id: process.env.PROOFLINE_ORGANIZATION_ID! },
});
console.log(result);

Get review#

GET /api/v1/organizations/{org_id}/reviews/{review_id}

Get a review

Returns a review with its subjects, assessments and open items. An incomplete assessment reports its gaps; an empty finding list from it says nothing about the change.

  • Scope: reviews:read
  • TypeScript: client.getReview()
  • Python: client.get_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
review_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonCustomerReviewDetail
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getReview({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    review_id: process.env.REVIEW_ID!,
  },
});
console.log(result);

Get assessment#

GET /api/v1/organizations/{org_id}/reviews/{review_id}/assessments/{assessment_id}

Get an assessment

Returns one assessment of a review with its decision, checks and findings.

  • Scope: findings:read
  • TypeScript: client.getAssessment()
  • Python: client.get_assessment()
ParameterInTypeRequiredDescription
assessment_idpathstring (uuid)yes
org_idpathstring (uuid)yes
review_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonCustomerAssessmentDetail
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getAssessment({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    review_id: process.env.REVIEW_ID!,
    assessment_id: process.env.ASSESSMENT_ID!,
  },
});
console.log(result);

Rerun review#

POST /api/v1/organizations/{org_id}/reviews/{review_id}/rerun

Rerun a review

Creates a new run of the review's original immutable code subject and leaves earlier runs unchanged. Local patch, commit, named-file, merge-group and deployment reviews, repository audits and on-demand scans are not rerun and return 400. Requires live GitHub write access; a repeated request can create another run, so clients make one attempt.

  • Scope: reviews:rerun
  • TypeScript: client.rerunReview()
  • Python: client.rerun_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
review_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonRerunResponse
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.rerunReview({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    review_id: process.env.REVIEW_ID!,
  },
});
console.log(result);

Get review routing#

GET /api/v1/organizations/{org_id}/reviews/{review_id}/routing

Get review routing

Returns the review's validated routing plan and recorded finding placements. It reports retained routing facts, not model output or a deployment recommendation.

  • Scope: reviews:read
  • TypeScript: client.getReviewRouting()
  • Python: client.get_review_routing()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
review_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonReviewRoutingView
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getReviewRouting({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    review_id: process.env.REVIEW_ID!,
  },
});
console.log(result);

Stop review#

POST /api/v1/organizations/{org_id}/reviews/{review_id}/stop

Stop your local review

Stops the holder's own pending or running withheld patch, commit or named-file review. Requires a personal or CLI device token with live GitHub read access to the review's repository. Organization, CI job and MCP OAuth tokens cannot stop reviews. A repository audit is refused on this route: only a person with live GitHub write access stops it, through the audit stop, and no token or platform authority does. The stopped review retains its findings and exact code identity; requesting the same input returns that stopped review.

  • Scope: reviews:request
  • TypeScript: client.stopReview()
  • Python: client.stop_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
review_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonStopResponse
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.stopReview({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    review_id: process.env.REVIEW_ID!,
  },
});
console.log(result);

Get deployment review#

GET /api/v1/organizations/{org_id}/reviews/deployments/{public_key}

Get a deployment review

Returns the deployment review with the given public key.

  • Scope: reviews:read
  • TypeScript: client.getDeploymentReview()
  • Python: client.get_deployment_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
public_keypathstringyes
StatusMedia typeBodyDescription
200application/jsonCustomerReviewDetail
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getDeploymentReview({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    public_key: process.env.PUBLIC_KEY!,
  },
});
console.log(result);

List pull request reviews#

GET /api/v1/organizations/{org_id}/reviews/pr/{repository}/{pull_request_number}

List a pull request's review runs

Lists the review runs of one pull request, addressed by repository name and pull request number.

  • Scope: reviews:read
  • TypeScript: client.listPullRequestReviews()
  • Python: client.list_pull_request_reviews()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
pull_request_numberpathinteger (int64)yes
repositorypathstringyesThe repository's name without its owner, or a name it had before a rename.
attentionquerystring or nullnoneeded lists terminal reviews of open pull requests with active findings, FAILED/INCOMPLETE/STOPPED execution, or an earlier reviewed commit.
auditsquerystring or nullnoonly lists repository audits; none leaves them out, so kind=REVISION_SCAN&audits=none lists plain revision scans.
authorquerystring or nullnomine for the caller's own pull requests, or a GitHub user ID. mine needs a person's sign-in or token.
cursorquerystring or nullno
environmentquerystring (uuid) or nullno
findingsquerystring or nullnopresent lists reviews with at least one finding; none lists reviews with no finding.
kindquerystring or nullnoOne review kind: PULL_REQUEST, DEPLOYMENT, PATCH, COMMIT, FILES, MERGE_GROUP or REVISION_SCAN.
limitqueryinteger (int64) or nullno
queryquerystring or nullnoQualifiers, quoted values, AND/OR, groups and minus exclusions.
repositoryquerystring (uuid) or nullno
searchquerystring or nullno
statusquerystring or nullnoOne review status: PENDING, RUNNING, COMPLETED, INCOMPLETE, FAILED, SUPERSEDED, STOPPED or EXCLUDED.
StatusMedia typeBodyDescription
200application/jsonReviewPage
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.listPullRequestReviews({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    repository: process.env.REPOSITORY!,
    pull_request_number: Number(process.env.PULL_REQUEST_NUMBER),
  },
});
console.log(result);

Get pull request review#

GET /api/v1/organizations/{org_id}/reviews/pr/{repository}/{pull_request_number}/runs/{run_number}

Get a pull request review run

Returns one review run of a pull request, addressed by repository name, pull request number and run number.

  • Scope: reviews:read
  • TypeScript: client.getPullRequestReview()
  • Python: client.get_pull_request_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
pull_request_numberpathinteger (int64)yes
repositorypathstringyesThe repository's name without its owner, or a name it had before a rename.
run_numberpathinteger (int64)yes
StatusMedia typeBodyDescription
200application/jsonCustomerReviewDetail
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getPullRequestReview({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    repository: process.env.REPOSITORY!,
    pull_request_number: Number(process.env.PULL_REQUEST_NUMBER),
    run_number: Number(process.env.RUN_NUMBER),
  },
});
console.log(result);

Findings#

Get finding#

GET /api/v1/organizations/{org_id}/findings/{finding_id}

Get a finding

Returns one finding with its evidence references, validation state and causal graph.

  • Scope: findings:read
  • TypeScript: client.getFinding()
  • Python: client.get_finding()
ParameterInTypeRequiredDescription
finding_idpathstring (uuid)yes
org_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonCustomerFinding
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getFinding({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    finding_id: process.env.FINDING_ID!,
  },
});
console.log(result);

Get agent session prompt#

GET /api/v1/organizations/{org_id}/findings/{finding_id}/agent-session-prompt

Preview a coding-agent session

Returns the exact prompt and target a coding-agent session on this pull request finding would send, with every protected value withheld, the prompt digest a start names, and the ID and vendor of each active connection that allowlists the target repository. Requires access to every repository in the review.

  • Scope: agent_sessions:start
  • TypeScript: client.getAgentSessionPrompt()
  • Python: client.get_agent_session_prompt()
ParameterInTypeRequiredDescription
finding_idpathstring (uuid)yes
org_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonAgentSessionPrompt
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getAgentSessionPrompt({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    finding_id: process.env.FINDING_ID!,
  },
});
console.log(result);

Start agent session#

POST /api/v1/organizations/{org_id}/findings/{finding_id}/agent-sessions

Start a coding-agent session

Starts one Cursor Cloud Agents or Devin session on the finding's reviewed pull request through an administrator's vendor connection, with the prompt whose digest the request names. Only a personal token or a browser session may start one, and it requires live GitHub write access to the repository. A repeated request starts another session, up to 3 per finding at one commit.

  • Scope: agent_sessions:start
  • TypeScript: client.startAgentSession()
  • Python: client.start_agent_session()
ParameterInTypeRequiredDescription
finding_idpathstring (uuid)yes
org_idpathstring (uuid)yes

Request body: StartSession

StatusMedia typeBodyDescription
201application/jsonAgentSession
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.startAgentSession(
  {
    path: {
      org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
      finding_id: process.env.FINDING_ID!,
    },
  },
  { connection_id: process.env.CONNECTION_ID!, prompt_digest: process.env.PROMPT_DIGEST! },
);
console.log(result);

Get finding fix prompt#

GET /api/v1/organizations/{org_id}/findings/{finding_id}/fix-prompt

Get a finding's fix prompt

Returns a bounded untrusted prompt for a recorded pull request finding, or an explicit refusal. Requires access to every repository in the review. Each code reference retains its recorded commit; private evidence and diagnostics are omitted.

  • Scope: findings:read
  • TypeScript: client.getFindingFixPrompt()
  • Python: client.get_finding_fix_prompt()
ParameterInTypeRequiredDescription
finding_idpathstring (uuid)yes
org_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonFindingFixPrompt
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getFindingFixPrompt({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    finding_id: process.env.FINDING_ID!,
  },
});
console.log(result);

Repositories#

Request commit review#

POST /api/v1/organizations/{org_id}/repositories/{repo_id}/commit-reviews

Review pushed commits

Reviews the change from an exact base commit to an exact head commit, both of which GitHub has in the repository, and returns those commits' review when one exists. The base must be an ancestor of the head. The review reads only those two commits, and is never posted to a pull request. Requires live GitHub read access; the same commits always return the same review.

  • Scope: reviews:request
  • TypeScript: client.requestCommitReview()
  • Python: client.request_commit_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes

Request body: CommitReviewRequest

StatusMedia typeBodyDescription
200application/jsonCommitReviewResponse
400application/problem+jsonRunNowRefused
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.requestCommitReview(
  {
    path: {
      org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
      repo_id: process.env.REPO_ID!,
    },
  },
  { base_commit_sha: process.env.BASE_COMMIT_SHA!, head_commit_sha: process.env.HEAD_COMMIT_SHA! },
);
console.log(result);

Get commit deploy verifications#

GET /api/v1/organizations/{org_id}/repositories/{repo_id}/commits/{commit_sha}/deploy-verifications

Get a commit's deploy verifications

Returns each deploy of one exact commit in the repository that Proofline recorded, across the organization's environments: its environment ID, GitHub Environment, task, workflow run and attempt, where its verification stands, whether a check regressed, each check's result and due time, the gaps that leave it unproven and its console page. commit_sha must be a full 40-character lowercase commit SHA; a branch, tag or abbreviated SHA gets 400. A commit with no recorded deploy returns recorded: false and no deploys, which is never a result about a deploy. A repository outside the token's repository restriction or organization returns 404.

  • Scope: reviews:read
  • TypeScript: client.getCommitDeployVerifications()
  • Python: client.get_commit_deploy_verifications()
ParameterInTypeRequiredDescription
commit_shapathstringyesThe full 40-character lowercase commit SHA the job deployed. A branch, tag or abbreviated SHA is refused.
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonCommitDeployVerifications
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getCommitDeployVerifications({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    repo_id: process.env.REPO_ID!,
    commit_sha: process.env.COMMIT_SHA!,
  },
});
console.log(result);

Upload coverage reports#

POST /api/v1/organizations/{org_id}/repositories/{repo_id}/coverage-reports

Upload coverage reports

Records the LCOV, Cobertura, JaCoCo or Go coverage reports a CI run produced for one exact commit GitHub has in the repository, for COVERAGE checks that accept uploads. A branch, tag or abbreviated SHA, or a report that cannot be read, gets 422 and stores nothing. Requires a repository-restricted token and live GitHub write access; the same reports for the same commit return the report already recorded.

  • Scope: coverage:write
  • TypeScript: client.uploadCoverageReports()
  • Python: client.upload_coverage_reports()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes

Request body: CoverageUploadRequest

StatusMedia typeBodyDescription
200application/jsonCoverageUploadResponse
201application/jsonCoverageUploadResponse
422application/problem+jsonCoverageRefused
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { readFileSync } from "node:fs";
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.uploadCoverageReports(
  {
    path: {
      org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
      repo_id: process.env.REPO_ID!,
    },
  },
  { reports: [{ name: "coverage/lcov.info", content: readFileSync("coverage/lcov.info", "utf8") }], tested_sha: process.env.TESTED_SHA! },
);
console.log(result);

Request file review#

POST /api/v1/organizations/{org_id}/repositories/{repo_id}/file-reviews

Review selected whole files

Reviews up to twenty exact file paths at one pushed commit. Requires live GitHub read access and verifies every path at that commit. The retained selection is immutable; a repeat by the same person returns its review. Results remain in Proofline and are never posted to GitHub.

  • Scope: reviews:request
  • TypeScript: client.requestFileReview()
  • Python: client.request_file_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes

Request body: FileReviewRequest

StatusMedia typeBodyDescription
200application/jsonFileReviewResponse
400application/problem+jsonRunNowRefused
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.

The examples read paths from PATHS as a JSON array of strings, so a path with a space stays one path: export PATHS='["src/main.ts", "docs/Release notes.md"]'.

import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.requestFileReview(
  {
    path: {
      org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
      repo_id: process.env.REPO_ID!,
    },
  },
  { commit_sha: process.env.COMMIT_SHA!, paths: JSON.parse(process.env.PATHS!) },
);
console.log(result);

Request patch review#

POST /api/v1/organizations/{org_id}/repositories/{repo_id}/patch-reviews

Review local changes

Reviews a unified diff against a commit GitHub has in the repository, and returns that patch's review when one exists. The review reads only that commit and the patch, and is never posted to a pull request. With verify_finding_ids, the review also re-verifies those open findings of one pull request against the patch and reports each outcome on the review, without changing the pull request's findings. Requires live GitHub read access; the same patch on the same base, re-verifying the same findings, always returns the same review.

  • Scope: reviews:request
  • TypeScript: client.requestPatchReview()
  • Python: client.request_patch_review()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes

Request body: PatchReviewRequest

StatusMedia typeBodyDescription
200application/jsonPatchReviewResponse
400application/problem+jsonRunNowRefused
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { readFileSync } from "node:fs";
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.requestPatchReview(
  {
    path: {
      org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
      repo_id: process.env.REPO_ID!,
    },
  },
  { base_commit_sha: process.env.BASE_COMMIT_SHA!, patch: readFileSync("change.patch", "utf8") },
);
console.log(result);

Request review#

POST /api/v1/organizations/{org_id}/repositories/{repo_id}/pull-requests/{number}/review

Request a pull request review

Returns the active or result-bearing review at the pull request's live head, or creates a withheld one. The FULL mode creates a new review of the whole change unless one is pending or running. Requires live GitHub write access; a repeated request can create another review, so clients make one attempt.

  • Scope: reviews:request
  • TypeScript: client.requestReview()
  • Python: client.request_review()
ParameterInTypeRequiredDescription
numberpathinteger (int64)yes
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes

Request body: RunNowRequest

StatusMedia typeBodyDescription
200application/jsonRunNowResponse
400application/problem+jsonRunNowRefused
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.requestReview(
  {
    path: {
      org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
      repo_id: process.env.REPO_ID!,
      number: Number(process.env.NUMBER),
    },
  },
  { mode: "EXISTING_OR_NEW" },
);
console.log(result);

Get review guidance#

GET /api/v1/organizations/{org_id}/repositories/{repo_id}/review-guidance

Get repository review guidance

Returns the review guidance configured for a repository, for tools and coding agents that read it before writing code.

  • Scope: guidance:read
  • TypeScript: client.getReviewGuidance()
  • Python: client.get_review_guidance()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes
StatusMedia typeBodyDescription
200application/jsonRepositoryGuidance
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.getReviewGuidance({
  path: {
    org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
    repo_id: process.env.REPO_ID!,
  },
});
console.log(result);

Request scan#

POST /api/v1/organizations/{org_id}/repositories/{repo_id}/scans

Scan a repository revision

Scans the whole repository at one commit, resolved once from ref or named by commit_sha, and records that resolution. Requires live GitHub write access, and budget_credits at most the organization's on-demand scan limit; a limit of 0 turns on-demand scans off. Sending the same request_id again returns the first resolution. Results remain in Proofline and are never posted to GitHub.

  • Scope: scans:request
  • TypeScript: client.requestScan()
  • Python: client.request_scan()
ParameterInTypeRequiredDescription
org_idpathstring (uuid)yes
repo_idpathstring (uuid)yes

Request body: ScanRequestBody

StatusMedia typeBodyDescription
200application/jsonScanResponse
400application/problem+jsonRunNowRefused
Any otherapplication/problem+jsonProblemAn RFC 9457 problem; the HTTP status remains authoritative.
import { ProoflineClient } from "@proofline/sdk";

const client = new ProoflineClient({
  baseUrl: "https://proofline.sh",
  token: process.env.PROOFLINE_TOKEN!,
});
const result = await client.requestScan(
  {
    path: {
      org_id: process.env.PROOFLINE_ORGANIZATION_ID!,
      repo_id: process.env.REPO_ID!,
    },
  },
  { budget_credits: Number(process.env.BUDGET_CREDITS!), commit_sha: process.env.COMMIT_SHA!, request_id: process.env.REQUEST_ID! },
);
console.log(result);

Schemas#

Errors use Problem, an RFC 9457 problem document. The HTTP status is authoritative.

ActionUnavailability#

Type: READ_ONLY, REPOSITORY_UNAVAILABLE, REPOSITORY_WRITE_REQUIRED, PERMISSION_CHECK_UNAVAILABLE

ActorView#

The person behind an action on a review, as the page names them.

FieldTypeRequiredDescription
github_user_idinteger (int64)yesStable GitHub identity. The login below is display metadata.
loginstringyesThe login they were known by when they acted. Display metadata.
namestring or nullnoProfile name resolved for this organization. Display metadata only.
profile_urlstring or nullnoTheir profile on the deployment's GitHub host.

AgentSession#

FieldTypeRequiredDescription
attemptinteger (int32)yesThis session's place among the finding series' sessions at this commit, at most 3.
causestring or nullnoWhy Proofline ended or refused the session, as a closed code.
connection_idstring (uuid)yesThe vendor connection the session was started with.
created_atstring (date-time)yesWhen the session was requested.
donebooleanyesWhether Proofline stopped following the session.
finding_idstring (uuid)yesThe finding the session works on.
idstring (uuid)yesThe session's ID.
observed_head_shastring or nullnoThe pull request's head when it had moved past the reviewed commit, for a HEAD_MOVED session.
pull_request_urlstring or nullnoThe pull request the vendor opened, once GitHub confirmed it belongs to the target repository.
requested_by_user_idstring (uuid)yesThe person who started the session.
review_idstring (uuid)yesThe review that recorded the finding.
statusstringyesREQUESTED until the workflow records a status, then STARTING, RUNNING, FINISHED, FAILED, REFUSED, HEAD_MOVED or UNKNOWN.
targetAgentSessionTargetyesThe pull request and commit the session is pinned to.
untrusted_vendor_summarystring or nullnoThe vendor's summary: untrusted text, never acted on.
updated_atstring (date-time)yesWhen the session's latest status was recorded.
vendorAgentVendoryesThe coding-agent vendor running the session.
vendor_statusstring or nullnoThe vendor's own status token.
vendor_urlstring or nullnoThe session in the vendor's console.

AgentSessionConnection#

A vendor connection a session on the previewed target may use.

FieldTypeRequiredDescription
idstring (uuid)yesThe connection's ID, which a start names as connection_id.
vendorAgentVendoryesThe coding-agent vendor.

AgentSessionPrompt#

One of these objects, told apart by status:

statusDescriptionOther fields
AVAILABLEconnections (array of AgentSessionConnection, optional); prompt_digest (string, required); target (AgentSessionTarget, required); untrusted_text (string, required); withheld_values (integer (uint), required)
UNAVAILABLEreason (string, required)

AgentSessionTarget#

What a session is pinned to: the finding's own reviewed pull request.

FieldTypeRequiredDescription
github_repository_idinteger (int64)yesThe repository's stable GitHub ID, which the connection allowlists.
head_shastringyesThe exact commit the review read. The session starts from it.
pull_request_numberinteger (int64)yesThe reviewed pull request.
repository_full_namestringyesThe repository's owner/name on GitHub, as last recorded.
repository_idstring (uuid)yesThe reviewed repository's Proofline ID.

AgentVendor#

Type: CURSOR_CLOUD_AGENTS, DEVIN

AssessmentProjection#

FieldTypeRequiredDescription
assessment_idstring (uuid)yesAssessment that owns this route binding.
environment_idstring (uuid)yesEnvironment that the assessment covers.
pass_output_recordedbooleanyesWhether this assessment retained a generalist output record.
pass_output_sha256string or nullnoDigest of the immutable generalist output, when the assessment retained one.
passesarray of PassProjectionyesPass and symbolic model binding retained by the plan.
reachstringyesEnvironment reach retained by the plan.

AuthorChoice#

FieldTypeRequiredDescription
idinteger (int64)yesThe pull request author's GitHub user ID, the value the author filter accepts.
loginstring or nullnoThe author's most recently recorded GitHub login, a display label. Null when none is recorded.

ChangeDiagramKindView#

Type: FLOWCHART, SEQUENCE

ChangeDiagramOutcome#

ValueDescription
DRAWN
NO_INTERACTIONNo interaction between three or more components survived selection.
INDEX_INCOMPLETEThe head's code index could not vouch for every edge.
OVER_CAPSThe changed call path is larger than a diagram shows.
DECISION_UNAVAILABLEA decision the diagram depends on gave no answer.

ChangeDiagramView#

The change-level diagram recorded for a review, or why there is none.

FieldTypeRequiredDescription
kindChangeDiagramKindView or nullnoDiagram format when a diagram was drawn; otherwise null.
legendarray of stringyesMarkdown lines under the diagram: which environment and snapshot its dashed relations come from, or which environment was not read.
mermaidstring or nullnoMermaid source the server generated from the stored graph. Every label is escaped, and no model wrote any of it. Absent unless outcome is DRAWN.
outcomeChangeDiagramOutcomeyesWhether the diagram was drawn, or why no diagram is available.

ChangeSummary#

What a review recorded about its change.

FieldTypeRequiredDescription
base_shastring or nullnoThe compared base commit. Null when the review pinned none.
filesarray of FileFactyesThe changed files the review read, by path, with the depth it read them at. Empty when the review recorded no change digest. Files the review's filters kept from review are listed apart, with their reason.
head_shastringyesThe reviewed head commit.
proseProse or nullnoModel-written prose. Present only when prose_outcome is PUBLISHED. It is untrusted text: render it inert.
prose_outcomeProseOutcomeyesThe recorded prose-generation outcome, before response-time withholding.
routeSummaryRoute or nullnoThe route the summary applied. Null when the review recorded no change digest, so no route was asked.

CheckFile#

One file World cited for a check's result.

FieldTypeRequiredDescription
pathUntrustedTextyesThe repository-relative path. It is repository text.
revisionCheckFileRevisionyesThe revision World read the file at.

CheckFileRevision#

The revision a cited file was read at.

ValueDescription
PROPOSED_CODE_REVISIONThe reviewed commit.
BASE_CODE_REVISIONIts merge base.

CheckLifecycle#

World's lifecycle disclosure for the evaluator version that answered, as the receipt recorded it. A deployment gate counts only GATING results (DeterministicCoverage::gate_effective_status), and only when it evaluates a deployment; the lifecycle alone permits or blocks nothing.

ValueDescription
GATINGEligible to count toward a deployment gate. A receipt recorded before lifecycle disclosure reads as this, the meaning its decisions were made under.
SHADOWRecorded for review. A gate never counts it.
QUARANTINEDSuspended after a recorded outcome contradicted it. A gate never counts it.
RETIREDWithdrawn. It takes part in no new evaluation.
UNKNOWNThe receipt carries a disclosure this projection cannot read.

CiFailureAttribution#

What the control plane records as a failure's cause.

Type: CAUSED_BY_CHANGE, PRE_EXISTING_ON_BASE, FLAKY_OR_INFRASTRUCTURE, ENVIRONMENT_STATE, UNKNOWN

CiFailureLine#

One failed CI job in the observation.

FieldTypeRequiredDescription
attributionCiFailureAttributionyesThe recorded cause: CAUSED_BY_CHANGE, PRE_EXISTING_ON_BASE, FLAKY_OR_INFRASTRUCTURE, ENVIRONMENT_STATE or UNKNOWN. UNKNOWN means the failure was not diagnosed, and undiagnosed says why.
failed_stepstring or nullnoThe first failed step's name, admitted the same way. Null when no step concluded as failed.
job_namestringyesThe job's name as the diagnosis admitted it: masked, or <withheld>. A protected value of the observing review reads as the withheld marker.
run_attemptinteger (int64)yesThe GitHub Actions run attempt the job failed in, from 1. The line is the newest diagnosed attempt of its run.
timed_outbooleanyesWhether the job timed out rather than failed.
undiagnosedCiFailureUndiagnosed or nullnoWhy the failure was not diagnosed. Set exactly when attribution is UNKNOWN.

CiFailureUndiagnosed#

Why a failed job's attribution is UNKNOWN.

ValueDescription
LOG_UNAVAILABLEGitHub returned no log for the job.
LOG_TOO_LARGEThe complete log exceeds the read bound.
LOG_NOT_ADMITTEDThe log could not cross the credential mask or protected-value admission. The console names which.
DECISION_UNAVAILABLEThe attribution decision fell back: Jev was unavailable or refused.
SHADOWThe attribution decision runs in shadow mode, so its answer is not applied.
UNDETERMINEDThe decision applied no cause.

CodeAssessmentStatus#

A code assessment's recorded execution status. It is never a verdict on the change: only COMPLETED says the assessment covered what it read.

ValueDescription
PENDING
RUNNING
COMPLETED
INCOMPLETE
EXCLUDEDThe repository's review configuration excluded the change, so the code assessment read nothing.

CodeCeilingStop#

What a code assessment had read when its head's spending ceiling stopped it. A rerun of the same commit runs under the same ceiling.

FieldTypeRequiredDescription
changed_filesinteger (uint)yesThe distinct files the reviewed change touched.
unfinished_pathsarray of stringyesThe changed files of each part of the change the ceiling stopped or never reached, in review order. The assessment may have read some of their changed lines, so this lists files it did not finish. Empty when the ceiling stopped it after every part was read.

CommentAddressEvaluationView#

One stored post-merge judgment of a finding comment.

FieldTypeRequiredDescription
evaluated_atstring (date-time)yesWhen the evaluation was made.
outcomeCommentAddressOutcomeyesADDRESSED, NOT_ADDRESSED, or INCOMPLETE when the merged code could not be judged.
reasonstringyesServer-authored reason. Render as text.

CommentAddressOutcome#

Type: ADDRESSED, NOT_ADDRESSED, INCOMPLETE

CommentReaction#

Type: THUMBS_UP, THUMBS_DOWN, LAUGH, HOORAY, CONFUSED, HEART, ROCKET, EYES

CommentReactionView#

One stored reaction on the finding's root comment.

FieldTypeRequiredDescription
actor_github_user_idinteger (int64)yesThe stable GitHub identity of whoever reacted.
actor_loginstring or nullnoProvider text. Render as text.
github_comment_idinteger (int64)yesThe GitHub comment the reaction is on: the finding's root comment.
reactionCommentReactionyesThe reaction as GitHub names it.

CommitDeploy#

One deploy of the commit and where its verification stands.

FieldTypeRequiredDescription
checkpointsarray of DeployCoverageCheckpointyesThe four checks in order, each with its recorded result, if any, and when a missing one becomes overdue. Empty when no verification of the deploy exists.
deploy_urlstring or nullnoThe deploy's console page.
deployment_taskstring or nullnoThe GitHub deployment's task, such as deploy or deploy:web.
environment_idstring (uuid)yesThe Proofline environment that holds the deploy.
gapsarray of DeployVerificationGapyesWhat the checks that leave the deploy unproven name.
github_environmentstring or nullnoThe GitHub Environment the deployment named.
regressedbooleanyesWhether any check recorded REGRESSED, whatever its gaps.
rollbackCommitDeployRollback or nullnoPresent when the deploy is a rollback: the previous deploy of the same task ran a commit that a recorded merge into this commit's branch made after this commit, as the deploy's console page reads it. Absent for a forward deploy and when either merge is unrecorded.
rolled_backbooleannoWhether the deploy's newest recorded check found its service serving an earlier deploy again, as its console page reads it. A later check that finds none clears it, while regressed keeps an earlier regression. Older responses omit it, which reads as false.
stateDeployCoverageStateyesWhere the deploy's verification stands.
workflow_run_attemptinteger (int64) or nullnoThe attempt of that run that created the deployment addressing the deploy; above 1 for a rerun.
workflow_run_attemptsarray of integer (int64)noEach distinct attempt of that run that created one of the deploy's deployments, ascending. A retry of a job that failed belongs to the deploy it retried, and a re-run of a job that had already landed is a deploy of its own. Absent outside Actions and when no recorded deployment of the deploy names its attempt.
workflow_run_idinteger (int64) or nullnoThe Actions run that created the deploy's deployments; absent outside Actions.

CommitDeployRollback#

What a rollback deploy rolled back, and what it restored.

FieldTypeRequiredDescription
restoresCommitRollbackDeploy or nullnoThe latest earlier deploy of this commit by the same task, before the deploys this one rolls back, within 30 days. Absent when the ledger holds none.
rolls_backarray of CommitRollbackDeployyesEach deploy of the same task that landed a commit merged into this commit's branch after it, after restores and before this deploy, newest first.

CommitDeployVerifications#

The deploys of one commit that Proofline recorded, across the organization's environments.

FieldTypeRequiredDescription
deploysarray of CommitDeployyesEach recorded deploy, earliest landing first.
recordedbooleanyesWhether the ledger holds any deploy of the commit. false says only that none was recorded, never anything about a deploy.

CommitReviewRequest#

Pushed commits to review: the exact base the change is compared with and the exact head it ends at.

FieldTypeRequiredDescription
base_commit_shastringyesThe full 40-character commit the change is compared with. GitHub must have it in this repository, and it must be an ancestor of the head.
head_commit_shastringyesThe full 40-character commit the change ends at. GitHub must have it in this repository.

CommitReviewResponse#

What a commit review request produced.

FieldTypeRequiredDescription
existingbooleanyesTrue when these exact commits already had a review and that one is returned. Sending the same commits twice reviews them once.
review_idstring (uuid)yesThe review of these commits, readable through the review and findings routes.

CommitRollbackDeploy#

One deploy a rollback names.

FieldTypeRequiredDescription
commit_shastringyesThe commit that deploy ran.
deploy_urlstring or nullnoThe deploy's console page.
landed_atstring (date-time)yesWhen its last deployment first succeeded, or its AWS run ended.

CountedCause#

What a review is counted under: the cause its assessments recorded, SPEND_LIMIT_REACHED where an assessment recorded a spend limit's code, or OUT_OF_CREDITS where an assessment recorded the credit refusal. An assessment's detail names that refusal by the rule public_reason_codes applies; no other detail is read into the summary.

Type: IncompleteCause or CreditRefusalCause

CoverageRefused#

An upload refused for its content: a symbolic or unknown commit, or a report that cannot be read. Nothing is stored.

FieldTypeRequiredDescription
detailstringyesOne sentence naming what was refused and why.
statusinteger (uint16)yesAlways 422.
titlestringyesAlways unprocessable coverage upload.

CoverageUploadRequest#

The coverage reports a CI run produced for one commit.

FieldTypeRequiredDescription
reportsarray of UploadedReportyesOne to 50 reports, each LCOV, Cobertura XML, JaCoCo XML or a Go cover profile, in a JSON body of at most 30 MiB.
tested_shastringyesThe full 40-character commit the tests ran on. GitHub must have it in this repository. A merge commit counts for a pull request head that is one of its two parents.

CoverageUploadResponse#

The report the upload recorded, or the one an identical upload recorded.

FieldTypeRequiredDescription
covered_linesinteger (uint64)yesCovered lines among those instrumented lines.
createdbooleanyesFalse when the same reports for this commit were already recorded.
formatsarray of stringyesThe format of each report, in upload order.
instrumented_linesinteger (uint64)yesInstrumented lines across the reports, a file two reports name under one path counted once.
report_idstring (uuid)yesThe recorded report.
tested_shastringyesThe commit the reports tested, as the upload named it.

CreditRefusalCause#

A funding refusal Billing repairs, named apart from the NOT_CONFIGURED it records. The public contract keeps the name it had when credits were its only refusal.

ValueDescription
OUT_OF_CREDITSThe organization had no credits left, so the code lane refused to run its model.
SPEND_LIMIT_REACHEDA monthly spend limit of the organization, a repository or a team was reached, so the assessment refused to start.

CustomerAssessment#

FieldTypeRequiredDescription
checksCustomerChecksyesThe deterministic World checks recorded for this assessment.
completed_atstring (date-time) or nullnoWhen the assessment completed. Null while it has not.
domainsarray of DomainViewyesThe risk domains the assessment evaluated, each with its status and reason, ordered by domain.
environment_display_namestringyesThe display name of the environment this assessment covers.
findingsarray of CustomerFindingyesThe findings this assessment recorded, SERIOUS first.
idstring (uuid)yesThe assessment's ID.
incompleteness_kindstring or nullnoWhy an INCOMPLETE assessment is incomplete: NOT_CONFIGURED, POLICY_EXCLUDED, EVIDENCE_UNAVAILABLE, HYPOTHESES_UNRESOLVED or MODEL_BUDGET_EXHAUSTED. Absent otherwise; an unclassified gap is not a complete assessment.
reason_codesarray of string or nullnoPublic assessment gap codes. A recorded out-of-credits refusal is projected as OUT_OF_CREDITS when no stored code exists. Other historical records may have no codes; private details are not exposed.
release_evidence_gapstring or nullnoThe typed gap the automatic release-set read recorded. Null when the read is pending, pinned a release, or was never attempted.
started_atstring (date-time) or nullnoWhen the assessment started. Null until it starts.
statusstringyesThe assessment's recorded status, such as RUNNING, COMPLETED or INCOMPLETE.

CustomerAssessmentDetail#

FieldTypeRequiredDescription
checksCustomerChecksyesThe deterministic World checks recorded for this assessment.
completed_atstring (date-time) or nullnoWhen the assessment completed. Null while it has not.
domainsarray of DomainViewyesThe risk domains the assessment evaluated, each with its status and reason, ordered by domain.
environment_display_namestringyesThe display name of the environment this assessment covers.
findingsarray of CustomerFindingyesThe findings this assessment recorded, SERIOUS first.
idstring (uuid)yesThe assessment's ID.
incompleteness_kindstring or nullnoWhy an INCOMPLETE assessment is incomplete: NOT_CONFIGURED, POLICY_EXCLUDED, EVIDENCE_UNAVAILABLE, HYPOTHESES_UNRESOLVED or MODEL_BUDGET_EXHAUSTED. Absent otherwise; an unclassified gap is not a complete assessment.
reason_codesarray of string or nullnoPublic assessment gap codes. A recorded out-of-credits refusal is projected as OUT_OF_CREDITS when no stored code exists. Other historical records may have no codes; private details are not exposed.
release_evidence_gapstring or nullnoThe typed gap the automatic release-set read recorded. Null when the read is pending, pinned a release, or was never attempted.
review_idstring (uuid)yesThe review this assessment belongs to.
started_atstring (date-time) or nullnoWhen the assessment started. Null until it starts.
statusstringyesThe assessment's recorded status, such as RUNNING, COMPLETED or INCOMPLETE.
subjectsarray of SubjectViewyesThe review subjects this assessment's own release set authorized, plus each PRIMARY subject that carries no release authorization.

CustomerCheck#

FieldTypeRequiredDescription
detailstring or nullnoWhy World refused the check, or otherwise World's recorded explanation of the result. Null when neither is recorded.
evaluated_atstring or nullnoWhen World evaluated this answer. A reused answer is evidence from this instant, which can precede the assessment.
filesarray of CheckFileyesThe files World cited as evidence for this result, once each in World's order, with the revision World read each at. Empty when World cited no file, and on results recorded before World cited files.
lifecycleCheckLifecycleyesThe lifecycle of the evaluator version that answered. It says whether a deployment gate could count this result, not whether one did.
namestringyesThe check's readable name, derived from its key.
outcomestringyesThe outcome the receipt recorded, which is the outcome a deployment gate weighed: READY, BLOCKED, UNRESOLVED, UNAVAILABLE, NOT_APPLICABLE or NOT_ASKED. A verdict never rewrites it.
unresolved_reasonUnresolvedReason or nullnoWhy an UNRESOLVED check did not settle, as World's verdict gave it. Absent on every other outcome, and on an unresolved receipt whose verdict names none of these reasons.

CustomerChecks#

FieldTypeRequiredDescription
familiesarray of CustomerCheckyesOne entry per recorded check result, ordered by check key and version. Empty when no receipt exists.
receipt_recordedbooleanyesWhether these checks come from an immutable deterministic coverage receipt. When false, no check result is recorded.
statusstringyesThe receipt's status, or PENDING, SUPERSEDED, STOPPED, NOT_ATTEMPTED or UNAVAILABLE when no receipt exists.

CustomerCodeAssessment#

The review's code assessment as it recorded its run. Its findings rest on the pinned code alone, never on World evidence.

FieldTypeRequiredDescription
base_commit_shastringyesThe base commit the code assessment compared the head with.
ceiling_stopCodeCeilingStop or nullnoHow much of the change the code assessment read before its head's spending ceiling stopped it. Null for every other ending, and for an assessment that recorded no change map.
completed_atstring (date-time) or nullnoWhen the code assessment ended. Null while it has not.
coverage_detailsarray of stringnoRecorded check coverage counts and fixed cancellation causes, without source text. Absent coverage does not establish that every check ran.
findingsarray of CustomerFindingyesThe code-only findings the code assessment recorded, SERIOUS first. An empty list does not establish deployment safety.
head_commit_shastringyesThe head commit the code assessment read.
idstring (uuid)yesThe code assessment's ID.
incompleteness_kindstring or nullnoWhy an INCOMPLETE code assessment is incomplete: NOT_CONFIGURED, POLICY_EXCLUDED, EVIDENCE_UNAVAILABLE, HYPOTHESES_UNRESOLVED or MODEL_BUDGET_EXHAUSTED. Null otherwise.
reason_codesarray of string or nullnoPublic causes of an INCOMPLETE code assessment: OUT_OF_CREDITS when credits refused its model, and MODEL_ANSWER_WITHHELD when the credential mask withheld its model's answer after the source was read. Absent otherwise; other recorded details stay private.
started_atstring (date-time) or nullnoWhen the code assessment started. Null until it starts.
statusCodeAssessmentStatusyesThe code assessment's recorded execution status.

CustomerEvidenceRef#

FieldTypeRequiredDescription
commit_shastring or nullnoThe commit a file or commit reference reads. Null for other kinds, and for a file reference whose review recorded no head commit.
companion_repositorystring or nullnoThe repository a companion_repository_file reference reads from. Null for every other kind.
end_lineinteger (uint32) or nullnoThe last cited line of a file reference. Null when the reference names no end line or is not a file reference.
file_sha256string or nullnoSHA256 of the complete original file bytes retained by a trusted ENV or CODE read. Absent on older references and partial reads.
kindstringyesThe reference's kind: repository_file, companion_repository_file, commit, workflow_run, world_entity, deterministic_test, recorded_read, sandbox_experiment, vendor_documentation or text.
labelstringyesThe reference's display label, such as a path with its line range. A recorded read, a vendor documentation read or an unnamed World entity carries a fixed label, and a deterministic test carries its check's readable name.
legacy_textstring or nullnoThe unstructured text of a text reference. Null for structured references and for recorded reads.
provenance_statusstringyesHow the reference was obtained: VERIFIED_REPOSITORY_READ, PINNED_WORLD_ENTITY, EXECUTED_DETERMINISTIC_TEST, EXECUTED_SANDBOX_EXPERIMENT, PROVIDER_REFERENCE, RECORDED_READ or LEGACY_UNSTRUCTURED.
repository_pathstring or nullnoThe cited file's path for a file reference. Null for every other kind.
start_lineinteger (uint32) or nullnoThe first cited line of a file reference. Null when the reference cites no line or is not a file reference.
urlstring or nullnoThe link the reference resolves to. Null when it resolves to none or the review's repository or head commit is unknown.
workflow_attemptinteger (int32) or nullnoThe run attempt of a workflow_run reference. Null when the reference names no attempt or is another kind.
workflow_run_idinteger (int64) or nullnoThe GitHub Actions run ID of a workflow_run reference. Null for every other kind.

CustomerFinding#

FieldTypeRequiredDescription
causal_graphFindingCausalGraphView or nullnoThe typed causal graph the reviewer supplied for an ordering or reachability finding. Null when the finding carries none.
claimstringyesWhat the reviewer states is wrong.
comment_evaluationCommentAddressEvaluationView or nullnoThe post-merge judgment of whether the finding comment was addressed. It is not a finding decision; null when none is recorded.
comment_reactionsarray of CommentReactionViewyesEmoji reactions stored on the Proofline finding comment. They are not a finding decision.
evidence_classFindingEvidenceClass or nullnoThe kind of proof the finding rests on, derived from the typed evidence it cites. Null on findings recorded before the class existed.
evidence_refsarray of CustomerEvidenceRefyesThe references the finding cites, resolved as the pull request comment resolves them.
finding_fingerprintstring or nullnoThe retained semantic fingerprint used to correlate findings. It is opaque and separate from the occurrence ID and reviewed code digest. Absent when no fingerprint is retained; no replacement is derived.
github_comment_urlstring or nullnoThe inline GitHub comment published for this occurrence of the finding. Null when none was published; earlier runs are never used as a fallback.
idstring (uuid)yesThe finding's ID.
impactstringyesThe consequence the reviewer states the claim has.
latest_validationCustomerFindingValidation or nullnoThe latest decision on the finding's series, with who made it, where and when. Null when no decision is recorded.
lifecycle_statestringyesThe finding's recorded lifecycle state: NEW, UNCHANGED, RESOLVED or REINTRODUCED.
local_findingsarray of MatchedLocalFindingnoEarlier occurrences in the author's local reviews linked by exact patch identity. These links carry no verdict or finding decision.
placementFindingPlacementView or nullnoWhere this review's comment gate placed the finding, as it recorded the placement. Null when the review recorded none.
remediationstring or nullnoThe reviewer's proposed fix. Null when it proposed none.
risk_domainstringyesThe risk domain the reviewer assigned to the finding.
rule_refsarray of FindingRuleRefViewyesThe bound review rules the reviewer cited for this finding, by key and the revisions its assessment showed the reviewer. A finding carried forward unchanged keeps the citations of the finding it carries. Empty when it cited none.
severitystringyesSERIOUS or WARNING.
supporting_evidenceFindingSupport or nullnoThe verdict explanation and evidence of the supported hypothesis that produced this finding. Null when the finding links no supported hypothesis.
symbolsarray of stringyesThe code identifiers the reviewer declared in the finding's prose, in declaration order, so a reader can set each as code.
thread_observationThreadObservationView or nullnoThe latest observation of the finding's GitHub thread state. It is not a finding decision; null when none is recorded.
validationstring or nullnoThe latest decision on the finding, the same value latest_validation carries. Null when no decision is recorded.

CustomerFindingValidation#

FieldTypeRequiredDescription
actor_github_user_idinteger (int64) or nullnoThe actor's stable GitHub user ID. Null for the automatic decision.
actor_loginstring or nullnoThe actor's GitHub login, a display label to render as text. Null for the automatic decision.
actor_namestring or nullnoThe actor's GitHub profile name, when known. Lead with it; the login is the fallback. Null for the automatic decision.
covering_author_kindstring or nullnoFor ALREADY_COVERED, HUMAN or BOT. Null for every other decision.
covering_author_loginstring or nullnoFor ALREADY_COVERED, the login of whoever wrote the covering comment, to render as text. Null for every other decision.
covering_comment_created_atstring (date-time) or nullnoFor ALREADY_COVERED, when the covering comment was written. Null for every other decision.
github_comment_urlstring or nullnoThe comment that carried a decision made on GitHub, or, for ALREADY_COVERED, the other reviewer's comment the decision rests on.
recorded_atstring (date-time)yesWhen Proofline recorded the decision.
sourcestringyesWhere the decision came from: UI for the app's assessment controls, GITHUB_COMMENT for a pull request comment, or PROOFLINE for the automatic ALREADY_COVERED decision.
validationstringyesThe decision: CONFIRMED, DISMISSED, FIXED, ACCEPTED_RISK or ALREADY_COVERED.

CustomerReviewDetail#

FieldTypeRequiredDescription
actionsReviewActionsyesWhich review actions the caller may take now.
assessment_countinteger (int64)yesHow many environment assessments this review has.
assessmentsarray of CustomerAssessmentyesThe environment assessments this review recorded.
audit_modestring or nullnoThe repository audit's mode, CODE_ONLY or INFRASTRUCTURE_AWARE, when this REVISION_SCAN is an audit. An audit's findings are in its audit report, not in finding_count or the review's assessments. Null for every other review.
base_branch_commit_shastring or nullnoThe base branch tip GitHub reported when the review was triggered, display metadata that differs from base_commit_sha when the base branch moved after the branch point.
base_commit_shastring or nullnoThe base revision the review compares against; for a pull request, the merge base of its head and base branch. Null until pinned, and for a first deployment.
base_commit_urlstring or nullnoThe GitHub page for base_commit_sha. Null when that commit or the repository is unknown.
base_refstring or nullnoThe pull request's base branch name as last recorded from GitHub, for orientation only. Null when no pull request state is recorded.
change_diagramChangeDiagramView or nullnoThe change-level diagram: the changed call path from the pinned code index and the relations World declares. Absent when the review recorded none.
change_summaryChangeSummary or nullnoWhat the change does and which files the review read at which depth. Null until the review's publication records it, and for a review that is not of a pull request. Generated text has current credentials and recorded protected values withheld; missing or expired provenance withholds the generated text whole.
check_run_urlstring or nullnoThe GitHub check run Proofline published for this review. Null when none was published.
code_assessmentCustomerCodeAssessment or nullnoThe code assessment this review recorded, apart from its environment assessments. Null when the review recorded none. It never completes an environment assessment, and no environment count includes its findings.
compare_urlstring or nullnoThe GitHub comparison of the base and head commits. Null unless both are pinned and the repository is known, and for a patch review, whose head GitHub does not have.
completed_atstring (date-time) or nullnoWhen the review reached a terminal status. Absent while it is still pending or running.
cost_fundingReviewCostFunding or nullnoWhat paid for cost_microcredits, read from each debit's own funding records. Present exactly when cost_microcredits is.
cost_microcreditsinteger (int64) or nullnoThe credits this run was charged so far, in microcredits, whoever paid: the plan, the free review month or the organization's credits. Null for a caller who is not a member of the organization.
counted_incomplete_causesarray of CountedCausenoincomplete_causes as the Inbox and the reviews cause: search count them: OUT_OF_CREDITS or SPEND_LIMIT_REACHED in place of the NOT_CONFIGURED an assessment records when credits or a monthly spend limit refused it. Present exactly when incomplete_causes is.
created_atstring (date-time)yesWhen the review was created.
current_head_commit_shastring or nullnoThe pull request's head commit as the latest provider projection reports it, which can differ from head_commit_sha. Set only on a single-review read, and absent for a deployment review or a pull request with no projection.
deep_review_escalationDeepReviewEscalation or nullnoAutomatic Deep Review outcome for this exact pinned comparison. Absent when no sensitive-path evaluation receipt was recorded.
diff_statsReviewDiffStats or nullnoLine totals from this run's pinned comparison. Null until recorded, or when the provider's changed-file list was incomplete.
environment_display_namesarray of stringyesDisplay names of this review's assessed environments, not current repository links.
environmentsarray of EnvironmentChecknoFor a pull-request review, each environment its repository linked when the review was created and each environment it assessed, with whether the review checked it and why not. Absent for any other review, and when the repository links no environment.
finding_countinteger (int64)yesHow many findings this review's assessments recorded, across all of them.
fix_generation_enabledbooleannoWhether fix generation is configured for this deployment and organization. Write authorization is checked again when a fix is requested.
head_commit_shastring or nullnoThe head commit this review is pinned to. For a patch review, the revision ID Proofline derives from its base commit and patch digest, which is not a commit. Absent when the review recorded none.
head_commit_urlstring or nullnoThe exact revision reviewed. A commit URL, never a branch URL: the branch moves, the reviewed input does not. Absent for a patch review.
head_refstring or nullnoThe pull request's head branch name as last recorded from GitHub, for orientation only. Null when no pull request state is recorded.
idstring (uuid)yesThe review's identifier.
incomplete_causesarray of IncompleteCausenoWhy an INCOMPLETE review ended incomplete, as its incomplete assessments recorded it, in name order. UNKNOWN alone when none recorded a cause. Absent for every other status, and on reads other than the reviews list and a single review.
investigation_findingsarray of ReviewInvestigationFindingnoThe supported findings of each environment investigation this review published, by assessment in recorded order, including those the pull-request Check left off its list. Absent when there are none.
is_deep_reviewbooleannoPresent and true when this run is a Deep Review.
kindstringyesPULL_REQUEST, DEPLOYMENT, PATCH, a review of local changes sent as a patch, COMMIT, a review of pushed commits, FILES, complete selected files at one pushed commit, MERGE_GROUP, the commit GitHub's merge queue built for a group of pull requests, or REVISION_SCAN, a scan of one captured commit.
linked_issuesLinkedIssueCapture or nullnoWhat this review's linked-issue receipt recorded, read from the receipt and never from current settings, so a later allowlist change does not alter it. Null when the review kept no receipt: a kind that reads no linked issues, a run that has not prepared its context yet, a run that predates receipts, or a receipt that does not decode. Null never means that no issue was captured.
local_reverificationsarray of LocalReverificationnoFor a patch review requested with verify_finding_ids, each finding it re-verifies against the patch and the outcome. The outcome is local: the pull request's finding is unchanged whatever it is. Absent otherwise.
merge_gatePullRequestMergeGate or nullnoThe deterministic policy for this exact repository/head, when opted in. Its captured review owner and GitHub bypass remain separate history.
merge_group_pull_request_numbersarray of integer (int64)noFor a MERGE_GROUP review, the pull requests GitHub queued in the group, in number order. Absent for every other kind, and until Proofline has read the group's members.
open_itemsOpenItemsView or nullnoWhat Proofline still has open for the reviewed head, counted from the current finding decisions. Absent while the review is PENDING or RUNNING, and for a repository audit, whose findings are in its report.
open_items_observationReviewOpenItems or nullnoDated PR counts with head, evaluated-scope and bounded thread proof. Absent when that observation is unavailable; scalar counts remain separate.
provider_waitProviderWait or nullnoWhat holds the review now: GitHub's rate limit, and when it resets. Null unless one of the review's runs waits for it, and once the run continues.
public_keystringyesThe review's stable public address: rev_ followed by its identifier without hyphens.
publicationstringyesWhether the review reached the pull request: PUBLISHED, WITHHELD, PUBLICATION_REQUESTED or PUBLICATION_REFUSED. A review run from Proofline is withheld until somebody publishes it.
publication_detailstring or nullnoWhy a publication was refused, or how one failed. Server text.
pull_request_author_avatar_urlstring or nullnoProvider-supplied avatar URL. Login-derived .png URLs do not work for GitHub App bot accounts and are not portable across GitHub hosts.
pull_request_author_github_user_idinteger (int64) or nullnoThe author's stable GitHub user id: identity for profile lookups, never display text. Absent when GitHub named no author.
pull_request_author_loginstring or nullnoProvider display metadata for the pull request author, not the rerun requester.
pull_request_author_namestring or nullnoThe author's GitHub profile name, when known. Lead with it; the login is the fallback. Display metadata, never identity.
pull_request_author_urlstring or nullnoThe author's profile on the deployment's GitHub host. Absent when no author login is known.
pull_request_draftboolean or nullnoWhether the pull request is a draft, as provider state last reported it. Display state only: an open draft keeps pull_request_state OPEN. Absent when pull_request_state is.
pull_request_numberinteger (int64) or nullnoThe pull request number. Absent for a deployment or patch review.
pull_request_statestring or nullnoCurrent provider state of the pull request: OPEN, CLOSED, or MERGED. Absent for deployment reviews or a missing projection.
pull_request_titlestring or nullnoThe pull request's title as provider state last reported it, so it names the change rather than only numbering it. Untrusted text: renderers must treat it as text, never markup.
pull_request_urlstring or nullnoThe pull request on GitHub. Absent for a deployment review or when the repository is unknown.
questions_unavailable_reasonQuestionsUnavailableReason or nullnoWhy Proofline answers no question about this run: FORK_PULL_REQUEST when the pull request is recorded as coming from a fork, whose conversations the fork policy excludes whatever the run. Absent otherwise, which does not mean a question will be answered: each one is still checked for access and retained evidence.
refreshRefreshView or nullnoHow this review decided what it reviews after a push or a full-review request. Absent for a review that refreshes nothing, and while a refresh has not decided yet.
related_reviewsarray of RelatedReviewyesEvery other run for this pull request the caller can see, plus reviews joined to this one by supersession or rerun.
repository_full_namestring or nullnoThe repository's owner/name. Absent when the review names no repository.
repository_idstring (uuid) or nullnoThe review's repository. Set only on a single-review read, and absent there when the review names no repository.
repository_namestring or nullnoThe repository's name within its owner. Absent when the review names no repository.
repository_urlstring or nullnoThe repository on GitHub. Absent when the deployment's web base cannot be joined with the stored name.
requested_byActorView or nullnoWho asked for this review, for the reviews a person asked for: the run-now button, a rerun, a pull request review command, or local changes and pushed commits sent from the CLI or an editor. Absent on automatic reviews, and on reviews recorded before requesters were.
review_comment_urlstring or nullnoThe pull request review Proofline submitted for this review. Null when it submitted none.
review_cost_microcreditsinteger (int64) or nullnoThe review work within the total, excluding the separately billed PR walkthrough. Visible to the same callers as the total.
review_retracted_atstring (date-time) or nullnoWhen a submitted pull request review was marked retracted, a marker only older versions set. Null otherwise.
run_numberinteger (int64) or nullnoOne-based, append-only ordinal within one repository pull request.
run_progressRunProgress or nullnoWhere an unfinished review's runs stand: running, queued for a worker, waiting for a scheduled step, or due again after an attempt that did not finish. Null once the review has ended.
statusstringyesThe review's lifecycle status: PENDING, RUNNING, COMPLETED, INCOMPLETE, FAILED, SUPERSEDED, STOPPED or EXCLUDED.
stoppablebooleanyesWhether the stop action applies: the review is PENDING or RUNNING and decides no deployment gate. It says nothing about the caller's permission.
stopped_atstring (date-time) or nullnoWhen the review was stopped. Null unless it was stopped.
stopped_byActorView or nullnoWho stopped this review, for a STOPPED review whose stop recorded its actor. Null otherwise.
stopped_fromstring or nullnoWhere the review was stopped: PROOFLINE or PULL_REQUEST. Null unless the stop recorded it.
subjectsarray of SubjectViewyesWhat this review covers: the revision under review and any companion repositories, workflow runs, artifacts or deployments.
submitted_reviewsarray of SubmittedReviewnoEvery distinct review Proofline submitted on the pull request for this run, including the early code publisher's, oldest first. Absent when it submitted none.
superseded_by_review_idstring (uuid) or nullnoThe newer review that superseded this one. Null when none did or the caller cannot see it.
trigger_originstringyesWho asked for this review: AUTOMATIC, COMMAND, RERUN, MANUAL, or UNKNOWN for a trigger key this build does not recognise.
trigger_sourcePatchTriggerSource or nullnoThe git hook that asked for this patch review: HOOK_PRE_COMMIT or HOOK_PRE_PUSH. Null for any other review, and for a patch review requested without naming a hook.
walkthroughWalkthroughView or nullnoThe reviewed head's changed files in reading groups, with a line per file. Absent until the walkthrough is stored, and for a review that has none.

Dataset#

Type: reviews, finding_outcomes, finding_validations, spend, findings

DeepReviewEscalation#

FieldTypeRequiredDescription
reasonstringyesA fixed customer explanation; internal admission errors are withheld.
statusDeepReviewEscalationStatusyesAutomatic Deep Review selection for this exact comparison: pending or unavailable evidence, refused admission, admitted, or not selected.

DeepReviewEscalationStatus#

Type: UNEVALUATED, REFUSED, ADMITTED, NOT_SELECTED

DeployCheckResult#

ValueDescription
HEALTHYThe deployed revision runs, a completed change check covered it, and every signal the deploy compares was read in full and stayed within tolerance. A deploy whose task the delivery target maps to services compares only the signals that name no service and those that name one of its services in the signal's Cloud Run project, and in its location when it names one, or in the signal's ECS account and region, and in its cluster when it names one. Every other deploy compares every watched signal. With none watched, every ECS service's rollout completed instead.
REGRESSEDThe deploy stopped running after it landed, its own ECS rollout failed, or a signal moved past its tolerance in the worse direction.
SUPERSEDEDA later deploy of another revision replaced this one.
INCOMPLETENothing regressed, and at least one gap leaves the check unproven.

DeployCheckpoint#

One of the four checks of a deploy.

Type: LANDING, MINUTES_20, HOUR_1, DAY_1

DeployCoverageCheckpoint#

One checkpoint of a verified deploy.

FieldTypeRequiredDescription
checkpointDeployCheckpointyes
due_atstring (date-time)yesWhen a missing check becomes overdue, allowing the workflow's read delay, landing inventory reread, successor wait and transient-read retries.
gapsarray of DeployVerificationGapnoThe gaps this window's check recorded, beside its recorded result; empty while no check of this window is recorded. The deploy's gaps unite those that leave it unproven.
resultDeployCheckResult or nullnoThe recorded result; absent while no check of this window is recorded.

DeployCoverageState#

Where one deploy's verification stands. Each deploy has exactly one, so the counts add up to the population.

ValueDescription
VERIFIEDAll four checks recorded HEALTHY or REGRESSED and none names a gap, a change-check gap included.
VERIFIED_UNTIL_SUPERSEDEDA later deploy of the same task replaced this one after its landing check, and every check before then recorded HEALTHY or REGRESSED and names no gap, a change-check gap included. The verification observed the deploy for as long as it ran; the next deploy's own verification covers the time after.
SUPERSEDEDA later deploy replaced this one at its landing check, or a check before the replacement has no recorded result.
INCOMPLETEA check recorded INCOMPLETE, or a check other than SUPERSEDED names a gap, a change-check gap included, whatever it recorded.
UNRECORDEDA check came due, or the verification run ended, with no result recorded for it.
NOT_YET_DUEThe checks recorded so far established the revision and signals, and the next one is not due yet.
UNVERIFIEDThe deploy landed and no verification of it exists in this environment, as when it landed while deploy checks were off. A GitHub deploy with no verification whose deployments were all first received before the environment's link to its repository existed is not in the population at all.
FAILEDThe latest status of one of the deploy's GitHub deployments is failure or error, even after it landed; in an Actions run, the deployment of the latest attempt of one of its jobs.
INACTIVEThe ledger holds only inactive statuses of the deploy's GitHub deployments: it never saw them land or fail.

DeployVerificationGap#

A named reason a check could not establish part of what it compares.

ValueDescription
CHANGE_CHECK_MISSINGNo review covered the deployed revision.
CHANGE_CHECK_INCOMPLETEThe change check that covered it did not complete.
ENVIRONMENT_NOT_CHECKEDA completed review covered the deployed revision but did not assess this environment, as a pull request review does while environment checks are off. The review is cited; the environment stays unchecked.
RUNNING_REVISION_UNKNOWNThe ledger shows no running revision for the deploy, or a late check's runtime read shows a later deployment of the same task that landed after the check came due, so it shows the present and not the window.
RUNTIME_TARGET_UNAVAILABLEThe check found no runtime to read: the environment names no Cloud Run service, the deploy's task is mapped to no approved service, or the delivery target's ECS runtime has no connected AWS account. An AWS run whose delivery target names no ECS runtime records it too.
RUNTIME_CAPABILITY_UNQUALIFIEDThe AWS runtime was not read, because no serving artifact could yet be bound to a repository commit. Checks before AWS serving bindings recorded this for every AWS deploy; no check records it now.
AWS_TELEMETRY_CONNECTION_UNAVAILABLENo active AWS connection of the environment can read the CloudWatch signal, or, when every watched signal is a CloudWatch signal, any of them.
RUNTIME_INVENTORY_UNAVAILABLEThe check could not read an inventory of the connection's Cloud Run services or ECS tasks: Kian retains none, or the read failed or timed out. Nothing shows what runs.
RUNTIME_INVENTORY_STALEThe newest inventory is older than the reader accepts, or was observed before the deploy landed, so nothing is read from it.
RUNTIME_INVENTORY_INCOMPLETEThe newest inventory's collection did not read every table the runtime read needs in full, so nothing is read from it.
RUNTIME_SERVICE_UNKNOWNThe inventory holds no single record of a service the check reads.
RUNTIME_TRAFFIC_UNKNOWNA Cloud Run service's traffic shares do not add up to 100 percent, so what serves it is unknown.
RUNTIME_REVISION_UNKNOWNA serving Cloud Run route names no revision the inventory holds, or an ECS service has no running task, more tasks than the reader reads, or a running container without an image digest.
RUNTIME_ROLLOUT_UNSETTLEDAn ECS service's rollout has not settled: its primary deployment's rollout is not complete, it has more than one deployment, or it runs fewer tasks than it wants. When nothing else decides the runtime read, the check reads once more, after the next inventory collection, and records this only from that read. A failed rollout or a ledger successor decides the check at the first read, which records this beside it.
RUNTIME_COMMIT_BINDING_MISSINGA serving revision or container shows no commit: neither a qualified attestation of a Cloud Run revision's image digest nor its commit-sha label names a commit, an ECS image has no single qualified attestation of its commit, or every running container was built elsewhere.
RUNTIME_ATTESTATIONS_PERMISSION_PENDINGThe running image's commit binding was not read because the repository's GitHub installation has not accepted the App's attestations permission. It replaces RuntimeCommitBindingMissing.
RUNTIME_IMAGE_BUILT_EARLIERA running ECS container binds to a commit the deployed revision descends from, and the images its ECR repository received after it were not all read or bound, so whether a later build at or before the deployed revision replaced it is unknown. The newest such build runs the deploy, and a replaced one is a mismatch.
RUNTIME_TASK_UNMAPPEDThe repository deploys several GitHub deployment tasks into the environment, and its delivery target's task map does not name this deploy's task. No other task's services stand for it.
TELEMETRY_CONNECTION_UNAVAILABLEProofline holds no Cloud Monitoring read access for the environment.
TELEMETRY_CREDENTIAL_UNAVAILABLEThe read credential could not be minted for this window.
NO_SIGNALS_CONFIGUREDThe environment watches no signal. A check whose every ECS service's rollout completed records it under the report's suggestions instead.
NO_SIGNALS_FOR_TASK_SERVICESThe environment watches signals, but the deploy's task is mapped to services and every watched signal names a service the check does not compare, so it compared none. A mapped task's check compares a signal that names one of its services in the signal's Cloud Run project, and in its location when it names one, or in the signal's ECS account and region, and in its cluster when it names one.
SIGNAL_PROJECT_NOT_CONNECTEDNo verified Cloud Build connection of the environment reads the signal's project. A Cloud Run, GKE or other connection to the same project does not read its metrics.
SIGNAL_CONFIGURATION_INVALIDThe signal's descriptors or statistic do not form a valid query, the project has no such metric, or the statistic cannot apply to the metric's kind and value type.
SIGNAL_RESPONSE_INVALIDCloud Monitoring answered with something the reader refused.
SIGNAL_READ_PARTIALThe provider read covered only part of the window, for the reason the reading records.
SIGNAL_READ_UNAVAILABLEThe provider read returned nothing for the window, for the reason the reading records, such as a refused permission.
SIGNAL_NO_DATAA complete read returned no point and the signal does not treat that as zero.
SIGNAL_NOT_SINGLE_SERIESThe provider reduced the read to more than one series.
SIGNAL_BUCKET_UNEXPECTEDThe read returned more than one bucket for the window.
BASELINE_UNAVAILABLEThe window has a value and its baseline before landing has none.
BELOW_TRAFFIC_FLOORA compared service's traffic signal counted fewer requests than its floor in the check's window or in its baseline, so that service's other signals say too little to call the check healthy. Each of the service's signal reports names the floor, both windows and their counts under traffic.
BASELINE_HELD_REGRESSIONAn earlier deploy of the same task found the signal regressed in a check whose window overlaps the hour before this deploy started, and the baseline that check compared with is not usable: its window ended more than a day before this deploy started, or the signal would no longer send the query it cites. The regressed hour is never compared in its place, so the signal is not compared.

DomainView#

FieldTypeRequiredDescription
domainstringyesThe risk domain this evaluation covers.
reasonstringyesWhy the domain was considered or skipped, as recorded with the evaluation.
statusstringyesCONSIDERED or SKIPPED.

EarlierOpenFinding#

A published occurrence of an unresolved series absent from the current run.

FieldTypeRequiredDescription
finding_idstring (uuid)yesThe occurrence in the series' first published review.
finding_series_idstring (uuid)yesThe unresolved environment finding series counted for this run.
review_idstring (uuid)yesThe first published review containing this occurrence.
run_numberinteger (int64)yesThe earlier pull-request run that contains this occurrence.
severitystringyesSeverity used by the series count; the linked occurrence may be less severe.
titlestring or nullnoThe linked occurrence's title, which heads the series' GitHub thread. Absent when the occurrence has none or its review withheld a value from it, so no text that review kept off GitHub is shown here.

EnvironmentCheck#

One environment linked to the reviewed repository, and whether this review checked it.

FieldTypeRequiredDescription
environment_display_namestringyesThe environment's display name.
environment_external_keystringyesThe environment's key, which names its console pages.
reasonEnvironmentCheckReason or nullnoWhy the environment was not checked or does not apply. Null when it was checked or its check is still running.
stateEnvironmentCheckStateyesWhether this review checked the environment.

EnvironmentCheckReason#

ValueDescription
NOT_COVEREDNOT_CHECKED: Proofline does not check this environment for pull requests, so the review assessed its code only.
NO_CLOUD_ACCOUNTNOT_CHECKED: no AWS account, Google Cloud project or Azure subscription is connected to the environment, so the review assessed its code only. The environment's Setup page connects one.
READS_REFUSEDNOT_CHECKED: the environment's assessment is incomplete because the inventory it pinned lacks reads a connected account's role refused. The environment's Setup page names them.
FORK_PULL_REQUESTNOT_CHECKED: the pull request comes from a fork, which Proofline does not check against an environment.
UNFINISHEDNOT_CHECKED: the environment's assessment did not finish.
ENDEDNOT_CHECKED: the review or the assessment stopped before the environment was checked.
PULL_REQUEST_REVIEWS_OFFNOT_APPLICABLE: pull request reviews are off on this repository's link to the environment.

EnvironmentCheckState#

ValueDescription
CHECKEDThe environment's assessment finished.
CHECKINGThe environment's assessment is still running.
NOT_CHECKEDThe review did not check the environment; reason says why.
NOT_APPLICABLEThe repository's link to the environment does not ask for pull request reviews; reason says so.

ExportEvidenceKind#

Type: repository_file, repository_file_at_commit, companion_repository_file, commit, workflow_run, world_entity, deterministic_test, recorded_read, text

ExportEvidenceRef#

FieldTypeRequiredDescription
idstringyesStable opaque occurrence-local identity, independent of evidence values.
kindExportEvidenceKindyesThe recorded reference kind, or text for a kind this export does not recognize.

ExportFindingLane#

The review lane whose assessment recorded a finding.

ValueDescription
ENVIRONMENTAn environment assessment, which covers one environment.
CODEThe code assessment of the review's repository, which covers no environment.

ExportFindingLifecycle#

Type: NEW, UNCHANGED, RESOLVED, REINTRODUCED

ExportFindingSeverity#

Type: WARNING, SERIOUS

ExportReviewKind#

Type: PULL_REQUEST, DEPLOYMENT, PATCH, COMMIT, FILES, MERGE_GROUP, REVISION_SCAN

ExportReviewStatus#

Type: PENDING, RUNNING, COMPLETED, INCOMPLETE, FAILED, SUPERSEDED, STOPPED, EXCLUDED

ExportRow#

The closed row vocabulary of the existing raw-stream export operation.

Type: ReviewsExportRow or FindingOutcomesExportRow or FindingValidationsExportRow or SpendExportRow or FindingsExportRow

ExportValidation#

Type: UNKNOWN, CONFIRMED, DISMISSED, FIXED, ACCEPTED_RISK, ALREADY_COVERED

ExportValidationSource#

Type: ui, github_comment, proofline

FileFact#

FieldTypeRequiredDescription
additionsinteger (int64)yesLines added in this file's recorded diff.
deletionsinteger (int64)yesLines deleted in this file's recorded diff.
depthReviewDepthyesThe review depth recorded for this file.
pathstringyesThe repository-relative path of the changed file.
previous_pathstring or nullnoThe path before a rename.
statusstringyesGitHub's file status: added, modified, removed, renamed and so on.

FileProjection#

FieldTypeRequiredDescription
depthstringyesThe code-inspection depth retained by the plan.
passesarray of stringyesThe review passes bound to this file.
pathstringyesRepository-relative path retained by the routing plan.

FileReviewRequest#

Whole files selected at one exact pushed commit.

FieldTypeRequiredDescription
commit_shastringyesThe exact pushed commit whose whole files are reviewed.
pathsarray of stringyesBetween one and twenty exact repository-relative file paths.

FileReviewResponse#

What a named-file review request produced.

FieldTypeRequiredDescription
existingbooleanyesTrue when this exact selection already had a review and that one is returned. Sending the same selection twice by the same person reviews it once.
review_idstring (uuid)yesThe review of this selection, readable through the review and findings routes.

FileScope#

The retained selection, not a digest of file contents. Its identity uses a version prefix and length-framed UTF-8 paths in their sorted order.

FieldTypeRequiredDescription
pathsarray of stringyesSorted, unique repository-relative paths selected for whole-file review.
paths_digeststringyesDigest of the selected paths, not the file contents.

FilterChoice#

FieldTypeRequiredDescription
idstring (uuid)yesThe repository or environment ID to pass as the filter value.
namestringyesThe repository's full name or the environment's display name.

FindingCausalEdgeView#

FieldTypeRequiredDescription
fromstringyesThe id of the node the edge starts at.
labelstring or nullnoWhat the relation is. Model-authored text, and absent when the reviewer gave none.
tostringyesThe id of the node the edge ends at.

FindingCausalGraphView#

FieldTypeRequiredDescription
edgesarray of FindingCausalEdgeViewyesDirected relations between nodes. An edge can name a node identifier that no node carries.
nodesarray of FindingCausalNodeViewyesThe actors in the finding, as the reviewer named them.

FindingCausalNodeView#

FieldTypeRequiredDescription
idstringyesThe reviewer-assigned node identifier that edges refer to. Model-authored text.
labelstringyesWhat the node is. Model-authored text: render as text.
rolestringyesOne of change, dependency, failure, blocked or ok, or empty; a value outside that set is returned as recorded.

FindingEvidenceClass#

ValueDescription
ANALYZER_BACKED
CODE_ONLY
WORLD_EVIDENCEDA World entity or deterministic World evaluation at the pinned snapshot.
EXPERIMENT_BACKEDA read of the deployed environment the sandbox recorded.

FindingFixPrompt#

One of these objects, told apart by status:

statusDescriptionOther fields
AVAILABLEuntrusted_text (string, required)
UNAVAILABLEreason (string, required)

FindingOutcomesCount#

FieldTypeRequiredDescription
countinteger (int64)yesPublished finding series in the group whose series disposition is RESOLVED_BY_PUSH.
drilldownFindingOutcomesDrilldownyesThe query that lists the series behind count.

FindingOutcomesDrilldown#

FieldTypeRequiredDescription
group_keystringyesThe group_key query value that limits the listed series to this count's group.
outcomeFindingOutcomesOutcome or nullnoThe outcome query value for an outcome selector, and null for every other selector.
post_mergeFindingOutcomesPostMergeOutcome or nullnoThe post_merge query value for a post_merge selector, and null for every other selector.
selectorFindingOutcomesSelectoryesThe selector query value that lists the series behind this count.

FindingOutcomesExportRow#

Exact shared aggregate counts for one admitted group and requested window.

FieldTypeRequiredDescription
code_changedFindingOutcomesCountyesPublished series whose series disposition is RESOLVED_BY_PUSH.
dataset_versioninteger (uint16)yesThe row contract version, always 1.
external_validation_denominatorinteger (int64)yesHuman-validated series; excludes automatic coverage and unrecorded outcomes.
fromstring (date-time)yesThe inclusive start of the requested first-publication window.
group_byFindingOutcomesGroupByyesThe dimension that defines this row's group.
keystringyesThe grouping value: a repository or environment ID, a risk domain, a severity or a review kind, as group_by selects. Grouped by environment, code-lane findings, which belong to no environment, share the key code_review.
limitationsarray of stringyesGaps in publication history that keep findings outside these counts; they mean missing history, not zero findings.
namestringyesThe group's display name: the repository's full name (or Repository and its ID when no name is recorded), the environment's display name (Code review for the code-lane group), or otherwise key.
organization_idstring (uuid)yesThe organization whose findings are counted.
outcomesarray of FindingOutcomesOutcomeCountyesOne count per outcome, always all six FindingOutcomesOutcome values in a fixed order.
post_mergeFindingOutcomesPostMergeCountsyesPublished series counted by their latest post-merge comment-address evaluation.
publishedinteger (int64)yesFinding series in the group whose first publication falls inside the window.
tostring (date-time)yesThe exclusive end of the requested first-publication window.

FindingOutcomesGroupBy#

Type: repository, environment, risk_domain, severity, subject_kind

FindingOutcomesOutcome#

Type: FIXED, CONFIRMED, ACCEPTED_RISK, DISMISSED, ALREADY_COVERED, NO_RECORDED_OUTCOME

FindingOutcomesOutcomeCount#

FieldTypeRequiredDescription
countinteger (int64)yesPublished finding series in the group whose latest qualifying outcome is outcome.
drilldownFindingOutcomesDrilldownyesThe query that lists the series behind count.
outcomeFindingOutcomesOutcomeyesThe outcome counted, where NO_RECORDED_OUTCOME means the series has no qualifying validation.
validation_sourcesFindingOutcomesValidationSourcesyescount split by where the outcome was recorded; a NO_RECORDED_OUTCOME count has no source.

FindingOutcomesPostMergeCount#

FieldTypeRequiredDescription
countinteger (int64)yesPublished finding series in the group whose latest evaluation recorded outcome.
drilldownFindingOutcomesDrilldownyesThe query that lists the series behind count.
outcomeFindingOutcomesPostMergeOutcomeyesThe outcome of the series' latest comment-address evaluation.

FindingOutcomesPostMergeCounts#

FieldTypeRequiredDescription
judgedinteger (int64)yesSeries with a retained evaluation, rather than all published series.
outcomesarray of FindingOutcomesPostMergeCountyesOne count per post-merge outcome, always ADDRESSED, NOT_ADDRESSED and INCOMPLETE in that order.

FindingOutcomesPostMergeOutcome#

Type: ADDRESSED, NOT_ADDRESSED, INCOMPLETE

FindingOutcomesSelector#

Type: outcome, code_changed, post_merge

FindingOutcomesValidationSources#

FieldTypeRequiredDescription
consoleinteger (int64)yesSeries whose outcome comes from a validation recorded in the console.
github_replyinteger (int64)yesSeries whose outcome comes from a validation recorded by a GitHub comment reply.
prooflineinteger (int64)yesSeries whose outcome is ALREADY_COVERED, recorded by Proofline itself.

FindingPlacement#

Where the comment gate placed a finding. The placement is what the gate decided, not proof that a comment was posted.

ValueDescription
INLINEAn inline comment on the pull request.
CHECK_ONLYA line on the Check, with no inline comment.
WITHHELDKept off the pull request.

FindingPlacementView#

FieldTypeRequiredDescription
placementFindingPlacementyesThe recorded placement.
reasonstringyesWhy the finding has this placement, in Proofline's own words.

FindingPromotionView#

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen the immutable human override was requested.
detailstring or nullnoProvider refusal, when publication could not proceed.
promoted_by_loginstringyesDisplay metadata for the person who requested the override.
statusstringyesRecorded publication state of the human override.

FindingRuleIncidentView#

The incident behind a cited prevention rule, as the finding's assessment pinned it.

FieldTypeRequiredDescription
checkstringyesWhat the assessment's pinned Kian view showed of that condition.
commit_shastringyesThe commit the incident's confirmed cause names.
conditionstringyesWhat the incident needed in the environment.
investigation_idstring (uuid)yes

FindingRuleRefView#

One review rule a finding cites. It carries no rule text and no scope identifier; the review rules page shows those to its readers.

FieldTypeRequiredDescription
keystringyesThe rule key.
revisionsarray of FindingRuleRevisionViewyesThe layers of the key the assessment showed the reviewer, in precedence order. A team rule is a layer over the key for the files it matches.

FindingRuleRevisionView#

FieldTypeRequiredDescription
incidentFindingRuleIncidentView or nullnoThe incident a prevention rule came from. Absent for every other rule.
revisioninteger (int32) or nullnoThe console revision. Null for a configuration-file or implicit rule.
scopestringyesORGANIZATION, ENVIRONMENT, TEAM or REPOSITORY.
sourceRuleSourceyesWhere the rule came from: the console, the repository's configuration file, or the implicit repository and environment guidance.

FindingSupport#

FieldTypeRequiredDescription
evidence_refsarray of CustomerEvidenceRefyesThe references the hypothesis cites for its verdict.
explanationUntrustedText or nullnoWhy the hypothesis reached its verdict, as recorded at resolution. Null when no explanation is recorded.

FindingValidationsExportRow#

One append-only validation, including its recorded actor display metadata. Missing historical actors stay absent; the export does not infer identity.

FieldTypeRequiredDescription
actor_github_user_idinteger (int64) or nullnoThe GitHub user ID captured as the actor, null when none was captured.
actor_loginstring or nullnoThe GitHub login captured as display metadata at validation time, null when none was captured.
actor_user_idstring (uuid) or nullnoThe Proofline user captured as the actor, null when none was captured.
created_atstring (date-time)yesWhen the validation was recorded; the export window filters on this time.
dataset_versioninteger (uint16)yesThe row contract version, always 2.
environment_idstring (uuid) or nullnoThe environment of the assessment that recorded the finding, null for a code-lane finding.
expires_atstring (date-time) or nullnoWhen the decision expires, null when it records no expiry.
finding_idstring (uuid)yesThe finding occurrence the validation applies to.
laneExportFindingLaneyesThe lane of the assessment that recorded the finding.
organization_idstring (uuid)yesThe organization that owns the finding.
repository_idstring (uuid) or nullnoThe review's primary repository, null when the review records none.
review_idstring (uuid)yesThe review whose assessment recorded the finding.
sourceExportValidationSourceyesWhere the decision was recorded: ui or github_comment for a person, proofline for automatic coverage.
validationExportValidationyesThe recorded decision, including legacy UNKNOWN values.
validation_idstring (uuid)yesThe stable ID of this validation record.

FindingsExportRow#

One immutable finding occurrence. Reference payloads and evidence values stay private.

FieldTypeRequiredDescription
assessment_idstring (uuid)yesThe environment or code assessment that recorded the finding; lane says which.
claimstringyesThe finding's claim, with supported credential shapes masked as <REDACTED:kind>.
created_atstring (date-time)yesWhen the finding was recorded; the export window filters on this time.
dataset_versioninteger (uint16)yesThe row contract version, always 2.
environment_idstring (uuid) or nullnoThe environment the assessment covers, null for a code-lane finding.
evidence_refsarray of ExportEvidenceRefyesThe finding's evidence references in recorded order, each reduced to a kind and an opaque ID; an empty list means the finding records none.
finding_idstring (uuid)yesThe stable ID of this finding occurrence.
impactstringyesThe finding's stated impact, with supported credential shapes masked.
laneExportFindingLaneyesThe lane of the assessment that recorded the finding.
lifecycle_stateExportFindingLifecycleyesThe occurrence's recorded lifecycle state relative to earlier occurrences.
organization_idstring (uuid)yesThe organization that owns the finding.
remediationstring or nullnoThe suggested remediation with credential shapes masked, null when none is recorded.
repository_idstring (uuid) or nullnoThe review's primary repository, null when the review records none.
review_idstring (uuid)yesThe review whose assessment recorded the finding.
risk_domainstringyesThe risk domain the finding is recorded under.
series_idstring (uuid) or nullnoThe finding series this occurrence belongs to, null when it belongs to none.
severityExportFindingSeverityyesThe finding's recorded severity.

GateStatus#

Type: REQUESTED, EVALUATING, ALLOWED, BLOCKED, BYPASSED, SUPERSEDED

IncompleteCause#

Why an assessment of the review ended incomplete, as the assessment recorded it (incompleteness_kind), or UNKNOWN when none did.

ValueDescription
NOT_CONFIGURED
POLICY_EXCLUDED
EVIDENCE_UNAVAILABLE
HYPOTHESES_UNRESOLVED
MODEL_BUDGET_EXHAUSTED
UNKNOWNThe review ended incomplete and no assessment recorded why.

KianFindingSource#

What published a supported Kian finding.

ValueDescription
CONFIRMED_REQUIREMENTA service violates a confirmed gate requirement of its delivery target ([requirements]).
INVESTIGATIONThe environment investigation found it ([kian_investigation]).
SHARED_IDENTITYA workload loses access when a change removes or narrows a grant on its shared identity.

LinkedIssueCapture#

The count and outcome of a review's linked-issue receipt. Issue numbers, titles and the receipt's gaps stay in the receipt.

FieldTypeRequiredDescription
captured_countinteger (int64)yesHow many issues the review captured as context.
outcomeLinkedIssueOutcomeyes

LinkedIssueOutcome#

What the review's linked-issue preparation found.

ValueDescription
NOT_CONFIGUREDNo issue source was connected for the review.
NO_REFERENCESThe pull request referenced no issue.
PREPAREDThe pull request referenced issues and the source was read.
SOURCE_UNAVAILABLEThe source could not be read, or the review's evaluation withheld linked issues.

LocalReverification#

One finding a patch review re-verified against the patch. The outcome is local: the pull request's finding is unchanged whatever it is.

FieldTypeRequiredDescription
checksanyyesEach deterministic check the finding cited and its result on the patched head. Empty until an outcome is recorded.
finding_idstring (uuid)yesThe finding being re-verified against this patch.
iterationinteger (int32)yesThe request's number among the requests to re-verify the finding's series on this patch, at most 3.
outcomeLocalReverificationOutcomeyesThe local re-verification result; it does not change the original finding.
stored_checkLocalStoredCheck or nullnoThe check a code reproduction stored for the finding, which a pushed head runs again; run its command against the local changes before pushing. The patch review does not run it. Absent for a finding with no stored check.

LocalReverificationOutcome#

RESOLVED_VERIFIED needs the re-investigation to reject the finding's hypothesis and every cited check to pass. STILL_PRESENT: the hypothesis is supported, or a check still finds the mechanism. NOT_VERIFIED: anything else, including a review that ended without an answer. PENDING: the review is still running.

Type: RESOLVED_VERIFIED, STILL_PRESENT, NOT_VERIFIED, PENDING

LocalStoredCheck#

A finding's stored check and the newest result it gave. Its runs show what the code did under the conditions the test exercised in a sandbox, and establish no fact about a deployed environment.

FieldTypeRequiredDescription
check_idstring (uuid)yes
commandstringyesThe command the sandbox ran the test with, as the agent recorded it, with the reproducing review's protected values withheld, and withheld whole when that provenance is gone. Untrusted text: render it as text.
last_resultStoredCheckResult or nullnoAbsent only for a check with no recorded run.

MatchedLocalFinding#

A local occurrence with the same semantic fingerprint as this finding.

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen the local review was requested.
finding_idstring (uuid)yesThe occurrence in that local review.
review_idstring (uuid)yesThe author's local review, linked by exact patch identity.

NotAssessedView#

FieldTypeRequiredDescription
environment_display_namestringyesThe display name of the environment whose assessment is not COMPLETED.
incompleteness_kindstring or nullnoThe assessment's recorded gap class. Absent is an unclassified gap, never a complete assessment.

OpenFindingCounts#

FieldTypeRequiredDescription
seriousinteger (uint64)yesFinding series with SERIOUS severity that are unresolved and not under an unexpired dismissal or risk acceptance.
warninginteger (uint64)yesFinding series with WARNING severity that are unresolved and not under an unexpired dismissal or risk acceptance.

OpenItemEnvironment#

FieldTypeRequiredDescription
display_namestringyesThe environment's display name.
environment_idstring (uuid)yesThe environment whose assessment is not complete.
reasonOpenItemsGapReasonyesWhy the assessment is not complete, derived from its status and recorded gap class; UNKNOWN when neither names a cause.
statusOpenItemsReviewStatusyesThe assessment's recorded status.

OpenItemsGapReason#

Type: NOT_STARTED, IN_PROGRESS, NOT_CONFIGURED, POLICY_EXCLUDED, EVIDENCE_UNAVAILABLE, HYPOTHESES_UNRESOLVED, MODEL_BUDGET_EXHAUSTED, FAILED, STOPPED, UNKNOWN

OpenItemsHeadState#

Type: CURRENT, OUTDATED, UNKNOWN

OpenItemsReviewStatus#

Type: PENDING, RUNNING, COMPLETED, INCOMPLETE, FAILED, SUPERSEDED, STOPPED, EXCLUDED, UNKNOWN

OpenItemsThreadUnknown#

Type: GITHUB_UNAVAILABLE, READ_LIMIT_EXCEEDED, TRUNCATED, RECORDED_THREAD_MISSING, REPOSITORY_UNAVAILABLE

OpenItemsThreads#

One of these objects, told apart by status:

statusDescriptionOther fields
KNOWNobserved_at (string (date-time), required); open_finding_threads (integer (uint64), optional); unresolved_count (integer (uint64), required); unresolved_urls (array of string, optional)
UNKNOWNreason (OpenItemsThreadUnknown, required)

OpenItemsView#

Recorded unresolved findings, accepted risks and assessment gaps. Coverage and notification suppression do not resolve a finding. These scalar counts make no claim about current heads, evaluated scope or threads.

FieldTypeRequiredDescription
accepted_risksinteger (uint)yesFinding series whose current decision is an unexpired ACCEPTED_RISK.
earlier_findingsarray of EarlierOpenFindingnoExact published occurrences of earlier unresolved environment findings.
not_assessedarray of NotAssessedViewyesRecorded assessment gaps, including explicit policy exclusions.
open_findingsinteger (uint)yesUnresolved recorded finding series, including notification-suppressed findings, decisions whose dismissal or risk acceptance expired, and earlier published series of the pull request that this review did not find again, and the supported findings its KIAN environment assessments published: each violated confirmed gate requirement the change does not set and each investigation finding, which have no severity.
serious_findingsinteger (uint)yesThe SERIOUS findings among open_findings.

Outcome#

Type: ALLOW, BLOCK

PassProjection#

FieldTypeRequiredDescription
model_bindingstringyesSymbolic configuration binding, not a historical model identity.
namestringyesPass name from the closed routing schema.

PatchReviewRequest#

Local changes to review: a unified diff against a commit GitHub has.

FieldTypeRequiredDescription
base_commit_shastringyesThe full 40-character commit the patch applies to. GitHub must have it in this repository.
patchstringyesThe changes as git diff --no-ext-diff --no-color <base> prints them, at most 5 MiB and 3000 files. Text changes only: binary changes, symbolic links and submodules are refused.
trigger_sourcePatchTriggerSource or nullnoThe git hook that sent this request, when one did. A review recorded by an earlier identical request keeps the source it recorded.
verify_finding_idsarray of string (uuid)noOpen findings of one pull request in this repository to re-verify against the patch, at most 20. The review re-investigates each one and reports its outcome in local_reverifications; the pull request's findings are unchanged whatever it is. Requires an API token. Each finding's series takes at most 3 requests per patch, and the pull request at most 10 re-verification requests per hour, counted with those a coding agent makes through MCP.

PatchReviewResponse#

What a patch review request produced.

FieldTypeRequiredDescription
existingbooleanyesTrue when this patch on this base already had a review and that one is returned. Sending the same patch twice reviews it once.
patch_digeststringyesSHA-256 of the canonical patch, the identity the review pins with the repository and base commit.
review_idstring (uuid)yesThe review of this patch on this base, readable through the review and findings routes.
verifyarray of PatchVerificationyesEach finding of verify_finding_ids the review re-verifies, one per finding series. Empty without verify_finding_ids.

PatchTriggerSource#

The git hook that asked for a patch review. The client declares it; it is provenance for the reader, never an authority.

Type: HOOK_PRE_COMMIT, HOOK_PRE_PUSH

PatchVerification#

One finding a patch review re-verifies against the patch.

FieldTypeRequiredDescription
finding_idstring (uuid)yesThe finding being re-verified against this patch.
iterationinteger (int32)yesThis request's number among the requests to re-verify the finding's series on this patch, at most 3.

PlanProjection#

FieldTypeRequiredDescription
assessmentsarray of AssessmentProjectionyesEnvironment assessment bindings recorded in the plan.
base_shastringyesBase commit pinned by the change digest.
change_digest_sha256stringyesDigest of the exact retained change input.
fallback_causesarray of stringyesSafe codes for fallback causes. Unrecognized values are never echoed.
filesarray of FileProjectionyesFile routing facts recorded in the plan.
head_shastringyesHead commit pinned by the change digest.
repository_idstring (uuid)yesRepository named by the validated immutable plan.

Problem#

RFC 9457 problem-details body. type is omitted and therefore about:blank: the title/detail pair carries the meaning.

FieldTypeRequiredDescription
detailstring or nullnoA caller-safe explanation of this occurrence, absent when the cause is an internal error that is logged rather than returned.
statusinteger (uint16)yesThe HTTP status code of the response that carries this body.
titlestringyesA short, stable summary of the problem class, such as not found or conflict.

Prose#

FieldTypeRequiredDescription
headlinestringyesAt most 120 characters.
notable_pathsarray of stringyesPaths in the pinned diff the prose calls out.
paragraphsarray of stringyesAt most three of at most 400 characters; one on the SHORT route.

ProseOutcome#

Why the summary carries prose or does not.

ValueDescription
PUBLISHED
NO_CHANGE_DIGESTThe review recorded no change digest to summarize.
NOT_REQUESTEDThe applied route was DETERMINISTIC_ONLY.
MODEL_UNAVAILABLENo fast-tier model was bound, priced or funded, or it did not answer.
MALFORMEDThe answer did not fit the tool's schema or its limits.
REJECTEDThe prose used a word a summary never uses ("safe", "no risk", "approved") or named a path outside the diff.
UNGROUNDEDJev answered that a statement does not follow from the diff slices.

ProviderWait#

A provider wait that holds the review now.

FieldTypeRequiredDescription
reasonProviderWaitReasonyesGITHUB_RATE_LIMIT: GitHub's rate limit for the organization's App installation is reached, and the review continues after it resets.
untilstring (date-time)yesWhen the wait ends: the reset GitHub named, or, when it named none, when the run is due again.

ProviderWaitReason#

Why a review's run waits on a provider.

Type: GITHUB_RATE_LIMIT

PullRequestMergeGate#

FieldTypeRequiredDescription
assessment_countinteger (int32) or nullnoThe number of environment assessments counted by the recorded decision. Null before a decision.
blocking_severitystringyesThe frozen blocking threshold, either SERIOUS (serious and critical findings) or WARNING (every supported finding); later settings do not restamp it.
bypassed_atstring (date-time) or nullnoWhen the bypass receipt was recorded. Null when this gate has no recorded bypass.
coverage_digeststring or nullnoThe digest of the deterministic coverage used by the decision, or null when no digest was recorded.
decided_atstring (date-time) or nullnoWhen the immutable decision was recorded. Null before a decision.
decisionOutcome or nullnoThe immutable ALLOW or BLOCK decision. Null until a decision is recorded.
finding_countinteger (int32) or nullnoThe number of blocking findings counted by the recorded decision. Null before a decision.
head_shastringyesThe exact lowercase commit SHA whose captured policy this gate evaluates.
idstring (uuid)yesThe immutable identity of the gate captured for this tenant, repository and head.
merge_commit_shastring or nullnoThe exact merge commit reported by GitHub for the bypass, or null when none was reported.
merged_by_github_user_idinteger (int64) or nullnoThe stable GitHub user ID reported by a merged-close bypass, or null when none was reported.
merged_by_loginstring or nullnoThe merger's GitHub login as this organization's developer record last saw it. Display metadata only. Null when the organization has no record of that user.
merged_by_namestring or nullnoThe merger's name, from the organization's developer record or their Proofline account. Display metadata only: merged_by_github_user_id stays the identity. Null when unknown.
merged_pull_request_numberinteger (int64) or nullnoThe actual pull request merged in the recorded bypass, which may differ from the captured PR.
policy_versionstringyesThe deterministic policy version frozen when this gate was captured.
pull_request_numberinteger (int64)yesThe first pull request that captured this head's gate; a shared-head merge may name another PR.
reason_codestring or nullnoThe recorded deterministic decision or refusal reason. Null until a decision is recorded.
review_idstring (uuid) or nullnoThe review the gate decides from: the first review captured, or the one retry that replaced a review that could not finish. Null when its trigger was refused before a review existed.
statusGateStatusyesThe current gate projection, including a recorded bypass or supersession by a newer head.

QuestionsUnavailableReason#

Type: FORK_PULL_REQUEST

RefreshView#

A recorded refresh decision, as the console shows it.

FieldTypeRequiredDescription
decided_bystring or nullnoWhat decided: FLOOR, a refresh rule that always reviews the whole change; JEV, Proofline's decision model within those rules; or FALLBACK, the refresh rules because the model did not decide. Absent for a full review a person requested, and for reviews decided before it was recorded.
modestringyesINCREMENTAL reviews only the files the push touched and carries the earlier review's untouched findings forward; FULL reviews the whole change.
reasonstring or nullnoWhy, in words. Server text that may name repository paths.
refreshes_review_idstring (uuid) or nullnoThe review this one refreshes. Absent for a full review a person requested.

RefusedEnvironment#

An environment a refusal names. external_key is how its pages are addressed.

FieldTypeRequiredDescription
display_namestringyesThe environment's display name. Tenant free text: render as text.
external_keystringyesThe environment's stable machine key, unique within the organization.
idstring (uuid)yesThe environment's identifier.
statusstringyesThe environment's lifecycle status, such as READY.

RelatedReview#

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen the related review was created.
head_commit_shastring or nullnoThe head commit the related review is pinned to. Absent when it recorded none.
public_keystringyesThe related review's stable public address.
relationstringyesA direct lineage relation, EARLIER_RUN / LATER_RUN when the two reviews share a pull request without a direct lineage edge, or LOCAL_REVIEW for the pull request author's local review of exactly the same change.
review_idstring (uuid)yesThe related review's identifier.
run_numberinteger (int64) or nullnoThe related review's one-based ordinal within its pull request. Absent for a review that is not of a pull request.
statusstringyesThe related review's lifecycle status.

RepositoryGuidance#

FieldTypeRequiredDescription
additional_promptstring or nullnoThe repository-specific reviewer guidance new reviews snapshot, null when none is set.
repository_idstring (uuid)yesThe repository's stable Proofline ID.

RepositoryName#

FieldTypeRequiredDescription
full_namestringyesThe provider's owner/name. Display metadata: it can change on a rename, so callers keep id.
idstring (uuid)yesThe repository's stable Proofline ID.

RepositoryNames#

FieldTypeRequiredDescription
repositoriesarray of RepositoryNameyesThe organization's repositories that are not deleted, ordered by name; a repository-restricted token sees only its allowlist.

RerunResponse#

Manual rerun: a new review of the same immutable subjects, under a fresh trigger key so history accumulates instead of overwriting.

FieldTypeRequiredDescription
public_keystringyesThe new review's stable public address.
pull_request_numberinteger (int64) or nullnoThe pull request number. Absent for a deployment review.
repository_namestring or nullnoThe repository's name within its owner. Absent when the original review names no repository.
review_idstring (uuid)yesThe new review's identifier.
run_numberinteger (int64) or nullnoThe new review's one-based ordinal within its pull request. Absent for a deployment review.

ReviewActions#

FieldTypeRequiredDescription
promote_findingsbooleanyesWhether a browser caller may request publication of a routed finding.
publishbooleanyesWhether the caller may publish this pull request review's withheld results, which requires a browser session and repository write access.
rerunbooleanyesWhether the caller may rerun this review.
stopbooleanyesWhether the caller may stop this review from a browser session.
unavailable_reasonActionUnavailability or nullnoWhy an action is unavailable, when a permission or repository check denied it. Null when no check denied one, which does not mean every action is allowed.
validate_findingsbooleanyesWhether the caller may record decisions on findings from a browser session.

ReviewCostFunding#

What paid for a run's credit cost, as Usage splits a day. The three parts add up to the cost.

FieldTypeRequiredDescription
free_review_microcreditsinteger (int64)yesPaid by the free review month: the same organization's free-review:{debit_id} grants for the run's debits.
organization_microcreditsinteger (int64)yesTaken from the organization's shared credit balance.
plan_microcreditsinteger (int64)yesPaid by the workspace allowance or the author's seat.

ReviewDepth#

The depth the applied route plan read a file at.

Type: STANDARD

ReviewDiffStats#

FieldTypeRequiredDescription
additionsinteger (int64)yesLines added across every changed file in the pinned comparison.
deletionsinteger (int64)yesLines deleted across every changed file in the pinned comparison.

ReviewFilters#

FieldTypeRequiredDescription
authorsarray of AuthorChoiceyesAuthors of visible pull request reviews, one per GitHub user.
environmentsarray of FilterChoiceyesEnvironments assessed by at least one visible review, ordered by display name.
repositoriesarray of FilterChoiceyesRepositories that have at least one visible review, ordered by full name.

ReviewInvestigationCitation#

One environment evidence record a finding cites, as Proofline verified it.

FieldTypeRequiredDescription
collection_idstring (uuid)yesThe evidence collection that holds the record.
digeststringyesThe record's stored digest.
record_idstring (uuid)yesThe record's ID.
tablestringyesThe table that holds the record.

ReviewInvestigationFinding#

One supported finding of an environment investigation.

FieldTypeRequiredDescription
areastringyesWhat the finding is about: secrets, configuration, iam, network, capacity or other.
assessment_idstring (uuid)yesThe environment assessment whose investigation recorded the finding.
citationsarray of ReviewInvestigationCitationyesThe evidence records the finding cites, each verified, in the order the finding cites them.
detailstringyesModel text with protected values withheld. Render it as plain text.
requirementReviewRequirementTarget or nullnoThe delivery target whose confirmed gate requirement the finding reports. Absent for an investigation's finding.
sourceKianFindingSource or nullnoWhat published the finding: a confirmed gate requirement its delivery target's services violate, the environment investigation, or a workload that loses an access because the change narrows the grants of an identity it shares. Every listed finding carries it.
titlestringyesModel text with protected values withheld. Render it as plain text.

ReviewOpenItems#

FieldTypeRequiredDescription
accepted_risk_countinteger (uint64)yesFinding series whose current decision is an unexpired ACCEPTED_RISK.
ci_failuresarray of CiFailureLinenoFailed CI jobs diagnosed on the reviewed head, the newest diagnosed attempt of each run, in diagnosis order. The pull-request Check counts them; none is a Proofline open item. Absent when no job was diagnosed.
ci_failures_omittedinteger (uint64)noDiagnosed failed CI jobs on the reviewed head beyond ci_failures.
ci_runs_pendinginteger (uint64)noFailed CI run attempts on the reviewed head whose diagnosis is queued or running, so none of their jobs has a line yet.
ci_runs_unfinishedinteger (uint64)noFailed CI run attempts on the reviewed head whose diagnosis failed or was cancelled, so none of their jobs has a line.
current_head_provider_updated_atstring (date-time) or nullnoGitHub's update time for the recorded pull request state that current_head_sha comes from. Null when none is recorded.
current_head_shastring or nullnoThe pull request's head commit as Proofline last recorded it from GitHub. Null when no pull request state is recorded.
earlier_findingsarray of EarlierOpenFindingnoExact published occurrences of earlier unresolved environment findings. Absent from observations recorded before destinations were captured.
environmentsarray of OpenItemEnvironmentyesThis review's environment assessments that are not COMPLETED, ordered by environment key.
evaluated_scope_knownbooleanyesWhether the review recorded at least one environment assessment. False means the evaluated scope is unknown, so an empty environments proves nothing.
head_stateOpenItemsHeadStateyesWhether reviewed_head_sha matches current_head_sha; UNKNOWN when either is missing.
is_latest_reviewbooleanyesWhether this review is the newest review of its pull request the caller can see.
latest_review_head_shastring or nullnoThe head commit of the newest review of this pull request the caller can see. Null when that review recorded none.
latest_review_head_stateOpenItemsHeadStateyesWhether latest_review_head_sha matches current_head_sha; UNKNOWN when either is missing.
observed_atstring (date-time)yesWhen the database facts in this observation were read, all from one statement.
open_findingsOpenFindingCountsyesUnresolved finding series that still demand attention, by severity: this review's own, and earlier published series of the pull request that this review did not find again.
review_statusOpenItemsReviewStatusyesThis review's recorded status; UNKNOWN for a status this build does not recognize.
reviewed_head_shastring or nullnoThe head commit this review evaluated. Null when the review recorded none.
threadsOpenItemsThreadsyesThe count of unresolved Proofline review threads on GitHub, or why that count is unknown.

ReviewPage#

FieldTypeRequiredDescription
applied_querystring or nullnoThe exact structured query applied before pagination.
filtersReviewFiltersyesThe values the review list can be filtered by, drawn from reviews the caller can see and independent of the current filters.
itemsarray of ReviewSummaryyesThe reviews on this page, newest first.
next_cursorstring or nullnoThe cursor that requests the next page. Null when truncated is false.
truncatedbooleanyesWhether more reviews match the query beyond this page.

ReviewRequirementTarget#

The delivery target whose confirmed entry a finding reports, as its Gate requirements page addresses it.

FieldTypeRequiredDescription
delivery_target_idstring (uuid)yesThe delivery target.
environment_idstring (uuid)yesThe environment of the assessment that asked the requirement.
repository_full_namestringyesThe repository's owner/name, which names the target to a reader.
repository_namestringyesThe repository's name, as the page's address names it.

ReviewRoutingView#

One of these objects, told apart by status:

statusDescriptionOther fields
NOT_RECORDEDNo immutable routing plan is retained for this review.None
UNSUPPORTEDA routing plan exists, but this server does not decode its version.version (string, required)
SUPPORTEDValidated routing and placement facts for this review.findings (array of RoutingFindingView, required); plan (PlanProjection, required); version (string, required)

ReviewSummary#

FieldTypeRequiredDescription
assessment_countinteger (int64)yesHow many environment assessments this review has.
audit_modestring or nullnoThe repository audit's mode, CODE_ONLY or INFRASTRUCTURE_AWARE, when this REVISION_SCAN is an audit. An audit's findings are in its audit report, not in finding_count or the review's assessments. Null for every other review.
completed_atstring (date-time) or nullnoWhen the review reached a terminal status. Absent while it is still pending or running.
counted_incomplete_causesarray of CountedCausenoincomplete_causes as the Inbox and the reviews cause: search count them: OUT_OF_CREDITS or SPEND_LIMIT_REACHED in place of the NOT_CONFIGURED an assessment records when credits or a monthly spend limit refused it. Present exactly when incomplete_causes is.
created_atstring (date-time)yesWhen the review was created.
current_head_commit_shastring or nullnoThe pull request's head commit as the latest provider projection reports it, which can differ from head_commit_sha. Set only on a single-review read, and absent for a deployment review or a pull request with no projection.
environment_display_namesarray of stringyesDisplay names of this review's assessed environments, not current repository links.
finding_countinteger (int64)yesHow many findings this review's assessments recorded, across all of them.
head_commit_shastring or nullnoThe head commit this review is pinned to. For a patch review, the revision ID Proofline derives from its base commit and patch digest, which is not a commit. Absent when the review recorded none.
head_commit_urlstring or nullnoThe exact revision reviewed. A commit URL, never a branch URL: the branch moves, the reviewed input does not. Absent for a patch review.
idstring (uuid)yesThe review's identifier.
incomplete_causesarray of IncompleteCausenoWhy an INCOMPLETE review ended incomplete, as its incomplete assessments recorded it, in name order. UNKNOWN alone when none recorded a cause. Absent for every other status, and on reads other than the reviews list and a single review.
kindstringyesPULL_REQUEST, DEPLOYMENT, PATCH, a review of local changes sent as a patch, COMMIT, a review of pushed commits, FILES, complete selected files at one pushed commit, MERGE_GROUP, the commit GitHub's merge queue built for a group of pull requests, or REVISION_SCAN, a scan of one captured commit.
merge_group_pull_request_numbersarray of integer (int64)noFor a MERGE_GROUP review, the pull requests GitHub queued in the group, in number order. Absent for every other kind, and until Proofline has read the group's members.
public_keystringyesThe review's stable public address: rev_ followed by its identifier without hyphens.
publicationstringyesWhether the review reached the pull request: PUBLISHED, WITHHELD, PUBLICATION_REQUESTED or PUBLICATION_REFUSED. A review run from Proofline is withheld until somebody publishes it.
publication_detailstring or nullnoWhy a publication was refused, or how one failed. Server text.
pull_request_author_avatar_urlstring or nullnoProvider-supplied avatar URL. Login-derived .png URLs do not work for GitHub App bot accounts and are not portable across GitHub hosts.
pull_request_author_github_user_idinteger (int64) or nullnoThe author's stable GitHub user id: identity for profile lookups, never display text. Absent when GitHub named no author.
pull_request_author_loginstring or nullnoProvider display metadata for the pull request author, not the rerun requester.
pull_request_author_namestring or nullnoThe author's GitHub profile name, when known. Lead with it; the login is the fallback. Display metadata, never identity.
pull_request_author_urlstring or nullnoThe author's profile on the deployment's GitHub host. Absent when no author login is known.
pull_request_draftboolean or nullnoWhether the pull request is a draft, as provider state last reported it. Display state only: an open draft keeps pull_request_state OPEN. Absent when pull_request_state is.
pull_request_numberinteger (int64) or nullnoThe pull request number. Absent for a deployment or patch review.
pull_request_statestring or nullnoCurrent provider state of the pull request: OPEN, CLOSED, or MERGED. Absent for deployment reviews or a missing projection.
pull_request_titlestring or nullnoThe pull request's title as provider state last reported it, so it names the change rather than only numbering it. Untrusted text: renderers must treat it as text, never markup.
pull_request_urlstring or nullnoThe pull request on GitHub. Absent for a deployment review or when the repository is unknown.
refreshRefreshView or nullnoHow this review decided what it reviews after a push or a full-review request. Absent for a review that refreshes nothing, and while a refresh has not decided yet.
repository_full_namestring or nullnoThe repository's owner/name. Absent when the review names no repository.
repository_idstring (uuid) or nullnoThe review's repository. Set only on a single-review read, and absent there when the review names no repository.
repository_namestring or nullnoThe repository's name within its owner. Absent when the review names no repository.
repository_urlstring or nullnoThe repository on GitHub. Absent when the deployment's web base cannot be joined with the stored name.
requested_byActorView or nullnoWho asked for this review, for the reviews a person asked for: the run-now button, a rerun, a pull request review command, or local changes and pushed commits sent from the CLI or an editor. Absent on automatic reviews, and on reviews recorded before requesters were.
run_numberinteger (int64) or nullnoOne-based, append-only ordinal within one repository pull request.
statusstringyesThe review's lifecycle status: PENDING, RUNNING, COMPLETED, INCOMPLETE, FAILED, SUPERSEDED, STOPPED or EXCLUDED.
trigger_originstringyesWho asked for this review: AUTOMATIC, COMMAND, RERUN, MANUAL, or UNKNOWN for a trigger key this build does not recognise.

ReviewsExportRow#

The NDJSON row and CSV column contract. Repository names are display data; the stable repository ID and recorded commit identify the reviewed input.

FieldTypeRequiredDescription
base_commit_shastring or nullnoThe pinned base commit SHA, null when the review records none.
completed_atstring (date-time) or nullnoWhen the review finished, null while it has not.
created_atstring (date-time)yesWhen the review was created; the export window filters on this time.
dataset_versioninteger (uint16)yesThe row contract version, always 1.
github_repository_idinteger (int64) or nullnoGitHub's ID for the repository, null when the organization no longer owns it or the review records no repository.
head_commit_shastring or nullnoThe pinned head commit SHA, null when the review records none.
kindExportReviewKindyesWhether the review analyzes a pull request, a deployment, a local patch, pushed commits, selected whole files, a merge group or a revision scan.
organization_idstring (uuid)yesThe organization that owns the review.
pull_request_numberinteger (int64) or nullnoThe pull request number, null when the review records none, as for a deployment.
repository_full_namestring or nullnoThe repository's current owner/name display name, null when the organization no longer owns it or the review records no repository.
repository_idstring (uuid) or nullnoThe stable ID of the review's primary repository, null when the review records none.
review_idstring (uuid)yesThe review's stable ID.
run_numberinteger (int64) or nullnoThe review's ordinal among the reviews of its pull request, null for a review without a repository and pull request.
statusExportReviewStatusyesThe review's recorded status.
trigger_originstringyesWhat started the review, derived from its trigger key: AUTOMATIC, COMMAND, RERUN, MANUAL, or UNKNOWN for a key this build does not recognize.

ReviewsMetadataStream#

UTF-8 metadata file. NDJSON contains one ExportRow per line; CSV contains that dataset's named columns and a header. This response is neither a JSON object nor a JSON array.

Type: string

RoutingFindingView#

FieldTypeRequiredDescription
fallback_causestring or nullnoRecognized safe fallback cause, when present.
finding_idstring (uuid)yesFinding whose retained placement is reported.
floor_reasonstring or nullnoRecognized safe floor reason, when present.
inline_limit_exceededbooleanyesThe original inline choice exceeded this review's inline comment limit.
inline_reasonstring or nullnoWhy the recorded publication did not create an inline comment, when retained.
placementstringyesPublication channel recorded for this finding.
promotionFindingPromotionView or nullnoHuman override beside the original decision, when one was requested.
publication_groupstring (uuid) or nullnoThe finding that represents this finding's publication group, when an applied group publishes it in one comment with other findings. Every member names the same finding, the representative included.
reason_codesarray of stringyesRecognized safe reason codes; unknown values are represented as UNRECOGNIZED.
rulestringyesRule that produced the recorded placement.

RuleSource#

Type: CONSOLE, CONFIG_FILE, IMPLICIT

RunNowMode#

Whether an explicit request may reuse a settled review of the live head.

Type: EXISTING_OR_NEW, FULL

RunNowRefusalView#

Why a run-now request created nothing, each reason with what the page needs to link the setting to change.

One of these objects, told apart by reason:

reasonDescriptionOther fields
TRIGGER_DISABLEDThe organization's trigger mode excludes pull requests: review settings.None
REPOSITORY_DISABLEDReviewing is off for this repository: the repository's review settings.None
NO_LINKED_ENVIRONMENTNo environment links this repository: the repository's setup.None
ENVIRONMENT_REVIEWS_OFFThe environment is linked but the link has pull request reviews off: the repository's review settings, where environments are chosen.environment (RefusedEnvironment, required)
ENVIRONMENT_NOT_READYThe environment reviews this repository but is not ready; its own account of why, when it has one, is status_detail. The environment's setup.environment (RefusedEnvironment, required); status_detail (string or null, optional)
ENVIRONMENT_EVIDENCE_UNAVAILABLEThe environment is ready and reviews this repository, but no cloud connection of its can currently supply evidence: the account is not connected, or the connection was revoked or predates the current permission manifest. Which one is on the environment's setup.environment (RefusedEnvironment, required)
INVALID_DELIVERY_CONFIGURATIONThe environment's active typed revision cannot name one delivery target for this repository. The environment's link to the repository; absent only if the environment was removed meanwhile.detail (string, required); environment (RefusedEnvironment or null, optional)
PULL_REQUEST_UNKNOWNProofline has not received this pull request from GitHub: the GitHub installation.None
AUTHOR_HAS_NO_SEATThe pull request's author holds no seat: seat settings.None
PULL_REQUEST_CLOSEDThe pull request closed between GitHub's answer that it was open and the review's creation. Nothing to change; the pull request itself.None

RunNowRefused#

A run-now request that created nothing, as the 400 it is answered with. The refusal is a configuration fact, not a failure, and it is still sent as an RFC 9457 problem: title, status and detail are what a client that knows only problems shows, and repository_name and refusal are the extension members a client that knows refusals links from. During a rollout a page loaded from the previous bundle keeps working against this server, because a refusal was a 400 with a detail before too.

FieldTypeRequiredDescription
detailstringyesOne sentence naming the condition and the setting to change, for a reader with no link to follow.
refusalRunNowRefusalViewyesWhy nothing was created, with what the page needs to link the setting to change.
repository_namestringyesThe repository's name within its owner, as its pages are addressed.
statusinteger (uint16)yesAlways 400.
titlestringyesAlways invalid request.

RunNowRequest#

An empty body keeps the run-now behavior existing clients request.

FieldTypeRequiredDescription
modeRunNowModenoEXISTING_OR_NEW, the default, returns any review that already owns the live head. FULL returns a pending or running review of that head or starts a new one.

RunNowResponse#

What a run-now request produced: a review of the live head, created by this request or found already owning the head.

FieldTypeRequiredDescription
automatic_reviews_pausedbooleanyesTrue when automatic reviews are stopped on this pull request. The review ran anyway; the flag is why the page can say so.
existingbooleanyesTrue when this head already carried a review and that one is returned. Clicking twice does not run twice.
review_idstring (uuid)yesThe review that owns the live head, new or existing.
run_numberinteger (int64)yesThe review's one-based ordinal within its pull request, which completes the run's console address.

RunProgress#

Where an unfinished review's runs stand.

FieldTypeRequiredDescription
attemptsinteger (int32)yesAttempts begun by the run in state, counting worker claims.
due_atstring (date-time) or nullnoWhen the run in state is due: in the past for QUEUED, the next attempt for RETRY_SCHEDULED and the next check for WAITING. Null for RUNNING.
last_progress_atstring (date-time) or nullnoWhen any of the review's runs last recorded a completed step. Null before the first.
stateRunProgressStateyesThe most telling state among the review's unfinished runs: a scheduled retry, then a running worker, then a queued run, then a wait.

RunProgressState#

What an unfinished review's runs are doing now.

ValueDescription
WAITINGA run waits for a scheduled step, such as a push's quiet period, a resource another run holds, or its assessments, and is checked again at due_at.
QUEUEDA run is due and no worker has claimed it yet. It has been due since due_at.
RUNNINGA worker is running one of the review's runs.
RETRY_SCHEDULEDAn attempt of a run ended without finishing, and the run starts again at due_at.

ScanRequestBody#

One request to scan a ref or an exact commit of the repository.

FieldTypeRequiredDescription
budget_creditsinteger (int64)yesThe credits the whole scan may spend, at most the organization's on-demand ceiling.
commit_shastring or nullnoAn exact commit. Name it or ref.
refstring or nullnoA ref, resolved once when the request arrives. Name it or commit_sha.
request_idstring (uuid)yesThe caller's identity for this request. Sending it again returns the first resolution instead of scanning again.

ScanResponse#

What a scan request resolved to.

FieldTypeRequiredDescription
outcomestringyesCREATED, EXISTING when this request id was already resolved, or REPOSITORY_UNAVAILABLE when GitHub could not resolve it.
resolution_idstring (uuid)yesThe request's one resolution receipt.
review_idstring (uuid) or nullnoThe scan review, readable through the review routes. Absent when GitHub could not resolve the request.

SpendAccountKind#

Type: DEPLOYMENT, TENANT_CREDENTIAL, UNATTRIBUTED

SpendExportRow#

UTC daily debit totals using only the account and transport recorded at charge time, each split by what paid for it as Billing's Usage splits it.

FieldTypeRequiredDescription
accountstring or nullnoRecorded attribution, not a current credential label or inferred account.
account_kindSpendAccountKindyesThe account kind recorded at charge time, UNATTRIBUTED when the debit records none.
dataset_versioninteger (uint16)yesThe row contract version, always 1.
daystring (date-time)yesUTC midnight. The requested window can cover only part of this day.
debitsinteger (int64)yesThe number of debits summed into this row.
free_review_microcreditsinteger (int64)noThe part the free review month paid: this organization's free-review:{debit} grants for the row's debits.
microcreditsinteger (int64)yesExact integer charge units; one credit contains one million microcredits.
organization_idstring (uuid)yesThe organization charged.
organization_microcreditsinteger (int64)noThe part the organization's shared credit balance paid.
own_key_microcreditsinteger (int64)noThe part run on this organization's own provider key: a tariff equivalent its provider bills, not credit spend. The four funding columns add up to microcredits.
plan_microcreditsinteger (int64)noThe part of microcredits the workspace allowance or the author's seat paid.
transportstring or nullnoThe model transport recorded at charge time, null when the debit records none.

StartSession#

FieldTypeRequiredDescription
connection_idstring (uuid)yesThe vendor connection to start the session with.
prompt_digeststringyesThe prompt_digest of the prompt the person confirmed.

StopResponse#

What stopping a review recorded.

FieldTypeRequiredDescription
review_idstring (uuid)yesIdentifier of the stopped review.
statusstringyesAlways STOPPED: the review's status once the stop is committed.
stopped_atstring (date-time)yesTime when the review was stopped.
stopped_byActorViewyesPerson who stopped the review.

StoredCheckOutcome#

What the test did: FAILED as at the reproduction or otherwise, DID_NOT_FAIL when it exited cleanly, which shows only that this test did not fail under the conditions it exercised, or UNAVAILABLE when it could not answer.

Type: FAILED, DID_NOT_FAIL, UNAVAILABLE

StoredCheckResult#

The newest result of a stored check: its newest settled rerun at a later pull request head, or the reproduction's own head run when it has not run again.

FieldTypeRequiredDescription
commit_shastring or nullnoThe commit the check ran at, or would have run at when a rerun could not start.
reasonstring or nullnoWhy a rerun did not pass, such as STILL_FAILS or SERVICE_NOT_STARTED. Absent for a pass and for the reproduction.
resultStoredCheckOutcomeyes
sourceStoredCheckResultSourceyesRERUN or REPRODUCTION.

StoredCheckResultSource#

Type: REPRODUCTION, RERUN

SubjectAuthorization#

One assessment's authorization of one subject, by identity. The display name is not the answer on its own: an environment's external key is unique within its organization and a display name is mutable metadata, so two environments of one review can carry the same one. Collapsing to it would leave a reader unable to tell which assessment authorized the subject and which one gapped, which is the confusion this field exists to remove.

FieldTypeRequiredDescription
assessment_idstring (uuid)yesThe assessment this authorization belongs to, as AssessmentView.id names it. A reader joins on this, never on the display name.
environment_display_namestringyesWhat a reader recognizes the environment by. Display metadata, and tenant free text: a consumer contains it before rendering.
environment_external_keystringyesThe environment's stable machine key, unique within the organization.
environment_idstring (uuid)yesThe environment the authorizing assessment belongs to.

SubjectView#

FieldTypeRequiredDescription
artifact_digeststring or nullnoAn immutable OCI digest, never a mutable tag.
commit_shastring or nullnoThe pinned commit of a GIT_REVISION subject, or the base commit a GIT_PATCH subject applies to. Absent for other kinds.
deployment_external_idstring or nullnoThe GitHub deployment identifier a GITHUB_WORKFLOW_RUN subject ran for. Absent when the run was not for a deployment.
file_scopeFileScope or nullnoWhole-file selection at the pinned revision; absent for comparisons.
idstring (uuid)yesThe subject's stable identifier. It holds across a poll refresh even when a concurrently populated subject shifts this response's (kind, id) order: a client keying its own local UI state (an open disclosure, a focused control) by array index would otherwise lose that state to a reorder that changed nothing it owns.
kindstringyesGIT_REVISION, GIT_PATCH, GITHUB_WORKFLOW_RUN, ARTIFACT or DEPLOYMENT.
patch_digeststring or nullnoThe SHA-256 of a GIT_PATCH subject's canonical patch. Absent for other kinds.
release_authorizationsarray of SubjectAuthorizationyesThe assessments whose own verified release set authorized this subject. A review with several environments accumulates one subject list, but authorization is per assessment: an artifact one environment's read authenticated is not evidence for a neighbour whose own read gapped or refused. Naming the assessments keeps the union from reading as a shared fact. Empty for a subject no release-set read produced (the reviewed revision, the workflow run, a deployment), because those are the review's own coordinates rather than one environment's authenticated evidence, not because every environment refused them.
repository_full_namestring or nullnoAbsent only when the subject's repository record itself is gone.
repository_idstring (uuid) or nullnoThe immutable repository identity of this subject, including companions.
rolestringyesPRIMARY for the revision under review; COMPANION for context read from another authenticated repository.
urlstring or nullnoThe subject on GitHub: the commit for a revision, the run for a workflow run. Absent for kinds GitHub does not address (GIT_PATCH, ARTIFACT, DEPLOYMENT) or when the subject's repository is unknown.
workflow_attemptinteger (int32) or nullnoThe attempt number of a GITHUB_WORKFLOW_RUN subject. Absent for other kinds.
workflow_run_idinteger (int64) or nullnoThe GitHub Actions run of a GITHUB_WORKFLOW_RUN subject. Absent for other kinds.

SubmittedReview#

One review Proofline submitted on the pull request.

FieldTypeRequiredDescription
commit_shastring or nullnoThe commit the review was submitted for.
urlstringyes

SummaryRoute#

Type: DETERMINISTIC_ONLY, SHORT, FULL

ThreadObservationFreshness#

Type: FRESH, STALE

ThreadObservationView#

A read of GitHub's thread state. observed_at is when Proofline read it.

FieldTypeRequiredDescription
freshnessThreadObservationFreshnessyesSTALE when the pull request is open and this observation is more than 24 hours old, otherwise FRESH.
github_comment_urlstring or nullnoThe finding's root comment on GitHub. Absent when the repository is unknown.
observed_atstring (date-time)yesWhen Proofline read the thread state from GitHub.
provider_stateThreadProviderState or nullnoAbsent only when the provider read failed before GitHub returned state.
reply_evidenceThreadReplyEvidenceyesRECORDED when a human reply in the thread was recorded, NONE_CONFIRMED when the complete thread held none, and INCOMPLETE when the thread could not be read in full.
resolver_github_user_idinteger (int64) or nullnoThe stable GitHub identity of whoever resolved the thread. Absent when GitHub named no resolver.
resolver_loginstring or nullnoThe login of whoever resolved the thread, as GitHub reported it. Provider text, and absent when GitHub named no resolver.

ThreadProviderState#

Type: OPEN, RESOLVED

ThreadReplyEvidence#

Type: RECORDED, NONE_CONFIRMED, INCOMPLETE

UnresolvedReason#

World's reason an executed check did not settle. A gate weighs the three alike, and each asks the reader for a different response.

ValueDescription
NEEDS_EVIDENCEThe evidence World held neither established nor refuted the property.
UNSUPPORTEDThe case is outside what the check can decide. More evidence does not change the answer.
REGENERATE_SCENARIOThe scenario the check ran against had to be declared again before its answer meant anything. A new review declares it again.

UntrustedText#

Text that came out of the reviewer model, or out of a repository the model read. It is data, never markup, never a URL, never an instruction. The wrapper exists so the untrustedness cannot be lost on the way to a renderer: there is no field on a turn that carries this text under a name a client could mistake for something safe, and unwrapping it is a deliberate act in the client's own code.

FieldTypeRequiredDescription
untrusted_textstringyesThe text itself. Render it as plain text only.

UploadedReport#

FieldTypeRequiredDescription
contentstringyesThe report text, exactly as the coverage tool wrote it.
namestringyesA relative name for the report, such as web/lcov.info, unique in the upload.

WalkthroughFileView#

FieldTypeRequiredDescription
additionsinteger (int64)yesLines added.
changestringyesGitHub's change status, upper case, such as ADDED or RENAMED.
deletionsinteger (int64)yesLines deleted.
depthstring or nullnoThe route plan's depth tier. Absent for a file the review did not evaluate.
generatedbooleanyesWhether line is model-authored.
linestringyesA model sentence, or the deterministic line when there is none.
pathstringyesThe file's path at the head commit.
previous_pathstring or nullnoThe file's path before a rename. Absent otherwise.
skip_classstring or nullnoWhy the review did not evaluate the file, such as LOCKFILE or REPOSITORY_FILTER.

WalkthroughGroupView#

FieldTypeRequiredDescription
descriptionstring or nullnoWhat the group changes. Absent when the group has no description.
filesarray of WalkthroughFileViewyesThe group's files.
kindstringyesFEATURE, FIX, REFACTOR, CONFIGURATION, INFRASTRUCTURE, DATA, DEPENDENCIES, TESTS or DOCS.
titlestringyesThe group's title.

WalkthroughView#

One review's walkthrough of its pinned head. Titles and lines are model text over untrusted repository content: render them as text.

FieldTypeRequiredDescription
groupsarray of WalkthroughGroupViewyesGroups in reading order.
head_shastringyesThe head commit SHA the walkthrough describes.