Checks the status of the execution of a statement

GET {{baseUrl}}/api/v2/statements/:statementHandle?requestId={{uuid}}

Checks the status of the execution of the statement with the specified statement handle. If the statement was executed successfully, the operation returns the requested partition of the result set.

Request Params

KeyDatatypeRequiredDescription
requestIdstringUnique ID of the API request. This ensures that the execution is idempotent. If not specified, a new UUID is generated and assigned.
partitionstringNumber of the partition of results to return. The number can range from 0 to the total number of partitions minus 1.

HEADERS

KeyDatatypeRequiredDescription
User-Agentstring(Required) Set this to the name and version of your application (e.g. “applicationName/applicationVersion”). You must use a value that complies with RFC 7231.
X-Snowflake-Authorization-Token-TypestringSpecify the authorization token type for the Authorization header. KEYPAIR_JWT is for Keypair JWT or OAUTH for oAuth token. If not specified, OAUTH is assumed.
Acceptstring