Skip to main content
GET
/
api
/
v2
/
config
Get Config
curl --request GET \
  --url http://localhost:8080/api/v2/config
import requests

url = "http://localhost:8080/api/v2/config"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('http://localhost:8080/api/v2/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_PORT => "8080",
CURLOPT_URL => "http://localhost:8080/api/v2/config",
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 := "http://localhost:8080/api/v2/config"

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("http://localhost:8080/api/v2/config")
.asString();
require 'uri'
require 'net/http'

url = URI("http://localhost:8080/api/v2/config")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "resources": {
    "embedders": [
      {
        "name": "<string>",
        "provider": "<string>",
        "error": "<string>"
      }
    ],
    "language_models": [
      {
        "name": "<string>",
        "provider": "<string>",
        "error": "<string>"
      }
    ],
    "rerankers": [
      {
        "name": "<string>",
        "provider": "<string>",
        "error": "<string>"
      }
    ],
    "databases": [
      {
        "name": "<string>",
        "provider": "<string>",
        "error": "<string>"
      }
    ]
  },
  "episodic_memory": {
    "long_term_memory": {
      "embedder": "<string>",
      "reranker": "<string>",
      "vector_graph_store": "<string>",
      "vector_store": "<string>",
      "segment_store": "<string>",
      "properties_schema": {},
      "enabled": true
    },
    "short_term_memory": {
      "llm_model": "<string>",
      "message_capacity": 123,
      "enabled": true
    },
    "enabled": true
  },
  "semantic_memory": {
    "enabled": false,
    "database": "<string>",
    "storage_backend": "<string>",
    "feature_store": "<string>",
    "vector_collection": "<string>",
    "llm_model": "<string>",
    "embedding_model": "<string>"
  }
}

Response

200 - application/json

Successful Response

Response model for configuration retrieval.

resources
ResourcesStatus · object
required
The status of all configured resources.
episodic_memory
EpisodicMemoryConfigResponse · object
Current episodic memory configuration including both long-term and short-term memory.
semantic_memory
SemanticMemoryConfigResponse · object
Current semantic memory configuration.