Skip to content

List Actions

GET /actions

Returns all available action names.

It also includes actions_with_types, which tells you whether each action supports the type filter.

Use this metadata to decide when to show type filters in your UI.

Field Type Description
actions string[] Array of available action names
actions_with_types object[] Per-action metadata for type filter support
actions_with_types[].action string Action name
actions_with_types[].has_types boolean Whether this action supports `type` filtering
Terminal window
curl https://api.gifukai.com/actions
{
"actions": [
"hug",
"kiss",
"pat"
],
"actions_with_types": [
{ "action": "hug", "has_types": false },
{ "action": "kiss", "has_types": true },
{ "action": "pat", "has_types": false }
]
}
Status Description
200 Successfully returned the list of actions
500 Internal server error