List Journal Entries
/v1/journal-entriesReturns a cursor-paginated list of journal entries for the active workspace. Read only, no side effects. Results are scoped by workspace via row-level security; for example the journal entry posting the Stripe payout. Attributes mirror the records field set for this root. ## Filtering & sorting Filter via `POST /v1/records/query` (root `journal_entries`) or the `filters` model; operators are gated by each field's data type. See [Filtering & sorting](../filtering-and-sorting). **Filterable fields** | Field | Type | Allowed operators | |---|---|---| | `composite_journal_entry_summary` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `composite_lines_list` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `created_at` | date | `eq` `lt` `gt` `is_null` `is_not_null` | | `deleted_at` | date | `eq` `lt` `gt` `is_null` `is_not_null` | | `entry_date` | date | `eq` `lt` `gt` `is_null` `is_not_null` | | `entry_number` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `fiscal_period` | number | `eq` `neq` `gt` `gte` `lt` `lte` `is_null` `is_not_null` | | `fiscal_year` | number | `eq` `neq` `gt` `gte` `lt` `lte` `is_null` `is_not_null` | | `journal_entry_id` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `label` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `pk` | number | `eq` `neq` `gt` `gte` `lt` `lte` `is_null` `is_not_null` | | `posting_idempotency_key` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `source_entity_id` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `source_entity_type` | text | `contains` `eq` `neq` `starts_with` `ends_with` `is_null` `is_not_null` | | `status` | enum | `eq` `neq` `in` `is_null` `is_not_null` | | `updated_at` | date | `eq` `lt` `gt` `is_null` `is_not_null` | | `validated_at` | date | `eq` `lt` `gt` `is_null` `is_not_null` | **Sortable fields:** `composite_journal_entry_summary`, `composite_lines_list`, `created_at`, `deleted_at`, `entry_date`, `entry_number`, `fiscal_period`, `fiscal_year`, `journal_entry_id`, `label`, `pk`, `posting_idempotency_key`, `source_entity_id`, `source_entity_type`, `status`, `updated_at`, `validated_at` (via `orderBy` / `sort`, `asc`|`desc`).
Requires a bearer token: Authorization: Bearer <token>.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| cursor | string | No | Opaque pagination cursor returned as links.next on the previous page. Omit to fetch the first page.e.g. eyJwayI6MTI4N30 |
| limit | integer | No | Maximum number of records to return per page (1 to 200, defaults to 50).e.g. 50 |
| orderBy | string | No | Field to sort by, using the records dot path or column name (e.g. created_at).e.g. created_at |
| direction | string | No | Sort direction for orderBy. Defaults to desc.e.g. desc |
| workspaceId | string <uuid> | No | Explicit workspace scope. The authenticated user must hold an active membership in this workspace. Defaults to the session workspace when omitted.e.g. a1b2c3d4-0000-4000-8000-000000000001 |
Request
curl -X GET https://api.wellapp.ai/v1/journal-entries \
-H "Authorization: Bearer $WELL_API_TOKEN"Responses
200 — A page of journal entries.
{
"data": [
{
"type": "journal_entry",
"id": "a7b8c9d0-0000-4000-8000-0000000000a7",
"attributes": {
"journal_entry_id": "a7b8c9d0-0000-4000-8000-0000000000a7",
"entry_number": "BNK-2026-0041",
"entry_date": "2026-04-27",
"label": "Stripe payout",
"fiscal_year": 2026,
"fiscal_period": 4,
"status": "posted",
"validated_at": "2026-04-27T10:00:00Z",
"created_at": "2026-04-27T09:16:00Z",
"updated_at": "2026-04-27T10:00:00Z",
"deleted_at": null
},
"relationships": {
"journal": {
"data": {
"type": "journal",
"id": "00000000-0000-4000-8000-000000000001"
}
},
"validated_by": {
"data": {
"type": "people",
"id": "00000000-0000-4000-8000-000000000001"
}
},
"invoice_transaction": {
"data": {
"type": "invoice_transaction",
"id": "00000000-0000-4000-8000-000000000001"
}
},
"lines": {
"data": [
{
"type": "journal_entry_line",
"id": "00000000-0000-4000-8000-000000000001"
}
]
},
"sourceWorkspaceConnector": {
"data": {
"type": "workspace_connector",
"id": "00000000-0000-4000-8000-000000000001"
}
}
}
}
],
"meta": {
"total": 1,
"count": 1
},
"links": {
"next": null
}
}400 — Bad request
{
"code": "BAD_REQUEST",
"status": 400,
"title": "Bad Request",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}401 — Unauthorized
{
"code": "UNAUTHORIZED",
"status": 401,
"title": "Unauthorized",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}Filtering & sorting on related objects
This resource's related objects (the ones you can include) and how to filter or sort on each:
| Relationship | Cardinality | Filter on a field | Sort by a field |
|---|---|---|---|
workspace | to-one (workspace) | { "workspace": { "name": { "_eq": … } } } | "field": "workspace.name" ✅ |
journal | to-one (journal) | { "journal": { "name": { "_eq": … } } } | "field": "journal.name" ✅ |
validated_by | to-one (people) | { "validated_by": { "full_name": { "_eq": … } } } | "field": "validated_by.full_name" ✅ |
invoice_transaction | to-one (invoice_transaction) | { "invoice_transaction": { "field_name": { "_eq": … } } } | "field": "invoice_transaction.field_name" ✅ |
lines | to-many (journal_entry_line) | { "lines": { "_some": { "field_name": { "_eq": … } } } } | aggregate proxy only ⚠️ |
sourceWorkspaceConnector | to-one (workspace_connector) | { "sourceWorkspaceConnector": { "name": { "_eq": … } } } | "field": "sourceWorkspaceConnector.name" ✅ |
Replace field_name with any field of the related object. See its object-reference page for the full field list.
Filter by a to-one relation (and sort by it):
{
"root": "journal_entries",
"whereClause": { "workspace": { "name": { "_ilike": "%acme%" } } },
"orderBy": { "field": "workspace.name", "direction": "asc" }
}Filter by a to-many relation (quantified — bare nesting is invalid):
{
"root": "journal_entries",
"whereClause": { "lines": { "_some": { "field_name": { "_gt": 0 } } } }
}