Skip to main content
GET
/
document
/
jobs
Get Document Jobs
curl --request GET \
  --url https://api.stax.ai/document/jobs \
  --cookie authToken=
{
  "success": true,
  "jobs": [
    {
      "_id": "<string>",
      "team": "<string>",
      "user": "<string>",
      "success": true,
      "working": true,
      "error": "<string>",
      "worker": "<string>",
      "queueTime": "2023-11-07T05:31:56Z",
      "startTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z",
      "jobType": "<string>",
      "jobId": "<string>",
      "jobData": {}
    }
  ]
}

Authorizations

authToken
string
cookie
required

Cookie-based authentication using userId and authToken cookies

Query Parameters

docId
string

Document ID MongoDB ObjectId

Response

200 - application/json

Document jobs

success
boolean
jobs
object[]