Skip to main content
List the functions available to the authenticated workspace. The list view returns id, name, and description only. Functions are returned newest first, by creation time.
clay functions list [--limit <n>] [--cursor <token>]
Results are paginated. --limit sets the page size, and the response includes a top-level cursor when more functions are available; pass it back with --cursor to fetch the next page.

Flags

FlagDescription
--limit <n>Maximum functions to return per page. Must be a positive integer up to 100. Defaults to 20.
--cursor <token>Resume from a previous response’s cursor to fetch the next page.

Output

{
  "data": [
    {
      "id": "t_abc123",
      "name": "Enrich company",
      "description": "Look up a company by domain."
    }
  ],
  "cursor": "next_page_token"
}
FieldTypeDescription
data[].idstringFunction id.
data[].namestringDisplay name.
data[].descriptionstring | nullDescription, or null if not set.
cursorstringPresent when more functions are available. Pass it back via --cursor. Omitted on the last page.

Errors

CodeExitNotes
validation_error2--limit is not a positive integer or exceeds 100.
auth_forbidden3The API key lacks the cli:all scope (or all).

Examples

clay functions list
clay functions list --limit 10 | jq -r '.data[].id'
clay functions list --limit 10 --cursor "$CURSOR"