GET
/
jobs
/
{job_id}
curl --request GET \
  --url https://api.togai.com/jobs/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "job.20aUyEZSuYq.SoGbS",
  "type": "PRICE_PLAN",
  "updatedAt": "2080-10-04T00:00:00Z",
  "status": "COMPLETED",
  "totalJobEntries": 100,
  "pendingJobEntries": 40,
  "failedJobEntries": 20,
  "completedJobEntries": 40,
  "metadata": {
    "sourceId": "pp.njrjk314hfr",
    "targetId": "pp.rhk32h4dsfq"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required
Example:

"mig.20aUyEZSuYq.SoGbS"

Response

200
application/json
Response for get job status request
id
string
required
type
enum<string>
required
Available options:
PRICE_PLAN,
EVENT_CORRECTIONS,
BILL_RUN
updatedAt
string
required
status
enum<string>
required
Available options:
SCHEDULED,
PENDING,
INITIALIZED,
WAITING_FOR_CONFIRMATION,
IN_PROGRESS,
COMPLETED,
FAILED,
CANCELLED
totalJobEntries
integer
required
pendingJobEntries
integer
required
failedJobEntries
integer
required
completedJobEntries
integer
required
settledAt
string
metadata
object