Skip to main content
POST
Resolve Check
Use this API to resolve every open agent comment of one check in one call, for a person (by: "user") or an MCP client (by: "mcp"). Each comment is resolved as Resolve Comment does: Resolved, and waiting for the scan that verifies it. All of them share one verify window, so each of the check’s agents rescans once. The resolve starts a verify rescan, which uses AI credits at the flat rescan rate. It is idempotent: a comment that already waits for its rescan is counted in alreadyPending, not resolved again, and not charged again. At most 5,000 open comments are resolved in one call. Attached comments are not included. See Checks Overview.

Endpoint

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

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 missing userId, a by other than "user" or "mcp", or an unknown field) / NOT_FOUND with CHECKS_WORKSPACE_NOT_FOUND (the workspace has no store database).