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.
Response fields
Section titled “Response fields”| 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 |
Example request
Section titled “Example request”curl https://api.gifukai.com/actionsExample response
Section titled “Example response”{ "actions": [ "hug", "kiss", "pat" ], "actions_with_types": [ { "action": "hug", "has_types": false }, { "action": "kiss", "has_types": true }, { "action": "pat", "has_types": false } ]}Status codes
Section titled “Status codes”| Status | Description |
|---|---|
| 200 | Successfully returned the list of actions |
| 500 | Internal server error |