DA
Datasette API
/content.json
Execute a SQLite SQL query against the content database
Accepts SQLite SQL query, returns JSON. Does not allow PRAGMA statements.
liveunknown~3s typical
datasette
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run oa-datasette-local /content.json for me.
Input
| Field | Type | Description |
|---|---|---|
| sql* | string | The SQL query to be executed default null |
| _shape* | string (array) | The shape of the response data. Must be "array" default null |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"oa-datasette-local","endpoint":"/content.json","input":{"sql":"...","_shape":"array"}}'cli
npx cracked-ai run -p oa-datasette-local -e /content.json -i '{"sql":"...","_shape":"array"}'mcp
run_tool({ provider: "oa-datasette-local", endpoint: "/content.json", input: {"sql":"...","_shape":"array"} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.