Download OpenAPI specification:
Journal entries, tags and statistics for client self-reflection
Create, update, or delete a journal entry for a client. Journals capture reflections, mood context, and personal insights between sessions — Kana's AI uses journal content to build a richer clinical picture and generate more personalized session insights.
Use this when:
POST — Create a new journal entry. Returns journalid (HTTP 201).
PUT /{journalid}/ — Update an existing entry. Returns journalid (HTTP 200).
DELETE /{journalid}/ — Soft-delete the entry.
| userid | integer or null |
| title | string or null <= 255 characters |
| description | string or null |
| journal_timestamp | string or null <date-time> |
{- "userid": 0,
- "title": "string",
- "description": "string",
- "journal_timestamp": "2019-08-24T14:15:22Z"
}{- "userid": 0,
- "title": "string",
- "description": "string",
- "journal_timestamp": "2019-08-24T14:15:22Z"
}Create, update, or delete a journal entry for a client. Journals capture reflections, mood context, and personal insights between sessions — Kana's AI uses journal content to build a richer clinical picture and generate more personalized session insights.
Use this when:
POST — Create a new journal entry. Returns journalid (HTTP 201).
PUT /{journalid}/ — Update an existing entry. Returns journalid (HTTP 200).
DELETE /{journalid}/ — Soft-delete the entry.
| journalid required | integer A unique integer value identifying this journal. |
| userid | integer or null |
| title | string or null <= 255 characters |
| description | string or null |
| journal_timestamp | string or null <date-time> |
{- "userid": 0,
- "title": "string",
- "description": "string",
- "journal_timestamp": "2019-08-24T14:15:22Z"
}{- "userid": 0,
- "title": "string",
- "description": "string",
- "journal_timestamp": "2019-08-24T14:15:22Z"
}Create, update, or delete a journal entry for a client. Journals capture reflections, mood context, and personal insights between sessions — Kana's AI uses journal content to build a richer clinical picture and generate more personalized session insights.
Use this when:
POST — Create a new journal entry. Returns journalid (HTTP 201).
PUT /{journalid}/ — Update an existing entry. Returns journalid (HTTP 200).
DELETE /{journalid}/ — Soft-delete the entry.
| journalid required | integer A unique integer value identifying this journal. |
Retrieve all journal entries for a client, sorted by most recent first. Journals contain personal reflections and insights that Kana's AI uses to build clinical context. Use this to display a client's journal history or sync journal data into your system.
Use this when:
GET /{userid}/ — Returns all journals sorted by most recent first. HTTP 204 if no journals exist.
Retrieve all journal entries for a client, sorted by most recent first. Journals contain personal reflections and insights that Kana's AI uses to build clinical context. Use this to display a client's journal history or sync journal data into your system.
Use this when:
GET /{userid}/ — Returns all journals sorted by most recent first. HTTP 204 if no journals exist.
| journalid required | integer A unique integer value identifying this journal. |
Retrieve all journal entries for a client within a specific date range, ordered most recent first. Useful for building session preparation views or syncing recent journal content into your clinical system.
Use this when:
POST — Accepts userid, fromdate, and todate (YYYY-MM-DD or ISO datetime). Returns journals ordered by most recent. HTTP 204 if none found.
| title | string or null <= 255 characters |
| description | string or null |
| journal_timestamp | string or null <date-time> |
| userid | integer or null |
{- "title": "string",
- "description": "string",
- "journal_timestamp": "2019-08-24T14:15:22Z",
- "userid": 0
}{- "journalid": 0,
- "title": "string",
- "description": "string",
- "journal_timestamp": "2019-08-24T14:15:22Z",
- "userid": 0
}Get daily journal write counts for a client over a date range. Returns a breakdown of journaling activity by day — useful for tracking engagement, building wellness dashboards, or monitoring treatment adherence.
Use this when:
POST — Accepts userid, fromdate (YYYY-MM-DD), and todate (YYYY-MM-DD). Returns {"journalstats": [{"journaldate": ..., "count": ...}]}. HTTP 204 if no journals exist in the range.
| userid | integer or null |
| journal_timestamp | string or null <date-time> |
{- "userid": 0,
- "journal_timestamp": "2019-08-24T14:15:22Z"
}{- "journalid": 0,
- "userid": 0,
- "journal_timestamp": "2019-08-24T14:15:22Z"
}