Sessions

Conceptual

Conversational continuity across multiple tasks.

A session groups related tasks so that context, artifacts and conversation history carry forward without re-explaining the situation.

POST/v1/sessionsCreate a session
GET/v1/sessions/{id}Retrieve a session with its task history
POST/v1/sessions/{id}/messagesSend a message, optionally creating a task
DELETE/v1/sessions/{id}Delete a session and its conversation memory
ts
const session = await pimsy.sessions.create({
  title: class="tok-str">"Q3 infrastructure review",
  projectId: class="tok-str">"prj_checkout"
});

await pimsy.sessions.send(session.id, { text: class="tok-str">"Which services regressed on p95 this quarter?" });
await pimsy.sessions.send(session.id, { text: class="tok-str">"Now draft remediation tickets for the worst two." });

Last updated 2026-09-15