Track upload job

APIs to track status of upload

When upload job is triggered via API, the response contains a section with the job id:

{
   "message": "Upload task started. Please track the job status to check progress",
    "job_id": "a08aa2a2592a541e194db9d01e9d0e457"
}

Note, Tenant Id can be retrieved from the UI as listed here

Get job status for a specific Job Id

GET https://demo.backend.telm.ai/<tenant>/jobs/<job_id>

This endpoint gets you the status of the job from Upload data APIs

Path Parameters

NameTypeDescription

job_id

string

Job Id from Upload data API

tenant

string

Name of Tenant

Headers

NameTypeDescription

Content-type

string

application/json

Authentication*

string

Bearer {token}

{    
    "id": string,    
    "status": string,   
    "details": string
}

Get jobs for a specific tenant and source

GET https://demo.backend.telm.ai/{tenant}/sources/{source}/jobs

Path Parameters

NameTypeDescription

source*

string

Source Id

tenant*

string

Tenant Id

Query Parameters

NameTypeDescription

most_recent

Boolean

true/false

Headers

NameTypeDescription

Content-type

string

application/json

Authentication*

string

Bearer {token}

[
  {
    "details": "string",
    "id": "string",
    "run_time": {
      "nano": 0,
      "negative": true,
      "seconds": 0,
      "units": [
        {
          "dateBased": true,
          "durationEstimated": true,
          "timeBased": true
        }
      ],
      "zero": true
    },
    "start_time": "2022-05-24T23:50:19.809Z",
    "status": "string"
  }
]

Last updated