Skip to main content
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>'
{
  "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"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

workspaceId
string
required

Workspace identifier.

Maximum string length: 64
Pattern: ^[a-zA-Z0-9_-]+$
correlationId
string
required

Correlation id of the trace to inspect.

Maximum string length: 128
Pattern: ^[a-zA-Z0-9_:-]+$

Response

Trace details.

correlationId
string
workspaceId
string
summary
object
user
object
timeline
object[]
automations
object[]
errors
object[]