List actions
import { FloraClient } from '@flora-ai/flora';
const client = new FloraClient({ apiKey: process.env['FLORA_API_KEY'] });
const page = await client.actions.list();console.log(page);curl -X GET 'https://app.flora.ai/api/v1/actions' \ -H 'Authorization: Bearer $FLORA_API_KEY'Returns released prebuilt Flora actions that can be executed by the public API. Action identifiers are raw slugs such as rotate-image, not action-prefixed IDs.
Error responses use the standard error body.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Actions returned.
object
object
Action identifier
Action name
Action description
Action runtime language
Cost per execution in USD
Action input slots
object
Action input or output name
Action input or output media type
Deprecated alias for multiple: true. Mirrors multiple for back-compat.
Whether the slot allows zero connections in single-input mode. Ignored when multiple is the object form (use min: 0 there instead).
Action output slots
object
Action input or output name
Action input or output media type
Deprecated alias for multiple: true. Mirrors multiple for back-compat.
Whether the slot allows zero connections in single-input mode. Ignored when multiple is the object form (use min: 0 there instead).
Action parameters
object
Action parameter key
Action parameter control type
Action parameter label
Action parameter description
Default parameter value
Allowed parameter values
object
Example
{ "actions": [ { "action_id": "color-grade-image-browser", "name": "Rotate Image", "description": "Rotate an image by a fixed angle.", "language": "javascript", "inputs": [ { "name": "image", "type": "image", "multiple": true } ], "outputs": [ { "name": "image", "type": "image", "multiple": true } ], "params": [ { "key": "angle", "type": "select", "label": "Angle", "info_tooltip": "Rotation angle in degrees." } ] } ]}