Langfuse

Langfuse Proxy Route

Call Langfuse via LiteLLM proxy. Works with Langfuse SDK.

Docs

GET/langfuse/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/langfuse/{endpoint}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Langfuse Proxy Route

Call Langfuse via LiteLLM proxy. Works with Langfuse SDK.

Docs

POST/langfuse/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/langfuse/{endpoint}', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Langfuse Proxy Route

Call Langfuse via LiteLLM proxy. Works with Langfuse SDK.

Docs

PUT/langfuse/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/langfuse/{endpoint}', {
    method: 'PUT',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Langfuse Proxy Route

Call Langfuse via LiteLLM proxy. Works with Langfuse SDK.

Docs

DELETE/langfuse/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/langfuse/{endpoint}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Langfuse Proxy Route

Call Langfuse via LiteLLM proxy. Works with Langfuse SDK.

Docs

PATCH/langfuse/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/langfuse/{endpoint}', {
    method: 'PATCH',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}