Create an assertion or benchmark definition without executing a target
POST
/v1/quality/checksThe 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
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Stable caller-generated retry identity |
| kind | assertion | benchmark | Yes | — |
| name | string | Yes | Human-readable name. |
| description | string | No | Human-readable description. |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Identical creation retryapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| check | object | Yes | — |
| check.id | string | Yes | Kind-namespaced identity; never use as a native resource ID |
| check.kind | assertion | benchmark | Yes | — |
| check.resourceId | string | Yes | Preserved native Test or Evaluation identity |
| check.name | string | Yes | Human-readable name. |
| check.description | string | Yes | Human-readable description. |
| check.status | string | Yes | Current lifecycle status. |
| check.publishedVersionId | string | Yes | — |
| check.caseCount | integer | Yes | — |
| check.creatorUserId | string | Yes | Stable user identity of the resource creator |
| check.creatorName | string | Yes | Current display name resolved through the deployment identity directory |
| check.creatorAvatarUrl | string | Yes | Current creator profile image URL |
| check.createdAt | string | Yes | ISO 8601 timestamp. |
| check.updatedAt | string | Yes | ISO 8601 timestamp. |
| alreadyExists | boolean | Yes | — |
201Created checkapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| check | object | Yes | — |
| check.id | string | Yes | Kind-namespaced identity; never use as a native resource ID |
| check.kind | assertion | benchmark | Yes | — |
| check.resourceId | string | Yes | Preserved native Test or Evaluation identity |
| check.name | string | Yes | Human-readable name. |
| check.description | string | Yes | Human-readable description. |
| check.status | string | Yes | Current lifecycle status. |
| check.publishedVersionId | string | Yes | — |
| check.caseCount | integer | Yes | — |
| check.creatorUserId | string | Yes | Stable user identity of the resource creator |
| check.creatorName | string | Yes | Current display name resolved through the deployment identity directory |
| check.creatorAvatarUrl | string | Yes | Current creator profile image URL |
| check.createdAt | string | Yes | ISO 8601 timestamp. |
| check.updatedAt | string | Yes | ISO 8601 timestamp. |
| alreadyExists | boolean | Yes | — |
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...