Your cast, world and story structure, as they are on their sheets.
The manuscript's scenes in reading order, with status, word count and who and where appears in each.
Returns
[
{
"id": "1d0e…",
"number": 1,
"title": "Chapter 1",
"status": "draft",
"wordCount": 2310,
"characters": [
"Mara Venn",
"Tom Hale"
],
"locations": [
"Greyhaven"
],
"lastModified": "2026-10-06T21:03:00Z"
}
]
Example
const scenes = await alistair.scenes();
const rows = scenes.map(s => `<tr><td>${s.number}</td><td>${s.title}</td><td>${s.status}</td><td>${s.wordCount}</td></tr>`);
document.querySelector('#scene-table tbody').innerHTML = rows.join('');
Every character sheet: name, role, age, gender, aliases, traits, motivation, factions and more.
Returns
[
{
"id": "7c4a…",
"name": "Mara Venn",
"role": "Protagonist",
"age": "34",
"gender": "Female",
"aliases": [
"Mags"
],
"occupation": "Cartographer",
"traits": "stubborn, loyal",
"motivation": "…",
"species": "Human",
"factions": [
{
"name": "The Ash Guild",
"id": "…"
}
],
"color": "#c0392b",
"relationships": []
}
]
Example
const cast = await alistair.characters();
const select = document.querySelector('[name="pov_character"]');
cast.forEach(c => select.add(new Option(c.name, c.name)));
Every location: name, type, parent location, description, climate, population and aliases.
Returns
[
{
"id": "2b9f…",
"name": "Greyhaven",
"locationType": "City",
"parentLocation": "The Northreach",
"description": "…",
"climate": "Cold",
"population": "40,000",
"aliases": []
}
]
Example
const places = await alistair.locations();
const cities = places.filter(p => p.locationType === 'City');
Every faction: type, leader, seat of power, goals, allies and rivals (as ids).
Returns
[
{
"id": "5e1d…",
"name": "The Ash Guild",
"factionType": "Guild",
"leader": "Oren Pike",
"seat": "Greyhaven",
"goals": "…",
"allies": [],
"rivals": [
"…"
]
}
]
Example
const factions = await alistair.factions();
Every Ancestry document (the peoples of your world), with its homeland.
Returns
[
{
"id": "…",
"name": "Selk",
"homeland": "The Drowned Coast"
}
]
Example
const species = await alistair.species();
Every religion, with the factions tied to it (as ids).
Returns
[
{
"id": "…",
"name": "The Quiet Faith",
"factionIds": []
}
]
Example
const religions = await alistair.religions();
Every magic system document.
Returns
[
{
"id": "…",
"name": "Glasswork"
}
]
Example
const systems = await alistair.magicSystems();
Every lore entry: category, when it happened, summary, and the characters, locations and factions it involves.
Returns
[
{
"id": "…",
"name": "The Shattering",
"category": "Event",
"when": "Year 0",
"summary": "…",
"characters": [],
"locations": [],
"factions": []
}
]
Example
const lore = await alistair.lore();
const events = lore.filter(l => l.category === 'Event');
Every relationship recorded on the character sheets, as one flat list.
Returns
[
{
"characterId": "7c4a…",
"character": "Mara Venn",
"with": "Tom Hale",
"type": "Ally"
}
]
Example
const links = await alistair.relationships();
const allies = links.filter(r => /ally/i.test(r.type));
The story beats in each scene (Story Arc): name, time, location, who is present and the mood, in reading order.
Returns
[
{
"sceneId": "1d0e…",
"scene": "Chapter 1",
"number": 1,
"beats": [
{
"name": "The gate",
"time": "Dawn",
"location": "Greyhaven",
"locations": [
"Greyhaven"
],
"characters": [
"Mara Venn"
],
"mood": "Tense"
}
]
}
]
Example
const scenes = await alistair.beats();
const rows = scenes.flatMap(s => s.beats.map(b => `<li><b>${s.scene}</b> · ${b.name || 'Beat'} — ${b.characters.join(', ')}</li>`));
document.querySelector('#beats').innerHTML = rows.join('');
How relationships change through the story: each change, the scene it happens in and in what order (character sheets come first).
Returns
[
{
"sceneId": null,
"sceneTitle": "Character Sheet",
"order": -1,
"character": "Mara Venn",
"target": "Tom Hale",
"type": "Ally"
}
]
Example
const log = await alistair.relationshipHistory();
const maraTom = log.filter(e => e.character === 'Mara Venn' && e.target === 'Tom Hale');
Where each character goes, scene by scene (from the scenes’ story elements).
Returns
{
"Mara Venn": [
{
"id": "1d0e…",
"title": "Chapter 1",
"location": "Greyhaven"
}
]
}
Example
const journeys = await alistair.journeys();
const path = (journeys['Mara Venn'] || []).map(step => step.location).join(' → ');