Query quality operations
GET /api/v1/quality/operations: request fields and declared response contract.
GET/api/v1/quality/operations
| Permission | quality.read |
|---|---|
| Workspace scope | required |
| Scope target | workspace |
Parameters
Path parameters: none.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| collection | "constraint_runs" | "alerts" | required | non-null | — |
| cursor | string | optional | non-null | — |
| limit | integer | optional | non-null | — |
| savedView | "open_alerts" | "resolved_alerts" | "failed_runs" | "breaching_runs" | optional | non-null | — |
| filters | object | optional | non-null | — |
| filters.state | string | optional | non-null | — |
| filters.constraintId | string | optional | non-null | — |
| filters.cause | string | optional | non-null | — |
| staleAfterSeconds | integer | optional | non-null | — |
| workerHealthyWithinSeconds | integer | optional | non-null | — |
Response
200
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| data | unknown | required | non-null | — |
Declared failures
| QUALITY_OPERATIONS_QUERY_FAILED | 500 — not retryable |
|---|
Readback
This method returns the current state it read.
- quality.operations.query
Request example
Schematic only. Replace placeholders with real values and include all required nested fields.
GET /api/v1/quality/operations?collection=constraint_runs HTTP/1.1
Authorization: Bearer <token>
x-merulan-workspace-id: <workspace-id>