Skip to main content
POST
Exclude Check
Use this API to exclude a check for a project, with one of the four reject reasons. The check’s state becomes excluded:
  • it leaves the score (its scoreImpact is 0) and counts none of its comments (its openCount and pageCount are 0);
  • its open agent comments are rejected with the reason excluded. Their status does not change. A person’s comment attached to the check, and an accepted suggestion, stay as they are;
  • its findings write no comment. The agent still runs.
Include Check undoes it.

Endpoint

POST https://api.velt.dev/v2/agents/checks/exclude

Headers

string
required
Your API key.
string
required

Body

Params

object
required
The schema uses .strict(): unknown fields are rejected.

Example Requests

Response

Success Response

Failure Response

Errors: INVALID_ARGUMENT (a body outside the schema: a missing or malformed ruleKey, a reason outside the four, a missing userId, or an unknown field) / NOT_FOUND with CHECKS_WORKSPACE_NOT_FOUND (the workspace has no store database).