Databases of a workspace, newest first
GET/v1/orgs/{org}/databases
API token or dashboard session
Databases of a workspace, newest first.
Path parameters
orgstringpathrequiredOrganisation slug
Responses
200Database[]
Fields of Database
allowstring[]requiredNetworks that may connect from outside, as addresses or CIDR ranges. Empty: any may, with the password.
backup_everystringrequiredoff,hourly,dailyorweekly.backup_keepintegerrequiredScheduled backups kept.
created_atdate-timerequireddatabasestringrequirededitorbooleanrequiredWhether the dashboard can browse and edit its content.
engineEnginerequiredenvironmentstringrequiredhoststringrequiredHow services of its environment reach it.
iduuidrequirednamestringrequiredIts name: also its hostname for the services of its environment.
portintegerrequiredprojectstringrequiredThe project and environment whose services reach it by name.
publicbooleanrequiredWhether it can be reached from the internet.
public_addressstring | nullWhere, when it can:
host:port. Present once it has been opened, and kept if it is closed and opened again.referencestringrequiredThe variable of this database to refer to from another service:
${{name.DATABASE_URL}}.standalonebooleanrequiredCreated from the Databases page rather than inside a project.
statusstring | nullqueued,building,liveorfailed: the state of the service that runs it.userstringrequiredversionstringrequired
curl "https://api.infraflow.app/v1/orgs/acme/databases" \ -H "Authorization: Bearer $INFRAFLOW_TOKEN"
[
{
"allow": [
"string"
],
"backup_every": "string",
"backup_keep": 0,
"created_at": "2026-01-15T09:30:00Z",
"database": "string",
"editor": true,
"engine": "postgres",
"environment": "string",
"host": "string",
"id": "0197b2a4-5c1e-7d3a-9f10-4b6c8e2a1d55",
"name": "my-app",
"port": 3000,
"project": "storefront",
"public": true,
"public_address": "string",
"reference": "string",
"standalone": true,
"status": "string",
"user": "string",
"version": "string"
}
]