GET
/
v1
/
applications
/
jobs
/
{job_id}
curl --location --request GET https://api.writer.com/v1/applications/jobs/{job_id} \
 --header "Authorization: Bearer <token>"
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "in_progress",
  "application_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "data": {
    "title": "<string>",
    "suggestion": "<string>"
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.

Path Parameters

job_id
string
required

The ID of the job to retrieve.

Response

200 - application/json
Successful response
id
string
required

The unique identifier for the job.

status
enum<string>
required

The status of the job.

Available options:
in_progress,
failed,
completed
application_id
string
required

The ID of the application associated with this job.

created_at
string
required

The timestamp when the job was created.

updated_at
string

The timestamp when the job was last updated.

completed_at
string

The timestamp when the job was completed.

data
object

The result of the completed job, if applicable.

error
string

The error message if the job failed.

Was this page helpful?