Skip to content

Cases

See Cases for how cases work.

Every case, most recently updated first. Each story is cut to its first 200 characters.

One case, with its full story and amendments. ?redact=story leaves both out.

FieldMeaning
id, title, kind
facts, knownObjects of keys and values.
peopleEach with ref, name, role, org, addresses, notes, persona_id, external_ids, and the cast details who, wants, knows, temperament, character.
notesList of notes.
directionsHow you want the story to go.
story, amendmentsWhat is actually true, and later changes to it.
story_byWho wrote it: ai, template or edited.
created, updatedSimulated time.

Creates the case or merges a push into it. PATCH does the same. The first push writes the story and casts everyone with an address as a persona.

{
"title": "Sale of 1701 Clark Street",
"facts": { "address": "1701 Clark Street", "asking_price": 175000 },
"known": { "buyer_budget": "about 170k" },
"people": [{ "ref": "seller", "name": "Dana Reyes", "role": "seller", "addresses": ["dana@harbor.test"] }],
"notes": ["The roof was replaced in 2021."],
"directions": "Dana is reluctant to go below 170k."
}

The answer leaves the story out:

{
"id": "deal-1701",
"title": "Sale of 1701 Clark Street",
"people": [{ "ref": "seller", "name": "Dana Reyes", "persona_id": "p_3fa2b1c9d0", "addresses": ["dana@harbor.test"] }],
"story_written_by": "ai"
}

Adds or updates people on the case. The body is a list of people, as in people above. The answer is the same as for PUT.

Has a person start a new thread.

FieldRequiredMeaning
personayesThe persona’s id or address.
toyesWho they write to.
intentWhat they write about.
afterWait this long first, on the simulated clock, such as "2h".

Answer: {"job_id": 128}. See jobs.

Throws the story and amendments away, and the cast details simmail chose, and writes them again. Answers with the case.

Rewrites the answer key by hand. Every field is optional:

{ "story": "…", "amendments": ["…"], "directions": "…" }

A new story marks it story_by: "edited". Answers with the case.

Deletes the case, its people’s memory of it and their pending work on it. People created for this case alone are deleted too.