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

Documentation Index

Fetch the complete documentation index at: https://docs.flashdocs.com/llms.txt

Use this file to discover all available pages before exploring further.

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

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:

""