Skip to main content

Lint decisions

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: lint-decisions · 4 operations

GET /v1/lint/decisions​

List Lint Finding Decisions

List finding remediation / waiver decisions for the tenant (CLX-1.3, #4850).

Operation id: list_lint_finding_decisions_v1_lint_decisions_get

Parameters

NameInTypeRequiredDescription
projectIdquerystring or nullnoQuery parameter: project id.
tenant_slugquerystringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list lint finding decisions.application/json LintFindingDecisionListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/lint/decisions​

Upsert Lint Finding Decision

Create or update a finding decision / waiver (CLX-1.3, #4850; guarded by CLX-4.1, #4859).

Waived state requires non-empty rationale and an expiry timestamp. The transition is RBAC-guarded on the lint_findings resource: triage transitions need edit; approval-tier transitions (entering/leaving waived, resolving a waiver_requested row) need publish — the same rules the workspace bulk endpoint enforces, so bulk authorization can never be bypassed one decision at a time.

Operation id: upsert_lint_finding_decision_v1_lint_decisions_post

Parameters

NameInTypeRequiredDescription
tenant_slugquerystringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for upsert lint finding decision.

Responses

StatusDescriptionBody
201Successful response for upsert lint finding decision.application/json LintFindingDecisionOut
422Validation Errorapplication/json HTTPValidationError

GET /v1/lint/decisions/{decision_id}​

Get Lint Finding Decision

Fetch one finding decision by id (CLX-1.3, #4850).

Operation id: get_lint_finding_decision_v1_lint_decisions__decision_id__get

Parameters

NameInTypeRequiredDescription
decision_idpathstringyesPath parameter identifying the decision id segment.
tenant_slugquerystringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get lint finding decision.application/json LintFindingDecisionOut
422Validation Errorapplication/json HTTPValidationError

GET /v1/lint/decisions/{decision_id}/events​

List Lint Finding Decision Events

Audit history for a finding decision (CLX-1.3, #4850).

Operation id: list_lint_finding_decision_events_v1_lint_decisions__decision_id__events_get

Parameters

NameInTypeRequiredDescription
decision_idpathstringyesPath parameter identifying the decision id segment.
tenant_slugquerystringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list lint finding decision events.application/json array of LintFindingDecisionEventOut
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

LintFindingDecisionEventOut​

One audit event for a finding decision (CLX-1.3, #4850).

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
decisionIdstringyesDecision ID.
beforeStatestring or nullnoBefore State.
afterStatestringyesAfter State.
rationalestring or nullnoRationale.
expiresAtstring or nullnoExpires At.
linkedTicketstring or nullnoLinked Ticket.
policyVersionIdstring or nullnoPolicy Version ID.
actorUserIdstring or nullnoActor User ID.
actorLabelstring or nullnoActor Label.
createdAtstring or nullnoCreated At.

LintFindingDecisionListResponse​

List of finding decisions (CLX-1.3, #4850).

PropertyTypeRequiredDescription
decisionsarray of LintFindingDecisionOutnoDecisions.
countintegernoNumber of count.

LintFindingDecisionOut​

One finding remediation / waiver decision (CLX-1.3, #4850).

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
tenantIdstringyesTenant ID.
projectIdstring or nullnoProject ID.
sourceFingerprintstringyesSource Fingerprint.
ruleIdstring or nullnoRule ID.
statestringyesopen | acknowledged | waiver_requested | waived | fixed | false_positive
ownerUserIdstring or nullnoOwner User ID.
rationalestring or nullnoRationale.
linkedTicketstring or nullnoLinked Ticket.
expiresAtstring or nullnoExpires At.
policyVersionIdstring or nullnoPolicy Version ID.
evidenceFingerprintAtDecisionstring or nullnoEvidence Fingerprint At Decision.
actorUserIdstring or nullnoActor User ID.
actorLabelstring or nullnoActor Label.
createdAtstring or nullnoCreated At.
updatedAtstring or nullnoUpdated At.

LintFindingDecisionUpsertRequest​

Create or update a finding decision / waiver (CLX-1.3, #4850).

PropertyTypeRequiredDescription
sourceFingerprintstringyesSource Fingerprint.
statestringyesopen | acknowledged | waiver_requested | waived | fixed | false_positive
projectIdstring or nullnoProject ID.
ruleIdstring or nullnoRule ID.
ownerUserIdstring or nullnoOwner User ID.
rationalestring or nullnoRationale.
linkedTicketstring or nullnoLinked Ticket.
expiresAtstring (date-time) or nullnoRequired when state is waived.
policyVersionIdstring or nullnoPolicy Version ID.