List models
curl --request GET \
--url https://api.cogito.decart.ai/v1/modelsimport requests
url = "https://api.cogito.decart.ai/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cogito.decart.ai/v1/models', 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://api.cogito.decart.ai/v1/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.cogito.decart.ai/v1/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cogito.decart.ai/v1/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cogito.decart.ai/v1/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyModels
List models
GET /v1/models
GET
/
v1
/
models
List models
curl --request GET \
--url https://api.cogito.decart.ai/v1/modelsimport requests
url = "https://api.cogito.decart.ai/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cogito.decart.ai/v1/models', 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://api.cogito.decart.ai/v1/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.cogito.decart.ai/v1/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cogito.decart.ai/v1/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cogito.decart.ai/v1/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyReturns the catalog of models available to your account. OpenAI-compatible.
Rollout-enabled MoE models include
Response
{
"object": "list",
"data": [
{
"id": "gpt-oss-120b",
"object": "model",
"created": 1714521600,
"owned_by": "cogito",
"context_window": 131072
},
...
]
}
Notes
- Fine-tuned variants tied to your account appear in this list with their own slugs (e.g.
ft:gpt-oss-120b:my-org:summary-v1). - The
context_windowfield is a Cogito extension; standard OpenAI clients ignore it.
Retrieve one model
Use the OpenAI-compatible retrieve-model endpoint to fetch an entitled model by its exact, URL-encoded ID. This also works for a dedicated model that is callable but intentionally absent from the collection.curl https://api.cogito.decart.ai/v1/models/<url-encoded-model-id> \
-H "Authorization: Bearer $COGITO_API_KEY"
routing_matrix, an additive Cogito field
with the static format needed to decode router replay payloads. Fetch it once
when the trainer starts; completion responses do not repeat it.
{
"id": "<model_id>",
"routing_matrix": {
"dtype": "uint16",
"shape": [60, 8]
}
}