Examples and SDKsDraft
Examples
Build a request and copy it in curl, JavaScript or Python.
Draft
The KOLDOS API is in development and this specification is a draft. Field names and endpoints can still change before launch.
Every example reads the key from the KOLDOS_API_KEY environment variable. Adjust the parameters and copy the request.
Endpoint
The KOLDOS format: status with the mascot image, reasoning, research, tool calls and the answer.
KOLDOS runs one turn for it with the model koldos-1.
curl https://api.plodex.xyz/v1/turns \
-N \
-H "Authorization: Bearer $KOLDOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "koldos-1",
"input": "Why does my loop never end?",
"functions": [
"text"
],
"stream": true
}'This page never sends requests or asks for a key. The API is in development, so the snippet will work once it launches.
List the models your key can use
GET
/v1/modelsReturns the models your API key can call, with their current status.curl https://api.plodex.xyz/v1/models \
-H "Authorization: Bearer $KOLDOS_API_KEY"{
"object": "list",
"data": [
{
"id": "koldos-1",
"object": "model",
"status": "development"
}
]
}