Detect anomalies in errors, latency, and traffic
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/issues \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/issues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/issues"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspaceId": "<string>",
"analyzedAt": "2023-11-07T05:31:56Z",
"sensitivity": "low",
"baseline": {
"period": "<string>",
"avgExecsPerHour": 123,
"avgErrorsPerHour": 123,
"avgLatencyMs": 123
},
"recent": {
"period": "<string>",
"executions": 123,
"errors": 123,
"avgLatencyMs": 123
},
"issueCount": 123,
"issues": [
{
"type": "error_spike",
"severity": "warning",
"message": "<string>",
"current": 123,
"baseline": 123,
"threshold": 123
}
],
"status": "alert"
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Observability
Detect anomalies in errors, latency, and traffic
Compares the most recent hour against a 7-day rolling baseline and surfaces alerts for error spikes, latency regressions, and no-traffic conditions. Sensitivity controls the multiplier on baseline thresholds.
Requires observability:read permission. Rate-limited to 100
calls per minute.
GET
/
v1
/
observability
/
{workspaceId}
/
issues
Detect anomalies in errors, latency, and traffic
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/issues \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/issues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/issues"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspaceId": "<string>",
"analyzedAt": "2023-11-07T05:31:56Z",
"sensitivity": "low",
"baseline": {
"period": "<string>",
"avgExecsPerHour": 123,
"avgErrorsPerHour": 123,
"avgLatencyMs": 123
},
"recent": {
"period": "<string>",
"executions": 123,
"errors": 123,
"avgLatencyMs": 123
},
"issueCount": 123,
"issues": [
{
"type": "error_spike",
"severity": "warning",
"message": "<string>",
"current": 123,
"baseline": 123,
"threshold": 123
}
],
"status": "alert"
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
BearerAuthOrgApiKeyAuth
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Path Parameters
Workspace identifier.
Maximum string length:
64Pattern:
^[a-zA-Z0-9_-]+$Query Parameters
Detection sensitivity (default medium).
Available options:
low, medium, high Maximum string length:
10Response
Issue analysis.
Available options:
low, medium, high Available options:
alert, healthy Was this page helpful?