CumulusDocs
Open Studio
On this page

List available actions

List the actions an agent can be configured to use. An action must be supported and configured for your workspace before the agent can execute it; validate the draft after adding it.

Operation ID: actions.list.

Request

GET /api/v1/actions

  • TypeScript SDK: client.actions.list (path arguments use path).
  • MCP tool: sdk_client_call with operationId: "actions.list" (path arguments use input.path). Legacy alias: actions_list. Connect to your authenticated /mcp endpoint with an API key for the same environment.
  • Minimum API key role: viewer.
  • Idempotency: No idempotency header required.

Read resource IDs from earlier responses and use a key for the same environment.

Request example

Set each path variable to an ID returned by an earlier API request.

Set CUMULUS_BASE_URL to your workspace API URL and CUMULUS_API_KEY to a key for that environment. Example values are synthetic.

cURL

curl
curl --fail-with-body -sS "${CUMULUS_BASE_URL%/}/api/v1/actions" \
  -H "Authorization: Bearer $CUMULUS_API_KEY"

TypeScript

typescript
import { Cumulus } from "@cumulus/sdk";

const baseUrl = process.env.CUMULUS_BASE_URL;
const apiKey = process.env.CUMULUS_API_KEY;
if (!baseUrl || !apiKey) throw new Error("Set CUMULUS_BASE_URL and CUMULUS_API_KEY");
const client = new Cumulus({ baseUrl, apiKey });

const response = await client.actions.list({});

Input schema

Path, query and header parameters

channel

query parameter · Optional.

Type: "cloud" · "phone" · "web" · "control".

invocation

query parameter · Optional.

Type: "model_tool" · "flow_node" · "setting" · "lifecycle" · "command".

JSON request body

This operation has no JSON request body.

Complete OpenAPI schema
OpenAPI JSON
{
  "parameters": [
    {
      "name": "channel",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "enum": [
          "cloud",
          "phone",
          "web",
          "control"
        ]
      }
    },
    {
      "name": "invocation",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "enum": [
          "model_tool",
          "flow_node",
          "setting",
          "lifecycle",
          "command"
        ]
      }
    }
  ],
  "requestBody": null
}

Responses

HTTP 200

List the action descriptors available to publications

application/json

Type: array of object.

Error responses

HTTPDescription
4XXTyped error (ApiError)
5XXTyped error (ApiError)

Errors use the shared error envelope. Inspect error.code, retryable, outcome and details before retrying.

Complete OpenAPI schema
OpenAPI JSON
{
  "200": {
    "description": "List the action descriptors available to publications",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ActionsListResponse200"
        }
      }
    }
  },
  "4XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  },
  "5XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

Referenced schemas

Expand the complete OpenAPI definitions for integrations that generate their own clients.

Complete OpenAPI schema
OpenAPI JSON
{
  "components": {
    "schemas": {
      "ActionsListResponse200": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/ActionDescriptor"
        }
      },
      "ActionDescriptor": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)+$"
          },
          "version": {
            "type": "integer",
            "minimum": 0,
            "exclusiveMinimum": true,
            "maximum": 9007199254740991
          },
          "kind": {
            "type": "string",
            "enum": [
              "builtin",
              "customer_http",
              "command"
            ]
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "channels": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "cloud",
                "phone",
                "web",
                "control"
              ]
            }
          },
          "invocation": {
            "type": "string",
            "enum": [
              "model_tool",
              "flow_node",
              "setting",
              "lifecycle",
              "command"
            ]
          },
          "permission": {
            "type": "string",
            "enum": [
              "tenant:read",
              "tenant:write",
              "tenant:admin",
              "platform:admin",
              "tenant:act-as",
              "tenant:dial"
            ]
          },
          "grant_action": {
            "nullable": true,
            "type": "string",
            "enum": [
              "rag.index",
              "benchmark.run",
              "comparison.run",
              "gpu.manage",
              "run.execute",
              "trigger.execute",
              "test.run"
            ]
          },
          "risk": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "human_required": {
            "type": "boolean"
          },
          "effect": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "none",
                  "transaction",
                  "gateway_inference",
                  "http",
                  "livekit",
                  "sip_dial",
                  "sip_transfer",
                  "sip_hangup",
                  "run_admission",
                  "gpu"
                ]
              },
              "idempotency": {
                "type": "string",
                "enum": [
                  "owner_key",
                  "receiver_key",
                  "observe_then_act",
                  "none"
                ]
              },
              "unknown_outcome": {
                "type": "string",
                "enum": [
                  "surface_uncertain",
                  "retry_same_key",
                  "reconcile_by_observation"
                ]
              },
              "max_send_attempts": {
                "type": "integer",
                "minimum": 1,
                "maximum": 12
              },
              "timeout_ms": {
                "type": "integer",
                "minimum": 100,
                "maximum": 120000
              }
            },
            "required": [
              "kind",
              "idempotency",
              "unknown_outcome",
              "max_send_attempts",
              "timeout_ms"
            ],
            "additionalProperties": false
          },
          "input_schema": {
            "type": "object",
            "additionalProperties": {}
          },
          "output_schema": {
            "type": "object",
            "additionalProperties": {}
          },
          "config_schema": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "required": [
          "id",
          "version",
          "kind",
          "title",
          "channels",
          "invocation",
          "permission",
          "grant_action",
          "risk",
          "human_required",
          "effect",
          "input_schema",
          "output_schema",
          "config_schema"
        ],
        "additionalProperties": false
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "unauthenticated",
                  "forbidden",
                  "not_found",
                  "conflict",
                  "invalid_request",
                  "idempotency_conflict",
                  "policy_denied",
                  "capability_unavailable",
                  "provider_unavailable",
                  "knowledge_unavailable",
                  "publication_invalid",
                  "run_not_active",
                  "rate_limited",
                  "outcome_unknown",
                  "internal"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "none",
                  "unknown"
                ]
              },
              "details": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "required": [
              "code",
              "message",
              "retryable",
              "outcome"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": false
      }
    }
  }
}

Errors and recovery

See API error handling and Troubleshooting.

Content version ea3ca1afCustomer SDKMarkdown source
List available actions · Cumulus developer docs