View source: R/generated_client.R
| queries_get_runs | R Documentation | 
Check status of a run
queries_get_runs(id, run_id)
| id | integer required. The ID of the Query job. | 
| run_id | integer required. The ID of the run. | 
A list containing the following elements:
| id | integer, The ID of the run. | 
| queryId | integer, The ID of the Query job. | 
| state | string, The state of the run, one of 'queued' 'running' 'succeeded' 'failed' or 'cancelled'. | 
| isCancelRequested | boolean, True if run cancel requested, else false. | 
| createdAt | string, The time the run was created. | 
| startedAt | string, The time the run started at. | 
| finishedAt | string, The time the run completed. | 
| error | string, The error, if any, returned by the run. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.