Overview
Returns all custom skills registered for your tenant. Skills are tools that AI agents can invoke during investigations.
Skills use a non-standard base path: /api/v1/tenants/{tenantId}/skills — not /v1/. This is a dedicated module with its own routing prefix.
Required role: admin or member
JWT Bearer token. Format: Bearer <your-jwt>.
Path parameters
Your tenant identifier. Example: ten_EXAMPLE_ABC123.
Query parameters
Filter by enabled/disabled status.
Filter by skill type. One of: http, integration, builtin.
Response
Returns 200 OK.
{
"items": [
{
"skillId": "skl_01HX9VTPQR3KF8MZWBYD5N6JCE",
"name": "fetch_runbook",
"description": "Fetches the runbook for a given service from the internal wiki",
"type": "http",
"enabled": true,
"createdAt": "2024-04-01T10:00:00Z",
"updatedAt": "2024-04-01T10:00:00Z"
}
],
"total": 1
}
Error responses
| Status | Error code | Description |
|---|
401 | unauthorized | Missing or invalid JWT |
403 | forbidden | Caller lacks required role |
Examples
curl "https://api.causeflow.ai/api/v1/tenants/ten_EXAMPLE_ABC123/skills?enabled=true" \
-H "Authorization: Bearer eyJhbGc..."
Create skill
Register a new custom skill
Get skill
Retrieve a single skill by ID