Skip to content

Get a slideshow-generation job's status

GET
/public/v1/slides/generate/{id}
curl --request GET \
--url https://api.loomta.com/public/v1/slides/generate/example \
--header 'Authorization: Bearer <token>'

Poll until status is DONE (the post has been created — see postGroupId) or FAILED.

id
required
string

The jobId from POST /slides/generate.

The job status.

Media typeapplication/json
object
id
required
string
status
required
string
Allowed values: WAITING PROCESSING DONE FAILED
total
required

Number of images in the batch.

integer
completed
required

Images generated + uploaded so far.

integer
postGroupId

The created post’s group id, once status is DONE.

string | null format: uuid
error
string | null
Example
{
"status": "WAITING"
}

The API key is missing or invalid.

Media typeapplication/json
object
code
required

A stable, machine-readable error code to branch on.

string
message
required

A human-readable description.

string
details

Optional structured detail (for example Zod validation issues).

Examples
{
"code": "missing_api_key",
"message": "A Bearer API key is required."
}

The resource was not found in this workspace.

Media typeapplication/json
object
code
required

A stable, machine-readable error code to branch on.

string
message
required

A human-readable description.

string
details

Optional structured detail (for example Zod validation issues).

Example
{
"code": "invalid_api_key",
"message": "The API key is invalid."
}