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

GET /v2/spells/srd-2024_glyph-of-warding/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/spells/srd-2024_glyph-of-warding/?format=api",
    "document": {
        "name": "System Reference Document 5.2",
        "key": "srd-2024",
        "display_name": "5e 2024 Rules",
        "publisher": {
            "name": "Wizards of the Coast",
            "key": "wizards-of-the-coast",
            "url": "https://api-beta.open5e.com/v2/publishers/wizards-of-the-coast/?format=api"
        },
        "gamesystem": {
            "name": "5th Edition 2024",
            "key": "5e-2024",
            "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2024/?format=api"
        },
        "permalink": "https://dnd.wizards.com/resources/systems-reference-document"
    },
    "key": "srd-2024_glyph-of-warding",
    "casting_options": [],
    "school": {
        "name": "Abjuration",
        "key": "abjuration",
        "url": "https://api-beta.open5e.com/v2/spellschools/abjuration/?format=api"
    },
    "classes": [
        {
            "name": "Bard",
            "key": "srd-2024_bard",
            "url": "https://api-beta.open5e.com/v2/classes/srd-2024_bard/?format=api"
        },
        {
            "name": "Cleric",
            "key": "srd-2024_cleric",
            "url": "https://api-beta.open5e.com/v2/classes/srd-2024_cleric/?format=api"
        },
        {
            "name": "Wizard",
            "key": "srd-2024_wizard",
            "url": "https://api-beta.open5e.com/v2/classes/srd-2024_wizard/?format=api"
        }
    ],
    "range_unit": "feet",
    "shape_size_unit": "feet",
    "name": "Glyph of Warding",
    "desc": "You inscribe a glyph that later unleashes a magical effect. You inscribe it either on a surface (such as a table or a section of floor) or within an object that can be closed (such as a book or chest) to conceal the glyph. The glyph can cover an area no larger than 10 feet in diameter. If the surface or object is moved more than 10 feet from where you cast this spell, the glyph is broken, and the spell ends without being triggered. The glyph is nearly imperceptible and requires a successful Wisdom (Perception) check against your spell save DC to notice. When you inscribe the glyph, you set its trigger and choose whether it's an explosive rune or a spell glyph, as explained below. You can refine the trigger so that only creatures of certain types activate it (for example, the glyph could be set to affect Aberrations). You can also set conditions for creatures that don't trigger the glyph, such as those who say a certain password. When the glyph is triggered, the stored spell takes effect. If the spell has a target, it targets the creature that triggered the glyph. If the spell affects an area, the area is centered on that creature. If the spell summons Hostile creatures or creates harmful objects or traps, they appear as close as possible to the intruder and attack it. If the spell requires Concentration, it lasts until the end of its full duration.",
    "level": 3,
    "higher_level": "The damage of an explosive rune increases by 1d8 for each spell slot level above 3. If you create a spell glyph, you can store any spell of up to the same level as the spell slot you use for the Glyph of Warding.",
    "target_type": "creature",
    "range_text": "Touch",
    "range": 0.0,
    "ritual": false,
    "casting_time": "hour",
    "reaction_condition": null,
    "verbal": true,
    "somatic": true,
    "material": true,
    "material_specified": "powdered diamond worth 200+ GP, which the spell consumes",
    "material_cost": null,
    "material_consumed": true,
    "target_count": 1,
    "saving_throw_ability": "",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "until dispelled or triggered",
    "shape_type": null,
    "shape_size": null,
    "concentration": false
}