Skip to main content
Tenant-scoped entity endpoints. Every response is filtered to the tenant this api-tenant instance is bound to (via NTRO_TENANT_SLUG). Path params are entity UUIDs, never slugs — keeping client-identifying strings out of URLs (browser history, screenshots, logs).

List entities

Lists every entity registered against this tenant. Response — EntitySummary[]:

List tasks for an entity

Returns the kanban data for one entity — every task plus an awaiting field (the current display_hint.component) so the UI can bucket by what each workflow is blocked on. Next-step is fetched per-task in parallel; a missing next-step (e.g. workflow already removed from Temporal) silently drops awaiting. Path params Response — TaskSummary[]:
Terminal tasks (COMPLETED / FAILED) skip the next-step lookup.

List available workflows

Returns workflows the entity can start — tenant-specific workflows plus globally available ones (no tenantId). Used by the kanban “Start workflow” dropdown. Response
startParams is derived from each workflow’s runbook configSchema.global block. Each entry carries key, type (string / number / boolean / array / object), optional description / pattern / enum / default, and required (true when the schema field has no default). Workflow rows whose runbook lookup fails are still returned, just without startParams.

Create a task

Starts a workflow run for this entity. Forwards to api-workspace’s POST /workspace/tasks scoped to this tenant + entity. Body
Response — the created task row from api-workspace. Drive it forward with the Tasks endpoints.

Errors