Platform
Jobs
Retrieve the status and result of an asynchronous FlyStack job.
GET
This endpoint is not billed and can be called unlimited times without any cost implications.
Authentication
string
required
Your FlyStack API token. You can create one from the dashboard (see Authentication).
Response
string
Unique identifier for the job.
string
Current status of the job:
QueuedJob: Job is queued or processingCompletedJob: Job finished successfullyFailedJob: Job finished with an error
boolean
Indicates if the job completed successfully. Only present when status is
CompletedJob.string
The API endpoint that initiated this job (e.g.,
/v1/flights).string
ISO 8601 timestamp when the job was created.
string
ISO 8601 timestamp when the job started processing (if started).
number
Time taken to complete the job in milliseconds. Only present when status is
CompletedJob.object
Input parameters used when creating the job (varies by endpoint).
object
Output data from the completed job. Only present when status is
CompletedJob.
The shape of this object matches the response you would receive when calling the original endpoint synchronously.object
Error details. Only present when status is
FailedJob.