Get the workspace dependency graph
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/dependencies \
--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}/dependencies', 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}/dependencies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspaceId": "<string>",
"period": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
},
"graph": {
"nodes": [
{
"id": "<string>",
"type": "automation",
"label": "<string>",
"appInstance": "<string>",
"automationSlug": "<string>"
}
],
"edges": [
{
"source": "<string>",
"target": "<string>",
"type": "uses_app_automation",
"calls": 123
}
]
},
"stats": {
"nodeCount": 123,
"edgeCount": 123
}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Observability
Get the workspace dependency graph
Returns the call graph between workspace automations and the app-instance automations they invoke, computed from runtime execution events for the requested window.
Requires observability:read permission. Rate-limited to 100
calls per minute.
GET
/
v1
/
observability
/
{workspaceId}
/
dependencies
Get the workspace dependency graph
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/dependencies \
--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}/dependencies', 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}/dependencies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspaceId": "<string>",
"period": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
},
"graph": {
"nodes": [
{
"id": "<string>",
"type": "automation",
"label": "<string>",
"appInstance": "<string>",
"automationSlug": "<string>"
}
],
"edges": [
{
"source": "<string>",
"target": "<string>",
"type": "uses_app_automation",
"calls": 123
}
]
},
"stats": {
"nodeCount": 123,
"edgeCount": 123
}
}{
"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
Preset window (default 7d).
Available options:
1h, 24h, 7d, 30d Maximum string length:
8Custom range start.
Maximum string length:
64Custom range end.
Maximum string length:
64Legacy alias for start.
Maximum string length:
64Legacy alias for end.
Maximum string length:
64Response
Dependency graph.
Hide child attributes
Hide child attributes
Was this page helpful?