Get specific chunk
curl --request GET \
--url https://logging.monolisk.co/chunk \
--header 'Authorization: Bearer <token>'import requests
url = "https://logging.monolisk.co/chunk"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://logging.monolisk.co/chunk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://logging.monolisk.co/chunk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://logging.monolisk.co/chunk"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://logging.monolisk.co/chunk")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://logging.monolisk.co/chunk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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"
}
]
}"Missing jobId""Unauthorized""Forbidden""Chunk not found""Method Not Allowed""Error retrieving chunk"LOGGING
Get Log Chunk
Retrieve a specific chunk of logs by its index
GET
/
chunk
Get specific chunk
curl --request GET \
--url https://logging.monolisk.co/chunk \
--header 'Authorization: Bearer <token>'import requests
url = "https://logging.monolisk.co/chunk"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://logging.monolisk.co/chunk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://logging.monolisk.co/chunk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://logging.monolisk.co/chunk"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://logging.monolisk.co/chunk")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://logging.monolisk.co/chunk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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"
}
]
}"Missing jobId""Unauthorized""Forbidden""Chunk not found""Method Not Allowed""Error retrieving chunk"Authorizations
Authorization header with Bearer token
Query Parameters
The job ID to retrieve the chunk for
Example:
"job-123"
The index of the chunk to retrieve (0-based)
Required range:
x >= 0Example:
0
Response
Log chunk data
Map of group IDs to group definitions
Show child attributes
Show child attributes
Example:
{
"group1": {
"id": "group1",
"name": "Build Process",
"format": { "color": [0, 255, 0], "bold": true }
}
}
Array of log messages
Show child attributes
Show child attributes
Unique job identifier
Example:
"job-123"
Show child attributes
Show child attributes
Index of this chunk (0-based)
Required range:
x >= 0Example:
0
Total number of chunks for this job
Required range:
x >= 1Example:
3
Always true for chunked log parts
Example:
true