curl --request GET \
--url https://api.jelou.ai/v2/databases \
--header 'Authorization: Basic <encoded-value>'{
"message": [
"<string>"
],
"statusMessage": "<string>",
"status": 123,
"data": [
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"driver": "<string>",
"description": "<string>",
"companyId": 123,
"schema": {},
"state": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Query and manage Datum databases stored in Jelou.
curl --request GET \
--url https://api.jelou.ai/v2/databases \
--header 'Authorization: Basic <encoded-value>'{
"message": [
"<string>"
],
"statusMessage": "<string>",
"status": 123,
"data": [
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"driver": "<string>",
"description": "<string>",
"companyId": 123,
"schema": {},
"state": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}GET https://api.jelou.ai/v2/databases
{
"message": ["Databases retrieved successfully!"],
"statusMessage": "success",
"status": 1,
"data": [
{
"id": 123456789,
"name": "JELOU TEST",
"slug": "jeloutest",
"driver": "elastic",
"description": "JELOU TEST",
"companyId": 135,
"schema": {
"type": "object",
"properties": {
"total": { "type": "string", "database": "text" },
"name": { "type": "string", "database": "text" }
},
"required": ["total", "name"]
}
}
]
}
| Property | Type | Description |
|---|---|---|
| id | string | Unique database identifier. |
| name | string | Database name. |
| description | string | Functional description of the database. |
| schema | object | Schema that defines the fields and data types. |
| state | boolean | Database state. true = active, false = deleted. |
| createdAt | date | Creation date. |
| updatedAt | date | Date of last update. |
| columns | array | Columns visible in Datum, with name, description, and order. |
| metadata | array | Additional metadata associated with the database. |
| Property | Type | Description |
|---|---|---|
| type | string | Schema type (usually object). |
| required | array | Required fields when inserting a record. |
| properties | object | Each property represents a field and its data type. |
GET https://api.jelou.ai/v2/databases/DATABASE_ID
{
"message": ["Database retrieved successfully!"],
"statusMessage": "success",
"status": 1,
"data": {
"id": 123456789,
"name": "JELOU TEST",
"slug": "jeloutest",
"schema": {
"type": "object",
"properties": {
"total": { "type": "string", "database": "text" },
"name": { "type": "string", "database": "text" }
},
"required": ["total", "name"]
}
}
}
Was this page helpful?