Execute Query
Returns records for a valid SQL query. This endpoint <ul><li>Can return redacted record values.</li><li>Supports only the <code>SELECT</code> command.</li><li>Returns a maximum of 25 records. To return additional records, perform another query using the <code>OFFSET</code> keyword.</li><li>Can't modify the vault or perform transactions.</li><li>Can't return tokens.</li><li>Can't return file download or render URLs.</li><li>Doesn't support the <code>WHERE</code> keyword with columns using transient tokenization.</li><li>Doesn't support `?` conditional for columns with column-level encryption disabled.</li><ul>
Authentication
AuthorizationBearer
Access token, prefixed by Bearer .
Path parameters
vaultID
ID of the vault.
Request
This endpoint expects an object.
query
The SQL query to execute.
Supported commands:
Supported commands:
SELECT
><=ANDORNOTLIKEILIKENULLNOT NULL
FROMJOININNER JOINLEFT OUTER JOINLEFT JOINRIGHT OUTER JOINRIGHT JOINFULL OUTER JOINFULL JOINOFFSETLIMITWHERE
AVG()SUM()COUNT()MIN()MAX()REDACTION()
Response
OK
records
Records returned by the query.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error