Sessions
ConceptualConversational 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/sessions— Create a sessionGET
/v1/sessions/{id}— Retrieve a session with its task historyPOST
/v1/sessions/{id}/messages— Send a message, optionally creating a taskDELETE
/v1/sessions/{id}— Delete a session and its conversation memoryconst 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

