Get the full trace timeline for a correlationId
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/traces/{correlationId} \
--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}/traces/{correlationId}', 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}/traces/{correlationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"correlationId": "<string>",
"workspaceId": "<string>",
"summary": {
"eventCount": 123,
"automationCount": 123,
"errorCount": 123,
"totalDurationMs": 123,
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z"
},
"user": {
"id": "<string>",
"sessionId": "<string>"
},
"timeline": [
{
"timestamp": "2023-11-07T05:31:56Z",
"offsetMs": 123,
"type": "<string>",
"automation": "<string>",
"appInstance": "<string>",
"duration": 123,
"trigger": {
"type": "<string>",
"value": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>"
},
"emittedEvent": "<string>"
}
],
"automations": [
{
"slug": "<string>",
"duration": 123,
"startOffset": 123
}
],
"errors": [
{
"automation": "<string>",
"error": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Observability
Get the full trace timeline for a correlationId
Returns the timeline, automation summary, and error list for a given correlation id. Returns 404 when no events exist for that correlation id in the workspace.
Requires observability:read permission. Rate-limited to 100
calls per minute.
GET
/
v1
/
observability
/
{workspaceId}
/
traces
/
{correlationId}
Get the full trace timeline for a correlationId
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/traces/{correlationId} \
--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}/traces/{correlationId}', 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}/traces/{correlationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"correlationId": "<string>",
"workspaceId": "<string>",
"summary": {
"eventCount": 123,
"automationCount": 123,
"errorCount": 123,
"totalDurationMs": 123,
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z"
},
"user": {
"id": "<string>",
"sessionId": "<string>"
},
"timeline": [
{
"timestamp": "2023-11-07T05:31:56Z",
"offsetMs": 123,
"type": "<string>",
"automation": "<string>",
"appInstance": "<string>",
"duration": 123,
"trigger": {
"type": "<string>",
"value": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>"
},
"emittedEvent": "<string>"
}
],
"automations": [
{
"slug": "<string>",
"duration": 123,
"startOffset": 123
}
],
"errors": [
{
"automation": "<string>",
"error": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"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_-]+$Correlation id of the trace to inspect.
Maximum string length:
128Pattern:
^[a-zA-Z0-9_:-]+$Response
Trace details.
Hide child attributes
Hide child attributes
Was this page helpful?