Action

Action
Action

Model representing an ABX action

JSON Example
{
    "actionType": "string",
    "compressedContent": "string",
    "contentId": "string",
    "dependencies": "string",
    "description": "string",
    "entrypoint": "string",
    "id": "string",
    "memoryInMB": 0,
    "name": "string",
    "orgId": "string",
    "projectId": "string",
    "provider": "string",
    "runtime": "string",
    "source": "string",
    "system": false,
    "timeoutSeconds": 0
}
string
actionType
Required

Type of the action

Possible values are : SCRIPT, REST_CALL, REST_POLL, FLOW,
string As byte As byte
compressedContent
Optional

base64encoded ZIP of action content (source & dependencies)

object
configuration
Optional

Configuration of the action for specific providers

string
contentId
Optional

ID of the actions saved compressed content

string
dependencies
Optional

A list of libraries to import, delimited by a comma

string
description
Optional

Description of the action

string
entrypoint
Required

Name of the entry function of the action

string
id
Optional

ID of the action

object
inputs
Optional

Map defining the inputs of the action

integer As int32 As int32
memoryInMB
Optional

Runtime RAM constraints in megabytes

string
name
Required

Name of the action

string
orgId
Required

Organization ID of the action.

string
projectId
Optional

Project Id of the action (required for non-system actions)

string
provider
Optional

Provider used for code execution

string
runtime
Required

Runtime of the action (python, nodejs, etc...)

string
source
Optional

Source of the action as string

boolean
system
Optional

Flag indicating if the action is a system action

integer As int32 As int32
timeoutSeconds
Optional

Defines how long an action can run (default 180)