Execute an NQL
Execute NQL queries and retrieve data in JSON or CSV format
Set it to application/json for a JSON response, text/csv for a CSV response. If no value is set, application/json is used by default. Otherwise a 406 error (not acceptable) is returned.
application/jsonIdentifier of the query which is going to be executed.
#my_query_idPattern: ^#[a-z0-9_]{2,255}$OK - Successful execution.
Identifier of the executed query
Final query executed with the replaced parameters.
Number of rows returned
Ordered list with the headers of the returned fields.
List of rows with the data returned by the query execution.
Unauthorized - No valid authentication credentials.
No permission - Not authorized to execute queries.
Not found - No query associated with that ID.
Not Acceptable. The Accept header should be "application/json", "text/csv" or empty.
Internal server error.
Service unavailable.
Set it to application/json for JSON response, text/csv for CSV response. If no value is set, application/json is used by default. Otherwise a 406 error (not acceptable) is returned.
application/jsonIdentifier of the query which is going to be executed.
#my_query_idPattern: ^#[a-z0-9_]{2,255}$OK - Successful execution.
Identifier of the executed query
Final query executed with the parameters replaced
Number of rows returned
Date and time of the execution in ISO format
2023-03-07T15:56:02Unauthorized - No valid authentication credentials.
No permission - Not authorized to execute queries
Not found - No query associated with that ID
Not Acceptable - The accept header should be "application/json", "text/csv" or empty
Internal server error
Service unavailable
Last updated
Was this helpful?
