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

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

{
    "url": "https://api-beta.open5e.com/v2/spells/a5e-ag_programmed-illusion/?format=api",
    "document": {
        "name": "Adventurer's Guide",
        "key": "a5e-ag",
        "display_name": "Adventurer's Guide",
        "publisher": {
            "name": "EN Publishing",
            "key": "en-publishing",
            "url": "https://api-beta.open5e.com/v2/publishers/en-publishing/?format=api"
        },
        "gamesystem": {
            "name": "Advanced 5th Edition",
            "key": "a5e",
            "url": "https://api-beta.open5e.com/v2/gamesystems/a5e/?format=api"
        },
        "permalink": "https://a5esrd.com/a5esrd"
    },
    "key": "a5e-ag_programmed-illusion",
    "casting_options": [
        {
            "type": "default",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null,
            "concentration": null,
            "shape_size": null,
            "desc": null
        }
    ],
    "school": {
        "name": "Illusion",
        "key": "illusion",
        "url": "https://api-beta.open5e.com/v2/spellschools/illusion/?format=api"
    },
    "classes": [],
    "range_unit": "feet",
    "shape_size_unit": "feet",
    "name": "Programmed Illusion",
    "desc": "You craft an illusory object, creature, or other effect which executes a scripted performance when a specific condition is met within 30 feet of the area.\n\nYou must describe both the condition and the details of the performance upon casting. The trigger must be based on something that can be seen or heard.\n\nOnce the illusion triggers, it runs its performance for up to 5 minutes before it disappears and goes dormant for 10 minutes. The illusion is undetectable until then and only reactivates when the condition is triggered and after the dormant period has passed.\n\nA creature can use an action to attempt an Investigation check against your spell save DC to reveal the spell's illusory nature. Physical interactions reveal the illusion for what it is as things can pass through it with ease. A creature aware of the illusion perceives the image as transparent and the sounds it generates hollow.",
    "level": 6,
    "higher_level": "",
    "target_type": "object",
    "range_text": "120 feet",
    "range": 120.0,
    "ritual": false,
    "casting_time": "action",
    "reaction_condition": null,
    "verbal": true,
    "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": "permanent",
    "shape_type": null,
    "shape_size": null,
    "concentration": false
}