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

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

{
    "url": "https://api-beta.open5e.com/v2/spells/analyze-device/?format=api",
    "key": "analyze-device",
    "casting_options": [
        {
            "type": "default",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null
        }
    ],
    "school": {
        "key": "divination",
        "name": "Divination",
        "desc": "**Divination** spells reveal information, whether in the form of secrets long forgotten, glimpses of the future, the locations of hidden things, the truth behind illusions, or visions of distant people or places.",
        "document": "srd"
    },
    "name": "Analyze Device",
    "desc": "You discover all mechanical properties, mechanisms, and functions of a single construct or clockwork device, including how to activate or deactivate those functions, if appropriate.",
    "level": 1,
    "higher_level": "",
    "target_type": "object",
    "range": "Touch",
    "ritual": false,
    "casting_time": "action",
    "verbal": true,
    "somatic": true,
    "material": true,
    "material_specified": "a set of clockworker’s tools",
    "material_cost": null,
    "material_consumed": false,
    "target_count": 1,
    "saving_throw_ability": "",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "instantaneous",
    "shape_type": null,
    "shape_magnitude": null,
    "concentration": false,
    "document": "https://api-beta.open5e.com/v2/documents/deep-magic/?format=api"
}