Skip to main content
Browse the operations you can call with api fetch. Without an argument, the command lists every area of the Apps API and Workspace API, with a preview of the operations in each. Pass an area name to list all of its operations. The list comes from the server’s public API spec, so it always matches the API you’re calling. Areas come from the operations’ paths. An app operation belongs to the area named right after the app ID, and any other operation belongs to the one named right after /api. For example, the workflows area holds every operation under /api/apps/{app_id}/workflows. Area names don’t always match the section names in the API reference.

Usage

Arguments

Flags

Output

The command returns JSON. Its shape depends on whether you pass an area.

Without an area

The command lists every area. An area with one or two operations lists them under operations. A larger area shows its operationCount and a sample of up to three operation summaries instead:

With an area

The command lists that area’s operations, up to 200. When an area holds more, truncated is true, and total still counts every operation in the area:
An area name that doesn’t exist fails with the list of real ones.

See also

  • api search: Search API operations by keyword
  • api grep: Search the API spec with a regular expression
  • api fetch: Call an operation you found