Documentation Index
Fetch the complete documentation index at: https://docs.dynamosql.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
DynamoSQL lets you query your DynamoDB tables with SQL. This guide walks through obtaining an access token and running your first query against the API.Prerequisites
- A DynamoSQL account — sign up at dynamosql.com
- Your
clientIdandclientSecretfrom the portal
Step 1 — Obtain an access token
Exchange your API client credentials for a bearer token:POST /v1/auth/refresh when it expires.
Step 2 — Run a query
CallPOST /v1/query with your bearer token:
Step 3 — Interpret the response
A successful response looks like this:success— always check this first. Iffalse, readerroranddetailedError.data.columns— column names in the same order as each row array.data.data— array of rows (each row is an array of values).data.resumeIdx— present when there are more rows; pass it back to fetch the next page.data.planTime/data.execTime— parse+plan time and total elapsed time in milliseconds.
resumeIdx is absent (not null) when the result set is exhausted. Always use "resumeIdx" in data (not data.resumeIdx !== null) to test for more pages.Next steps
- Authentication — principal types, scopes, and token refresh
- Pagination — looping through large result sets
- SQL Reference — what SQL is supported