Get a database
View as Markdown/v1/databases/{id}Returns a database's settings, live properties and views, in order.
curl "https://api.lydie.co/v1/databases/01JCQ3V5MZ8G4ZK2X7T9R6N1PB" \
-H "Authorization: Bearer $LYDIE_TOKEN"Path parameters
Response
- databaseDatabase
Show 8 fieldsHide fields
- propertiesDatabaseProperty[]
Show 13 fieldsHide fields
- idULID
- databaseIdULID
Display name (Bases displayName).
- typestring
One of
titletextnumberselectmultiSelectstatusdatecheckboxurlemailphonepersonfilesrelationrollupformulauniqueIdcreatedTimeupdatedTimecreatedByupdatedBy Stored types: the frontmatter key holding the value. Formulas, rollups, createdBy and updatedBy: the formula name in the .base file. Unused for title and created/updated time.
- configPropertyConfig
Show 11 fieldsHide fields
select, multiSelect, status
One of
numberintegercommaspercentcurrencyISO 4217 code, with numberFormat currency
date: values carry a time
date: values may carry an end (start/end)
Show 4 fieldsHide fields
- databaseIdULID
The database whose rows this relation points at.
- twoWayboolean
Default
false The synced property on the other database (two-way relations).
Default
null- limitstring
One of
onemanyDefault
"many"
Show 3 fieldsHide fields
- targetPropertyIdULID
A property of the related database.
- functionstring
One of
showOriginalshowUniquecountcountValuescountUniquecountEmptycountNotEmptypercentEmptypercentNotEmptysumaveragemedianminmaxrangeearliestlatestcheckeduncheckedpercentCheckedpercentUnchecked
formula: an Obsidian Bases expression
uniqueId: shown before the number ("LYD" → LYD-12)
- createdAttimestamp
- updatedAttimestamp
- viewsDatabaseView[]
Show 12 fieldsHide fields
- idULID
- databaseIdULID
- typestring
One of
tableboardlistcalendargallery - configViewConfig
Show 9 fieldsHide fields
Default
null- sortsobject[]
Default
[]Show 2 fieldsHide fields
- propertyIdULID
- directionstring
One of
ascdescDefault
"asc"
Default
nullShow 6 fieldsHide fields
- propertyIdULID
- directionstring
One of
ascdescDefault
"asc" Hide groups with no rows (board columns).
Date grouping; default month.
One of
dayweekmonthyear
Board swimlanes.
Default
nullShow 6 fieldsHide fields
- propertyIdULID
- directionstring
One of
ascdescDefault
"asc" Hide groups with no rows (board columns).
Date grouping; default month.
One of
dayweekmonthyear
- columnsViewColumn[]
Default
[]Show 3 fieldsHide fields
- propertyIdULID
- visibleboolean
Default
true
Default
null- summariesobject
propertyId → summary name
Default
{} - layoutViewLayout
Default
{}Show 11 fieldsHide fields
table
One of
shortmediumtallextratable
board, gallery: px
board, gallery: the card image
One of
covercontainlist
One of
bulletnumbernonecalendar: the date property placing rows
One of
monthweekboard
- extraobject
Default
{}
- createdAttimestamp
- updatedAttimestamp
{
"database": {
"id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"workspaceId": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
"config": {
"filter": null,
"templateIds": [],
"extra": {}
},
"createdAt": "2026-11-12T09:30:00.000Z",
"updatedAt": "2026-11-12T09:30:00.000Z",
"deletedAt": null,
"createdBy": null,
"updatedBy": null
},
"properties": [
{
"id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"workspaceId": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
"databaseId": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"name": "Notes",
"type": "title",
"key": "string",
"config": {
"options": [
null
],
"numberFormat": "number",
"decimals": 0,
"currency": "string",
"includeTime": false,
"range": false,
"relation": {
"databaseId": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"twoWay": false,
"reversePropertyId": null,
"limit": "one"
},
"rollup": {
"relationPropertyId": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"targetPropertyId": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"function": "showOriginal"
},
"expression": "string",
"prefix": "string",
"extra": {}
},
"sortKey": "a0",
"createdAt": "2026-11-12T09:30:00.000Z",
"updatedAt": "2026-11-12T09:30:00.000Z",
"deletedAt": null,
"createdBy": null,
"updatedBy": null
}
],
"views": [
{
"id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"workspaceId": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
"databaseId": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"name": "Notes",
"type": "table",
"config": {
"filter": null,
"sorts": [],
"groupBy": null,
"subGroupBy": null,
"columns": [],
"limit": null,
"summaries": {},
"layout": {},
"extra": {}
},
"sortKey": "a0",
"createdAt": "2026-11-12T09:30:00.000Z",
"updatedAt": "2026-11-12T09:30:00.000Z",
"deletedAt": null,
"createdBy": null,
"updatedBy": null
}
]
}Errors use one envelope for every endpoint. See Errors and versions.