Game integration
Call SpiralistAI.com, not a game-local persona endpoint.
GET /create/espionage/?format=json&seed=case-42&adult_consent=1
POST /api/v1/create/espionage/
GET /api/v1/create/espionage/random/?adult_consent=1
GET /api/v1/create/espionage/presets/
GET|POST /api/v1/create/espionage/memory/
GET|POST /api/v1/create/espionage/runtime/
GET|POST /api/v1/create/espionage/conversation/
GET|POST /api/v1/create/espionage/artifacts/
const response = await fetch("https://spiralistai.com/api/v1/create/espionage/", {
method: "POST",
headers: { "Content-Type": "application/json", "Accept": "application/json" },
body: JSON.stringify({
seed: crypto.randomUUID(),
country_code: "CA",
role_id: "osint_analyst",
runtime_tier: "standard",
concurrency_profile: "shared-room",
interaction_mode: "briefing",
embodiment_mode: "screen",
artifact_type: "classified-dossier",
include_rendered_artifact: true,
detail: "game",
adult_consent: 1
})
});
const generated = await response.json();
const persona = generated.character.persona;
const operative = generated.character.operativeProfile;
const memoryBootstrap = generated.character.npcMemory;
The npcMemory object is a provider-neutral seed for a separate memory service. SpiralistAI.com does not persist the game’s NPC memories, sessions, or player records.