List Journal Entries
curl --request GET \
--url https://api.wellapp.ai/v1/journal-entriesimport requests
url = "https://api.wellapp.ai/v1/journal-entries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.wellapp.ai/v1/journal-entries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wellapp.ai/v1/journal-entries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wellapp.ai/v1/journal-entries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wellapp.ai/v1/journal-entries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wellapp.ai/v1/journal-entries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"type": "journal_entry",
"id": "uuid",
"attributes": {}
}
],
"meta": {
"total": 0,
"count": 0
},
"links": {
"next": null
}
}Journal Entries
List Journal Entries
Workspace-scoped, cursor-paginated list of journal_entry records. Served by the generic read-only resource handler over the data-views pipeline (Hasura row-level security).
GET
/
v1
/
journal-entries
List Journal Entries
curl --request GET \
--url https://api.wellapp.ai/v1/journal-entriesimport requests
url = "https://api.wellapp.ai/v1/journal-entries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.wellapp.ai/v1/journal-entries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wellapp.ai/v1/journal-entries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wellapp.ai/v1/journal-entries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wellapp.ai/v1/journal-entries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wellapp.ai/v1/journal-entries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"type": "journal_entry",
"id": "uuid",
"attributes": {}
}
],
"meta": {
"total": 0,
"count": 0
},
"links": {
"next": null
}
}Filtering & sorting on related objects
Filter and sort on a related (included) object by nesting into the relationship — the same relationships you pass toinclude.
- To-one relations nest directly:
{ "issuer": { "name": { "_eq": "Acme" } } }, and sort by a dot-path:"orderBy": { "field": "issuer.name", "direction": "asc" }. - To-many relations must be quantified with
_some,_every, or_none:{ "items": { "_some": { "quantity": { "_gt": 1 } } } }. They are not directly sortable (a to-many sort needs an aggregate proxy). - Composite
composite_*columns are virtual — filter and sort on their underlying source fields, not on the composite.
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" ✅ |
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" }
}
{
"root": "journal_entries",
"whereClause": { "lines": { "_some": { "field_name": { "_gt": 0 } } } }
}
Query Parameters
Page size (max 200).
Required range:
x <= 200Opaque keyset cursor; omit for the first page.
Field to order by.
Available options:
asc, desc Optional explicit workspace scope (Firebase-authenticated callers).
Response
A page of journal_entry records.