LLM Gateway

Health check

Health check endpoint.

GET

Response Body

curl -X GET "http://localhost:4001"
fetch("http://localhost:4001")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "http://localhost:4001"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "http://localhost:4001"

response = requests.request("GET", url)

print(response.text)
{
  "message": "string",
  "health": {
    "status": "string",
    "redis": {
      "connected": true,
      "error": "string"
    },
    "database": {
      "connected": true,
      "error": "string"
    }
  }
}