Check the status of an asynchronous processing job

dai_status(response, loc = "eu", token = dai_token(), verbose = FALSE)

Arguments

response

An HTTP response object generated by dai_async().

loc

A two-letter region code; "eu" or "us".

token

An authentication token generated by dai_auth() or another auth function.

verbose

Whether to output the full response; boolean.

Value

An HTTP response (if verbose = TRUE).

Examples

if (FALSE) { # Short status message: response <- dai_async(myfiles) dai_status(response) # Full status details: response <- dai_async(myfiles) status <- dai_status(response, verbose = TRUE) }