GET
/v1/databases/{databaseId}/tables/{table}/recordsbetaapiKeyworkspace
When to use
Read current rows from one table.
For agents
Defaults to the app schema. Managed tables include opaque __version tokens needed for later updates. Pagination is not a historical snapshot.
Example
import { PermuteClient } from '@permute/sdk';
const orgClient = new PermuteClient({
apiKey: process.env.PERMUTE_API_KEY!,
});
const client = orgClient.withWorkspace(process.env.PERMUTE_WORKSPACE_ID!);
const result = await client.databases.records('dbas_crm123', 'customers', { limit: 25 });Response
{
"data": {
"items": [
{
"id": "acme",
"name": "Acme",
"__version": "11111111-1111-4111-8111-111111111111"
}
]
}
}