Databases
This section describes the API calls used to create, read, update and delete databases. The page builds upon (and assumes you've read) the API Usage Guide. Please ensure you're familiar with the API calling conventions before reading on.
List all databases
The maximum number of results to return in this page.
A token used to paginate the search results. Cursors returned in previous responses can be used in subsequent requests.
The number of results returned.
Whether there are more results on the next page
A token that can be used to request the next page of results. It's only useful if has_more is true.
A list of results.
The globally unique identifier of the database.
The display name of the database.
The AI model used for this database. Use cosmopolitan-v10 for any content.
The ISO 639-1 code of the primary natural language of the content in your database, or null.
Fetch a database
The globally unique identifier of the database to fetch.
The globally unique identifier of the database.
The display name of the database.
The AI model used for this database. Use cosmopolitan-v10 for any content.
The ISO 639-1 code of the primary natural language of the content in your database, or null.
Create a database
A display name for your database.
The AI model used for this database. Use cosmopolitan-v10 for any content.
The ISO 639-1 code of the primary natural language of the content in your database, or null.
A globally unique identifier of the newly created database.
Update a database
The globally unique identifier of the database to update.
The new display name for the database.
Always null if successful.
Delete a database
The globally unique identifier of the database to delete.
Always null if successful.