List functions
const url = 'https://api-dev.mindflow.io/v1/functions?category=Custom&query=base64&includeDeprecated=false&limit=50&cursor=eyJvZmZzZXQiOjEwMH0%3D';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api-dev.mindflow.io/v1/functions?category=Custom&query=base64&includeDeprecated=false&limit=50&cursor=eyJvZmZzZXQiOjEwMH0%3D' \ --header 'Authorization: Bearer <token>'Returns one page of visible formula functions, sorted by functionId ascending. Each entry has the required
summary fields, with descriptionFirstLine in place of the full description and no args. Every parameter is
optional; with none, the call pages through the whole catalog.
Filters
category: exact Studio category label.query: case-insensitive substring offunctionIdorname. It narrows the page and never reorders it.includeDeprecated: sendtrueto include deprecated functions. They are left out by default.
Hidden functions never appear. Use searchFunctions for ranked free-text discovery across descriptions, and
getFunction or batchGetFunctions for argument metadata.
Pagination
Default page size is 50, maximum 250. Follow pagination.nextCursor with the same filters until it is
null. A cursor sent with different filters returns 400.
Auth
Authorization: Bearer <token> with viewOrganization for the caller’s organization.
Errors
400 when a parameter exceeds its length limit or cursor is invalid for these filters.
401, 429, and 500 use the platform Problem Details responses.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Exact Studio category label (for example Custom, Text, or Cryptography). Case-sensitive.
Example
CustomExact Studio category label (case-sensitive), for example Data format or Hashing. Omit it to list every
category.
Optional case-insensitive substring filter on a list. It narrows the entries and never changes their order. Each list operation names the fields it compares.
Example
base64Case-insensitive substring of functionId or name. Omit it to keep every function in scope. Use
searchFunctions to match descriptions and rank results.
When true, deprecated entries are returned and flagged with deprecated: true. Omit it, or send false, to
leave deprecated entries out. Get-by-id still returns a deprecated entry.
Example
falsePage size for catalog list operations. Defaults to 50; values above 250 are reduced to 250.
Maximum number of entries in this page. Omit it to use 50. Values above 250 are reduced to 250.
Follow pagination.nextCursor to read the remaining entries.
Example
50Opaque token from the previous response pagination.nextCursor. Omit it to read the first page.
Send the token unchanged. Do not combine it with before or after on audit logs.
An unknown or altered token is 400 BAD_REQUEST.
Example
eyJvZmZzZXQiOjEwMH0=Responses
Section titled “Responses”One page of function summaries and the cursor for the next page.
One page of visible functions in functionId order.
object
Function summaries for this page (required fields only), sorted by functionId ascending.
Formula function catalog entry as list and search return it: the required fields only. Get and batch get return
the full Function, which adds description, hidden, and args.
object
Stable function identifier. Pass the value unchanged to get, batch get, and formulas.
Display name shown in Studio.
Studio category that groups related functions.
Derived from description, not stored: the text before the first line break, with whitespace
collapsed. Text longer than 160 characters is truncated with an ellipsis. Empty when
description is empty.
Full human-readable explanation, often a first line followed by examples or details. Returned by get and batch get only.
Return type of the function (for example string, number, or boolean).
True when the function is deprecated and should not be used in new flows.
True when the function is hidden from list and search. Returned by get and batch get only, which still return
hidden functions by functionId.
Argument metadata keyed by argument name. Each value describes the argument type, whether it is required, and how to set it in a formula. Returned by get and batch get only.
object
Send pagination.nextCursor as cursor, with the same filters, to read the next page.
object
Opaque token for the next page. Send it unchanged as cursor. Null when there are no further items.
The token can be longer than this example and is not a stable document format.
Examples
First page of the whole catalog
Limit=2
{ "functions": [ { "functionId": "ADD", "name": "ADD", "category": "Arithmetic", "descriptionFirstLine": "ADD the input with the given key (e.g. `fe023da5`), MOD 255", "outputType": "string", "deprecated": false }, { "functionId": "AND", "name": "AND", "category": "Arithmetic", "descriptionFirstLine": "AND the input with the given key.", "outputType": "string", "deprecated": false } ], "pagination": { "nextCursor": "eyJ2IjoxLCJwIjpbMl0sImYiOiJUMVBOb1l3cnFnd0RWTHRmIn0" }}One category
Category=Custom&limit=2
{ "functions": [ { "functionId": "Assert", "name": "Assert", "category": "Custom", "descriptionFirstLine": "Raises an error if the input is not true, otherwise returns the input", "outputType": "string", "deprecated": false }, { "functionId": "CSV to JSON", "name": "CSV to JSON", "category": "Custom", "descriptionFirstLine": "Converts a CSV to JSON format.", "outputType": "string", "deprecated": false } ], "pagination": { "nextCursor": "eyJ2IjoxLCJwIjpbMl0sImYiOiJySGZicjhUeGxlZGhBNGREIn0" }}Name filter, last page
Query=to base64
{ "functions": [ { "functionId": "To Base64 V2", "name": "To Base64", "category": "Data format", "descriptionFirstLine": "Converts the input to Base64. Supports multiple alphabets (RFC 4648, URL-safe, and other common variants).", "outputType": "string", "deprecated": false } ], "pagination": { "nextCursor": null }}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
The request was invalid. Common causes include:
- Invalid timestamp format.
- Using
cursorwithbeforeorafter. - Missing
limitwhen usingbeforeorafter. - Invalid field names in the
fieldsparameter.
See the error response for specific details about what went wrong.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always BAD_REQUEST on this response. Read detail for which value to change, then send a corrected request.
Example
{ "type": "about:blank", "title": "Bad Request", "status": 400, "detail": "The request body or query is invalid.", "code": "BAD_REQUEST"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
Authentication failed. The request lacks valid credentials or the provided credentials are invalid.
Ensure you have:
- A valid API key or token.
- Proper authentication headers.
- Required permissions.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always MISSING_OR_INVALID_TOKEN on this response. Branch on this value, not on detail.
Example
{ "type": "about:blank", "title": "Unauthorized", "status": 401, "detail": "The bearer token is missing or invalid.", "code": "MISSING_OR_INVALID_TOKEN"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
Too many requests. The request rate limit has been exceeded.
Please wait until the rate limit window resets before making additional requests.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always RATE_LIMIT_EXCEEDED on this response. Wait Retry-After seconds before retrying.
Example
{ "type": "about:blank", "title": "Too Many Requests", "status": 429, "detail": "The request rate limit has been exceeded.", "code": "RATE_LIMIT_EXCEEDED"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
Internal server error. The server encountered an unexpected condition that prevented it from fulfilling the request.
Please try again later or contact support if the problem persists.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always INTERNAL_ERROR on this response. Retry later. Do not retry a create in a tight loop.
Example
{ "type": "about:blank", "title": "Internal Server Error", "status": 500, "detail": "The request could not be completed.", "code": "INTERNAL_ERROR"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.