List custom integrations
List the workspace's custom HTTP tool integrations.
GET
/api/v1/custom-integrationsconst response = await fetch("https://api.smallworld.sh/api/v1/custom-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.
Responses#
Returns the configuration, original tool definitions, generated command names, enablement, and timestamps. Static header values and the saved signing secret are never readable; headerNames lists names only.
{
"items": [
{
"key": "example",
"name": "Example",
"description": "Record lookup",
"endpointUrl": "https://tools.example.com/tools",
"timeoutMs": 30000,
"headerNames": [
"x-api-key"
],
"enabled": true,
"tools": [
{
"name": "lookup",
"description": "Look up a record",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
}
],
"commands": [
{
"name": "lookup",
"command": "lookup",
"mode": "unknown"
}
],
"createdAt": "2026-10-22T10:00:00.000Z",
"updatedAt": "2026-10-22T10:00:00.000Z"
}
]
}
More about this endpoint
Authenticate with a workspace API key. Unknown body fields and query parameters are rejected.