Skip to content

Transcripts

Copy page

divinci.transcripts manages conversation transcripts in a workspace — listing them, reading them, and adding messages.

const transcript = await divinci.transcripts.create({
workspaceId: "ws_123",
releaseId: "rel_abc123", // optional
});
const { data } = await divinci.transcripts.list("ws_123", { limit: 20 });
const one = await divinci.transcripts.get(transcript._id);
await divinci.transcripts.delete(transcript._id);
const message = await divinci.transcripts.addMessage(transcript._id, {
role: "user",
content: "How do I reset my password?",
});

| Method | Description | |--------|-------------| | list(workspaceId, options?) | Paginated transcripts. | | get(transcriptId) | Fetch a transcript. | | create(options) | Create a transcript (workspaceId, optional releaseId). | | addMessage(transcriptId, options) | Append a single message. | | ingestBatch(options) | Removed 2026-08-07 — throws. See above. | | delete(transcriptId) | Delete a transcript. |