Skip to main content
GET
/
chunk
Get specific chunk
curl --request GET \
  --url https://logging.monolisk.co/chunk \
  --header 'Authorization: Bearer <token>'
{
  "jobId": "job-123",
  "jobMeta": {
    "jobType": "build",
    "gameId": "game-456",
    "placeId": 789,
    "placeName": "Main Place",
    "startTime": "2025-01-01T00:00:00Z",
    "runtime": 5000
  },
  "chunkIndex": 0,
  "totalChunks": 3,
  "isChunked": true,
  "groups": {
    "group1": {
      "id": "group1",
      "name": "Build Process",
      "format": {
        "color": [
          0,
          255,
          0
        ],
        "bold": true
      }
    }
  },
  "messages": [
    {
      "groupId": "group1",
      "content": "Starting build process...",
      "time": 1704067200000,
      "type": "info"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Query Parameters

jobId
string
required

The job ID to retrieve the chunk for

Example:

"job-123"

chunkIndex
integer
required

The index of the chunk to retrieve (0-based)

Required range: x >= 0
Example:

0

Response

Log chunk data

groups
object
required

Map of group IDs to group definitions

Example:
{
"group1": {
"id": "group1",
"name": "Build Process",
"format": { "color": [0, 255, 0], "bold": true }
}
}
messages
object[]
required

Array of log messages

jobId
string
required

Unique job identifier

Example:

"job-123"

jobMeta
object
required
chunkIndex
integer
required

Index of this chunk (0-based)

Required range: x >= 0
Example:

0

totalChunks
integer
required

Total number of chunks for this job

Required range: x >= 1
Example:

3

isChunked
boolean
required

Always true for chunked log parts

Example:

true