Skip to main content
POST
/
orgs
/
{org_id}
/
connections
/
actions
/
options
Get the options for an action
curl --request POST \
  --url https://api.useinvent.com/orgs/{org_id}/connections/actions/options \
  --header 'Content-Type: application/json' \
  --data '
{
  "action_id": "<string>",
  "connection_id": "<string>",
  "input": {},
  "resource_id": "<string>",
  "definitions": [
    {
      "path": "<string>",
      "definition": {}
    }
  ]
}
'
[
  {
    "label": "<string>",
    "value": "<string>",
    "description": "<string>",
    "icon": "StepFormIcon",
    "icon_url": "<string>",
    "metadata": {
      "link": "<string>"
    }
  }
]

Path Parameters

org_id
string
required

The ID of the org

Query Parameters

Search query

value
string

Filter by a single value

values
string[]

Filter by multiple values

page
number

Page number

take
number

Number of items to take

next
string

Next page token (Only used on special endpoints)

Body

The interface of a connection action

action_id
string
required
connection_id
string
input
object

Values of the fields

resource_id
string
definitions
object[]

Response

200 - application/json
label
string
required

Label of the enum item

value
string
required

Value of the enum item

description
string

Description of the enum item

icon
enum<string>

The name of the icon to use in the UI

Available options:
StepFormIcon,
StepAiIcon,
StepNoteIcon,
StepBranchIcon,
StepCodeIcon,
ConnectionIcon,
ConnectionSchedulerIcon,
ConnectionFilesIcon,
ConnectionHttpIcon,
ConnectionWorkflowIcon,
ConnectionMcpIcon,
CustomIntegrationIcon,
ToolThinkIcon,
ToolWebSearchIcon,
ToolWebScrapingIcon,
ToolGenerateImageIcon,
ToolDisplayFileIcon,
ToolCalculatorIcon,
ToolGenerateFileIcon,
ToolGeneratePdfIcon,
ToolDeepResearchIcon,
ToolSearchKbIcon,
ToolShowOptionsIcon,
ToolRequestLocationIcon,
ToolManageMemoryIcon,
ClockFadingIcon,
CalendarIcon,
CloudIcon,
GlobeAltIcon,
LockClosedIcon,
FileSpreadsheetIcon,
DatabaseIcon,
TableIcon,
TableRowIcon,
TableRowAddIcon,
TableRowEditIcon,
TableRowDeleteIcon,
TableRowsIcon,
PageIcon,
UserIcon,
EmailIcon,
PhoneIcon,
CurrencyIcon,
FunctionIcon,
TableCellsIcon,
DocumentTextIcon,
QueueListIcon,
TagIcon,
SettingsIcon,
ShoppingCartIcon,
MegaphoneIcon,
WrenchScrewdriverIcon,
ModelAutoIcon,
ModelOpenAIIcon,
ModelAnthropicIcon,
ModelGoogleIcon,
ModelXAIIcon,
ModelPerplexityIcon,
ModelGroqIcon,
ModelAzureIcon,
ModelElevenLabsIcon,
ModelDeepgramIcon
Maximum string length: 125
icon_url
string
metadata
object

Additional metadata for the enum item