Create an assertion or benchmark definition without executing a target

POST/v1/quality/checks

The caller supplies a stable creation ID. Identical retries by the same organization actor return the same native check; changed definitions conflict. Requires the selected check kind's entitlement and agents write permission. No target, model or workflow is executed.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
idstringYesStable caller-generated retry identity
kindassertion | benchmarkYes
namestringYesHuman-readable name.
descriptionstringNoHuman-readable description.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Identical creation retryapplication/json
FieldTypeRequiredDescription
checkobjectYes
check.idstringYesKind-namespaced identity; never use as a native resource ID
check.kindassertion | benchmarkYes
check.resourceIdstringYesPreserved native Test or Evaluation identity
check.namestringYesHuman-readable name.
check.descriptionstringYesHuman-readable description.
check.statusstringYesCurrent lifecycle status.
check.publishedVersionIdstringYes
check.caseCountintegerYes
check.creatorUserIdstringYesStable user identity of the resource creator
check.creatorNamestringYesCurrent display name resolved through the deployment identity directory
check.creatorAvatarUrlstringYesCurrent creator profile image URL
check.createdAtstringYesISO 8601 timestamp.
check.updatedAtstringYesISO 8601 timestamp.
alreadyExistsbooleanYes
201Created checkapplication/json
FieldTypeRequiredDescription
checkobjectYes
check.idstringYesKind-namespaced identity; never use as a native resource ID
check.kindassertion | benchmarkYes
check.resourceIdstringYesPreserved native Test or Evaluation identity
check.namestringYesHuman-readable name.
check.descriptionstringYesHuman-readable description.
check.statusstringYesCurrent lifecycle status.
check.publishedVersionIdstringYes
check.caseCountintegerYes
check.creatorUserIdstringYesStable user identity of the resource creator
check.creatorNamestringYesCurrent display name resolved through the deployment identity directory
check.creatorAvatarUrlstringYesCurrent creator profile image URL
check.createdAtstringYesISO 8601 timestamp.
check.updatedAtstringYesISO 8601 timestamp.
alreadyExistsbooleanYes
400Invalid definition
None.
401Authentication required
None.
403Permission or entitlement unavailable
None.
404Previously created check is no longer accessible
None.
409Creation ID already used for another definition
None.
503Durable catalog temporarily unavailable; retry the same creation ID
None.
Create an assertion or benchmark definition without executing a target
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow