Skip to content

Action Types

GET/actions/{action}/types

Returns type metadata for a specific action:

  • has_types: whether the action supports type filtering
  • types: list of currently available type values for that action

Use this endpoint to discover type support dynamically instead of hardcoding action-specific rules.

FieldTypeDescription
actionstringAction name
has_typesbooleanWhether this action supports `type` filtering
typesstring[]Available type values for the action (empty when `has_types` is false)
Terminal window
curl https://api.gifukai.com/actions/kiss/types
{
"action": "kiss",
"has_types": true,
"types": ["cheek", "forehead", "mouth"]
}
StatusDescription
200Successfully returned action type metadata
500Internal server error