Langfuse Feedback API

The Feedback API from Langfuse — 1 operation(s) for feedback.

GitHub OpenAPI

Operations 1

POST /api/public/feedback Feedback submit #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/langfuse:langfuse-feedback-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

langfuse-feedback-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: server Feedback API
  version: ''
  description: '## Real-time data


    The only real-time path to get tracing data is to ingest via OpenTelemetry (`POST /api/public/otel/v1/traces`) and retrieve via Observations API v2 (`GET /api/public/v2/observations`) and Metrics API v2 (`GET /api/public/v2/metrics`). Other public API write and read endpoints can delay data by about 10 minutes. Direct OpenTelemetry exporters must send the `x-langfuse-ingestion-version: 4` header; current Python and JS SDKs already do. See the Public API docs and real-time ingestion.


    ## Authentication


    Authenticate with the API using Basic Auth, get API keys in the project settings:


    - username: Langfuse Public Key

    - password: Langfuse Secret Key


    ## Exports


    - OpenAPI spec: https://cloud.langfuse.com/generated/api/openapi.yml

    - Self-hosted deployments: interactive API reference at `/api/docs` and OpenAPI spec at `/api/openapi.yaml`'
tags:
- name: Feedback
paths:
  /api/public/feedback:
    post:
      description: 'Submit explicit user-approved feedback about Langfuse skills, MCP tools, CLI, docs, or public API. Do not include secrets, credentials, customer data, trace payloads, or unrelated use-case details.


        Not available in the HIPAA cloud region.'
      operationId: feedback_submit
      tags:
      - Feedback
      parameters: []
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitFeedbackResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
        '409':
          description: ''
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitFeedbackRequest'
      summary: Feedback submit
      x-summary-source: derived
components:
  schemas:
    SubmitFeedbackRequest:
      title: SubmitFeedbackRequest
      type: object
      properties:
        targetType:
          $ref: '#/components/schemas/FeedbackTargetType'
          description: Category of the thing the feedback is about.
        target:
          type: string
          description: 'The specific instance within targetType: the skill name, MCP tool name, CLI command, API endpoint path, or docs page path (e.g. ''queryMetrics'', ''/docs/mcp''). An identifier, not a sentence. Must be between 1 and 200 characters.'
        feedback:
          type: string
          description: Concise feedback text approved by the user. Must be between 1 and 3000 characters.
        goal:
          type:
          - string
          - 'null'
          description: Optional user-approved goal or use case they were trying to achieve. Must be between 1 and 1500 characters when provided. Do not include secrets, customer data, trace payloads, or broad unrelated context.
        referenceUrl:
          type:
          - string
          - 'null'
          description: Optional HTTP(S) reference URL. Langfuse stores it as text for triage and does not fetch it.
      required:
      - targetType
      - target
      - feedback
    FeedbackTargetType:
      title: FeedbackTargetType
      type: string
      enum:
      - skill
      - mcp-tool
      - cli
      - docs
      - public-api
      - other
    SubmitFeedbackResponse:
      title: SubmitFeedbackResponse
      type: object
      properties:
        id:
          type: string
          description: Correlation ID for the submitted feedback.
      required:
      - id
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic