{"openapi":"3.1.0","info":{"title":"Perfectscale API - OpenAPI 3.1","version":"v1"},"servers":[{"url":"https://api.app.perfectscale.io/public/v1"}],"security":[{"auth":[]}],"components":{"securitySchemes":{"auth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"UnevictableMutedWorkload":{"type":"object","required":["clusterUid","id","createdBy","createTime","updateTime"],"properties":{"clusterUid":{"type":"string"},"id":{"type":"string","description":"Canonical workload id (namespace-kind-name) of the top-level controller."},"namespace":{"type":"string"},"workloadName":{"type":"string","description":"Denormalized workload name for display."},"note":{"type":"string"},"createdBy":{"type":"string","description":"Email of the user who created the rule."},"createTime":{"type":"string","format":"date-time","description":"When the rule was created (RFC 3339 UTC)"},"updateTime":{"type":"string","format":"date-time","description":"When the rule was last updated (RFC 3339 UTC)"}}},"PaginationMeta":{"type":"object","description":"Cursor-based pagination metadata for list responses.","properties":{"next":{"type":["string","null"],"description":"Opaque cursor token for the next page, or null if this is the last page"},"prev":{"type":["string","null"],"description":"Opaque cursor token for the previous page, or null if this is the first page"},"pageSize":{"type":"integer","description":"Number of items per page used for this response"}},"required":["next","prev","pageSize"]},"Problem":{"type":"object","description":"RFC 9457 Problem Details error body, served as `application/problem+json`. `code` is a stable machine-readable identifier (e.g. `filter_key_not_supported`, `not_found`, `internal_error`); `retryable` indicates whether retrying the same request may succeed without client-side changes.\n","properties":{"type":{"type":"string","description":"URI reference identifying the problem type."},"title":{"type":"string","description":"Short, human-readable summary of the problem type."},"status":{"type":"integer","description":"HTTP status code generated by the origin server for this occurrence of the problem."},"detail":{"type":"string","description":"Human-readable explanation specific to this occurrence of the problem."},"instance":{"type":"string","description":"URI reference identifying the specific occurrence of the problem."},"code":{"type":"string","description":"Stable machine-readable error code."},"retryable":{"type":"boolean","description":"Whether retrying the same request may succeed without client-side changes."}},"required":["type","title","status","code","retryable"]}}},"paths":{"/clusters/{clusterUid}/unevictable-muted-workloads":{"get":{"operationId":"ListUnevictableMutedWorkloads","tags":["Unevictable"],"summary":"List unevictable muted workloads for a cluster","description":"Read-only list of workloads that have an active mute (dismissal) rule for the cluster. Rules are created and removed via the web app / user API only; this endpoint does not expose write operations. Tenant resolved from the auth token; a cluster belonging to another tenant returns 404.\n","parameters":[{"name":"clusterUid","in":"path","required":true,"schema":{"type":"string"},"description":"Cluster unique identifier"},{"name":"pageSize","in":"query","schema":{"type":"integer","default":50,"minimum":1,"maximum":500},"description":"Number of items per page (default 50, max 500)"},{"name":"pageToken","in":"query","schema":{"type":"string"},"description":"Opaque cursor token for pagination"}],"responses":{"200":{"description":"List of muted workloads for the cluster","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UnevictableMutedWorkload"}},"meta":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/PaginationMeta"}},"required":["pagination"]}},"required":["data","meta"]}}}},"400":{"description":"Invalid parameters","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Cluster not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal server error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}}}