Skip to main content
GET
/
api
/
llm
/
training_job
/
get
/
Retrieve details of a specific LLM/VLM training job
curl --request GET \
  --url https://training-suite.uat-infer.shakticloud.ai/api/llm/training_job/get/ \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://training-suite.uat-infer.shakticloud.ai/api/llm/training_job/get/"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://training-suite.uat-infer.shakticloud.ai/api/llm/training_job/get/', 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://training-suite.uat-infer.shakticloud.ai/api/llm/training_job/get/",
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://training-suite.uat-infer.shakticloud.ai/api/llm/training_job/get/"

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://training-suite.uat-infer.shakticloud.ai/api/llm/training_job/get/")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://training-suite.uat-infer.shakticloud.ai/api/llm/training_job/get/")

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
{
  "request_id": "<string>",
  "experiment_name": "<string>",
  "status": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "config": {},
  "progress": 123,
  "model_type": "<string>",
  "base_model": "<string>",
  "output_model": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Headers

Authorization
string
required

Bearer token for authentication and authorization.

Query Parameters

org_id
string
required

Organization ID to which the training job belongs.

request_id
string
required

Unique identifier for the training job request.

Response

200 - application/json

The requested training job details were retrieved successfully.

request_id
string

Unique identifier for the training job request

experiment_name
string

Name of the training experiment

status
string

Current status of the training job

created_at
string<date-time>

Timestamp when the job was created

config
object

The complete training configuration used for this job

progress
number

Progress percentage of the training job (0-100)

model_type
string

Type of model being trained (LLM or VLM)

base_model
string

Base model used for training

output_model
string

Path to the trained model output (when completed)