list: API endpoint for returning a list of spells. retrieve: API endpoint for returning a particular spell.

GET /v2/spells/ambush/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/spells/ambush/?format=api",
    "key": "ambush",
    "casting_options": [
        {
            "type": "default",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_2",
            "damage_roll": null,
            "target_count": 2,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_3",
            "damage_roll": null,
            "target_count": 3,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_4",
            "damage_roll": null,
            "target_count": 4,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_5",
            "damage_roll": null,
            "target_count": 5,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_6",
            "damage_roll": null,
            "target_count": 6,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_7",
            "damage_roll": null,
            "target_count": 7,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_8",
            "damage_roll": null,
            "target_count": 8,
            "duration": null,
            "range": null
        },
        {
            "type": "slot_level_9",
            "damage_roll": null,
            "target_count": 9,
            "duration": null,
            "range": null
        }
    ],
    "school": {
        "key": "illusion",
        "name": "Illusion",
        "desc": "**Illusion** spells deceive the senses or minds of others. They cause people to see things that are not there, to miss things that are there, to hear phantom noises, or to remember things that never happened. Some illusions create phantom images that any creature can see, but the most insidious illusions plant an image directly in the mind of a creature.",
        "document": "srd"
    },
    "name": "Ambush",
    "desc": "The forest floor swirls and shifts around you to welcome you into its embrace. While in a forest, you have advantage on Dexterity (Stealth) checks to Hide. While hidden in a forest, you have advantage on your next Initiative check. The spell ends if you attack or cast a spell.",
    "level": 1,
    "higher_level": "When you cast this spell using a spell slot of 2nd level or higher, you can affect one additional creature for each slot level above 1st. The spell ends if you or any target of this spell attacks or casts a spell.",
    "target_type": "creature",
    "range": "Self",
    "ritual": false,
    "casting_time": "action",
    "verbal": false,
    "somatic": true,
    "material": true,
    "material_specified": "",
    "material_cost": null,
    "material_consumed": false,
    "target_count": 1,
    "saving_throw_ability": "",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "1 hour",
    "shape_type": null,
    "shape_magnitude": null,
    "concentration": true,
    "document": "https://api-beta.open5e.com/v2/documents/kp/?format=api"
}