Routines

List routines

GET
/routines

List or search the routines of one Space, optionally by name or summary. Agent clients (MCP) get compact rows by default (id, slug, kind, name, summary, status, is_template); view=full adds usage, costs, 30-day run health, entry kind, active trigger kinds, paused automation, reconnect alerts, access and author. include_templates adds the public routine templates.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Query Parameters

query?string

Name or summary text

space_id*string

Space whose entries are listed; statistics and automation flags are scoped to it

Formatuuid
include_templates?boolean

Also list the public templates; default false

view?string

summary: id, slug, kind, name, summary, status, is_template (default for agent clients). full: also statistics, costs, run health, automation, access and author (default otherwise).

Value in

  • "summary"
  • "full"
cursor?string

Opaque continuation cursor from the previous response.

Lengthlength <= 2048
limit?integer

Filter or parameter: limit.

Range1 <= value <= 100
Default50

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/routines?space_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "items": [    {      "id": "123e4567-e89b-42d3-a456-426614174000",      "slug": "customer-documents",      "kind": "PLATFORM",      "name": "Customer documents",      "summary": "Extracts totals and due dates from supplier invoices.",      "status": "ACTIVE",      "is_template": false    }  ],  "next_cursor": null}