Databases
Get Database
Fetch a database and its current record count. Inserted documents are processed in the background, and record_count only goes up once a document is searchable. Poll this endpoint after a large insert to track progress. This request does not use credits.
Path Parameters
idintegerrequired
The database ID
Response
idinteger
The database ID
namestring
The database name
db_typestring
text or imageregionstring
Where the database is hosted
record_countinteger
Number of documents that are processed and searchable
requestsinteger
Total requests made against this database
created_atstring
ISO 8601 timestamp of when the database was created
Example response
{
"id": 42,
"name": "product-images",
"db_type": "image",
"region": "us-east-1",
"requests": 18240,
"record_count": 12503,
"owner_id": 7,
"created_at": "2024-01-15T10:30:00Z"
}