Findings API

List findings and triage them from a script or an AI agent: review, accept risk, assign.

List your findings and triage them from a script, a CI job or an AI agent: review a label, accept a risk, or assign someone to fix it.

A finding is one label on one file, followed across scans. Its id is finding_id.

Before you start

Base URLhttps://classify.myrikeep.com/api/
HeaderAuthorization: Api-Key YOUR_API_KEY
BodyJSON, with Content-Type: application/json
KeyCreate it in Settings → API keys (owners and admins).

Copy the key when you create it; it is shown once. The examples use synthetic ids (4821, 77) and a synthetic member, [email protected].

Key scopes

Pick the smallest scope that does the job. A key gets 403 on anything its scope does not allow.

ScopeName in the consoleRead findingsQueue scansTriage findingsEverything else
readRead onlyYesNoNoNo
read_scanRead and queue scans (for AI assistants)YesYesNoNo
triageTriage findings (review, accept risk, assign)YesNoYesNo
fullFull access (agents, scripts)YesYesYesYes

Scoped keys expire after 90 days by default. Each one has its own rate limit: 120 requests per minute.

Warning: Data leaves your network when an AI assistant uses the key: file paths, file names, labels and counts go to the assistant's provider. File contents never do.

Endpoints

GET /api/findings/
List findings, with filters and pages.
POST /api/findings/{finding_id}/review/
Accept or reject the finding's label.
POST /api/findings/{finding_id}/accept-risk/
Accept the risk of exactly this finding.
GET /api/suppressions/
List suppressions, accepted risks included.
DELETE /api/suppressions/{suppression_id}/
Lift a suppression.
POST /api/findings/{finding_id}/assign/
Assign a member to fix the finding.
DELETE /api/findings/{finding_id}/assign/
Remove the assignment.

The full schema, with every field, is at /api/schema/.

List findings

GET /api/findings/ returns open findings, 100 per page.

sh
curl -s "https://classify.myrikeep.com/api/findings/?labels=SSN&state=open&limit=50" \
  -H "Authorization: Api-Key YOUR_API_KEY"
FilterExampleMeaning
labelsSSN,FINANCIALAny of these label codes
levelsanyone_with_linkWho can open the file
connection12One source
statenew, open, resolved, suppressed, allDefault open
path, qhr/Path contains; search names and paths
areasystemAll files by default; system lists only files under /etc, /usr, /opt, /boot and /var/lib. Every row has a system_area flag.
limit, offset50, 100Page size (max 500) and start

Each row carries the triage state next to the inventory facts:

json
{
  "finding_id": 4821,
  "path": "hr/payroll.csv",
  "label": "SSN",
  "state": "open",
  "review_state": "unreviewed",
  "accepted_risk": null,
  "assignment": {"assignee_email": "[email protected]", "due_date": "2026-12-01"}
}
review_state
unreviewed, accepted or rejected. null when an older agent kept no label to review.
accepted_risk
null, or suppression_id, reason and expires_at of the accepted risk on exactly this finding.
assignment
null, or assignee_email and due_date.

Rows never include file contents or match evidence.

Triage findings

Every triage call needs a triage or full key. Each change goes to the workspace audit log with the key's name and prefix, for example Triage agent (Ab12Cd34).

Review a finding

Accept or reject the label on the scan that last saw the finding. The answer is the finding's row plus that scan's new risk_score.

sh
curl -s -X POST "https://classify.myrikeep.com/api/findings/4821/review/" \
  -H "Authorization: Api-Key YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"review_state": "rejected"}'
review_state Required
accepted, rejected or unreviewed. An accepted label counts toward risk, policies and reports; a rejected one stops counting.

Accept a risk

Hide exactly this file and label from Findings, risk and reports, with a reason. The answer, 201, is the new suppression.

sh
curl -s -X POST "https://classify.myrikeep.com/api/findings/4821/accept-risk/" \
  -H "Authorization: Api-Key YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"reason": "Synthetic test export, deleted after the audit", "expires_at": "2027-03-31T00:00:00Z"}'
reason Required
Why you accept it. Trimmed, not empty, at most 1000 characters.
expires_at Optional
An ISO 8601 date and time in the future. Leave it out to never expire.

A finding has at most one accepted risk in force. A second request answers 409 with the existing one's suppression_id.

List and lift suppressions

GET /api/suppressions/ lists the rules in force. Add ?active=all to include lifted and expired ones.

sh
curl -s "https://classify.myrikeep.com/api/suppressions/?active=all" \
  -H "Authorization: Api-Key YOUR_API_KEY"

An accepted risk has a finding_id. A broader rule made in the console, by source, label or path, has finding_id: null.

Lift one to show its findings again. The rule is switched off and kept for the audit trail.

sh
curl -s -X DELETE "https://classify.myrikeep.com/api/suppressions/77/" \
  -H "Authorization: Api-Key YOUR_API_KEY"

The answer is 204, also when the rule had already ended.

Assign a finding

Make a workspace member responsible for fixing the finding. They get one email with the location and a console link, never the file's contents.

sh
curl -s -X POST "https://classify.myrikeep.com/api/findings/4821/assign/" \
  -H "Authorization: Api-Key YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"assignee_email": "[email protected]", "due_date": "2026-12-01", "note": "Move it to the HR vault"}'
assignee_email Required
The email of an active member of this workspace.
due_date Optional
YYYY-MM-DD; due at the end of that day.
note Optional
At most 500 characters; it goes in the email.

Assigning again replaces the assignee. Remove the assignment with DELETE on the same path; the answer is 204.

sh
curl -s -X DELETE "https://classify.myrikeep.com/api/findings/4821/assign/" \
  -H "Authorization: Api-Key YOUR_API_KEY"

Errors

StatusBodyWhat to do
400{"reason": ["Give a reason for accepting this risk."]}Fix the named field and send it again.
400{"assignee_email": ["assignee_not_a_member"]}Use the email of an active member of this workspace.
403{"detail": "The read key scope does not allow this request."}Use a triage or full key.
404{"detail": "Finding not found."}The id is not in this workspace. List findings to get it.
409{"detail": "risk_already_accepted", "suppression_id": 77}The risk is already accepted. Lift it first to change it.
409{"detail": "nothing_to_review"}An older agent kept no label for this finding. Scan the source again.
429{"detail": "Request was throttled. ..."}Wait the Retry-After seconds, then retry.

An id from another workspace gets the same 404 as an id that does not exist.