Skip to main content
GET
/
ddex
/
queue
/
jobs
/
{jobId}
/
logs
Get logs for a DDEX queue job (tenant-scoped)
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/queue/jobs/{jobId}/logs \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "job": {
      "id": "<string>",
      "jobType": "<string>",
      "status": "pending",
      "createdAt": "2023-11-07T05:31:56Z",
      "startedAt": "2023-11-07T05:31:56Z",
      "completedAt": "2023-11-07T05:31:56Z",
      "progress": 123,
      "lastProgressMessage": "<string>"
    },
    "totalItems": 123,
    "logs": [
      {
        "ddexQueueJobId": "<string>",
        "logLevel": "debug",
        "message": "<string>",
        "details": {},
        "timestamp": "2023-11-07T05:31:56Z"
      }
    ],
    "totalPages": 123,
    "currentPage": 123,
    "filteredItems": 123
  }
}

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/ddex/queue/jobs/example-id/logs', {
  method: 'GET',
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

jobId
string
required

Query Parameters

page
integer
default:1
limit
integer
default:50
size
integer
default:50
sortBy
enum<string>

Field to sort by. Defaults to timestamp.

Available options:
timestamp,
logLevel
sortDir
enum<string>

Sort direction. Defaults to desc.

Available options:
asc,
desc

Response

Success

success
boolean
data
object