List a World’s integrations
Read the integration assignments and effective tool policies for a World.
GET
/api/v1/worlds/:worldId/integrationsconst response = await fetch("https://api.smallworld.sh/api/v1/worlds/01995e56-e2d4-7f19-b691-7bf9af6abdc8/integrations", {
method: "GET",
headers: { Authorization: `Bearer ${apiKey}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();
Use your server-side apiKey. Replace the example IDs.
Path parameters#
worldIdUUIDrequiredThe World ID returned by POST /worlds or GET /worlds.
Responses#
Returns unpaginated items with worldId, integration, enabled (assigned in this World), alwaysEnabled, tool policy overrides and their effective policy/source, and optional capabilities.
{
"items": [
{
"worldId": "01995e56-e2d4-7f19-b691-7bf9af6abdc8",
"integration": "notion",
"enabled": true,
"alwaysEnabled": false,
"toolPolicies": []
}
]
}