GoRunner

List the organization's workflow templates

Requires scope workflow:read
GET
/api/templates

Returns every template in the caller's ORGANIZATION, newest first. Templates are org-scoped, not workspace-scoped: one saved from any workspace is visible from every workspace in the same org. (Connections and folders, by contrast, are workspace-scoped — which is why using a template across workspaces can drop its connection references.)

Every row carries the FULL definition — the immutable snapshot of the workflow draft that was saved — so responses can be large. There is no pagination, no search and no category filter; filter client-side on category.

An org with no templates returns {"data": []}.

Authorization

bearerAuth
AuthorizationBearer <token>

An API token: Authorization: Bearer grt_…. Mint one in the app under Settings → Workspace → API tokens; the raw value is shown once. Scopes confine the token — see x-permission on each operation.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/templates"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",      "name": "string",      "description": "string",      "category": "string",      "triggerType": "string",      "definition": {        "schemaVersion": 2,        "trigger": {},        "variables": {},        "settings": {}      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}