Generate
Poll Deck Generation Task Status
Get the completed deck link and metadata given a task ID. Usage:
- Use the POST
/v3/generate/deck/task
endpoint to generate a task. - Poll this GET
/v3/generate/deck/task/{task_id}
endpoint to check the status of the task.
Responses:
- 200 OK : If the generated deck is completed. It provides the response including a link to the deck.
- 202 Accepted : The deck is still generating. Body is empty. Poll again in ~5 seconds.
- 404 Not Found : The task id is not found or not available for your account.
- 422 Unprocessable Entity : There is some error with the request.
GET
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Response
200
application/json
Successful Response
Unique identifier for the task instance of the deck generation.
Example:
"task_67890"
Time taken to generate the deck, in seconds.
Example:
4.3778
Indicates whether the deck generation was successful.
Example:
true
URL link to access the generated presentation deck.
Example:
"https://docs.google.com/presentation/d/abcdefg123456"
Error message in case the generation failed.
Example:
""