SQL

Run a read-only SQLite query

Execute one SELECT, WITH, or EXPLAIN statement against the active project's SQLite database. Results are capped at 100 rows. Bound parameters use SQLite question-mark placeholders.

post/sql/query

Request

  • Base URL: https://api.pdfparse.net/v1
  • URL: https://api.pdfparse.net/v1/sql/query
  • Auth: HTTP bearer

Request body

sqlstring required
maxRowsinteger

Response

Success

columnsstring[] required
rowsobject[] required
rowCountinteger required
maxRowsinteger required
truncatedboolean required
durationMsinteger required
rowsReadinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.