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
Key | Datatype | Required | Description |
---|---|---|---|
requestId | string | Unique ID of the API request. This ensures that the execution is idempotent. If not specified, a new UUID is generated and assigned. | |
partition | string | Number of the partition of results to return. The number can range from 0 to the total number of partitions minus 1. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
User-Agent | string | (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-Type | string | Specify 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. | |
Accept | string |