GET
/
v3
/
generate
/
deck
/
task
/
{task_id}
curl --request GET \
  --url https://api.flashdocs.ai/v3/generate/deck/task/{task_id} \
  --header 'Authorization: Bearer <token>'
{
  "task_id": "task_67890",
  "link_to_deck": "https://docs.google.com/presentation/d/abcdefg123456",
  "runtime": 4.3778,
  "success": true,
  "error": ""
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

task_id
string
required

Response

200
application/json
Successful Response
task_id
string
required

Unique identifier for the task instance of the deck generation.

Example:

"task_67890"

runtime
number
required

Time taken to generate the deck, in seconds.

Example:

4.3778

success
boolean
required

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
string | null

Error message in case the generation failed.

Example:

""