Skip to main content
GET
List tasks, newest first

Authorizations

Authorization
string
header
required

An API key from the dashboard: afg_live_… or afg_test_….

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
cursor
string
Pattern: ^[a-z]+_[0-9a-f]{32}$
status
enum<string>

running: queued or processing.

Available options:
queued,
processing,
completed,
failed,
running
q
string

A task id, or words of the prompt.

Required string length: 1 - 200
model
string
apiKeyId
string
from
string<date-time>

Created at or after, ISO 8601.

to
string<date-time>

Created before, ISO 8601.

Response

OK

items
object[]
required
nextCursor
string | null
required