Skip to content

Create an AI Style Group in a Space

https://mapi.storyblok.com/v1/spaces/:space_id/ai_style_groups

Create a new AI style group in the specified space.

  • :space_id required number

    The ID of the Space

  • ai_style_group required object
    • name required string

      The name of the AI style group (max 100 characters)

    • description string

      Description of the AI style group (max 400 characters)

  • ai_output_rule_ids number[]

    Array of AI output rule IDs to add to the group

curl "https://mapi.storyblok.com/v1/spaces/288868932106293/ai_style_groups" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"ai_output_rule_ids\":[123456789012345,123456789012346],\"ai_style_group\":{\"description\":\"Brand guidelines for marketing content creation\",\"name\":\"Marketing Style Guide\"}}"