Langfuse · Capability

langfuse — ScoreConfigs

langfuse — ScoreConfigs. 4 operations. Lead operation: ScoreConfigs. Self-contained Naftiko capability covering one Langfuse business surface.

Run with Naftiko LangfuseScoreConfigs

What You Can Do

POST
Scoreconfigscreate — Create a score configuration (config). Score configs are used to define the structure of scores
/v1/api/public/score-configs
GET
Scoreconfigsget — Get all score configs
/v1/api/public/score-configs
GET
Scoreconfigsgetbyid — Get a score config
/v1/api/public/score-configs/{configid}
PATCH
Scoreconfigsupdate — Update a score config
/v1/api/public/score-configs/{configid}

MCP Tools

create-score-configuration-config-score

Create a score configuration (config). Score configs are used to define the structure of scores

get-all-score-configs

Get all score configs

read-only idempotent
get-score-config

Get a score config

read-only idempotent
update-score-config

Update a score config

idempotent

Capability Spec

langfuse-scoreconfigs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: langfuse — ScoreConfigs
  description: 'langfuse — ScoreConfigs. 4 operations. Lead operation: ScoreConfigs. Self-contained Naftiko capability covering
    one Langfuse business surface.'
  tags:
  - Langfuse
  - ScoreConfigs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGFUSE_API_KEY: LANGFUSE_API_KEY
capability:
  consumes:
  - type: http
    namespace: langfuse-scoreconfigs
    baseUri: ''
    description: langfuse — ScoreConfigs business capability. Self-contained, no shared references.
    resources:
    - name: api-public-score-configs
      path: /api/public/score-configs
      operations:
      - name: scoreconfigscreate
        method: POST
        description: Create a score configuration (config). Score configs are used to define the structure of scores
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: scoreconfigsget
        method: GET
        description: Get all score configs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Page number, starts at 1.
        - name: limit
          in: query
          type: integer
          description: Limit of items per page. If you encounter api issues due to too large page sizes, try to reduce the
            limit
    - name: api-public-score-configs-configId
      path: /api/public/score-configs/{configId}
      operations:
      - name: scoreconfigsgetbyid
        method: GET
        description: Get a score config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: configId
          in: path
          type: string
          description: The unique langfuse identifier of a score config
          required: true
      - name: scoreconfigsupdate
        method: PATCH
        description: Update a score config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: configId
          in: path
          type: string
          description: The unique langfuse identifier of a score config
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.LANGFUSE_USER}}'
      password: '{{env.LANGFUSE_PASS}}'
  exposes:
  - type: rest
    namespace: langfuse-scoreconfigs-rest
    port: 8080
    description: REST adapter for langfuse — ScoreConfigs. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/public/score-configs
      name: api-public-score-configs
      description: REST surface for api-public-score-configs.
      operations:
      - method: POST
        name: scoreconfigscreate
        description: Create a score configuration (config). Score configs are used to define the structure of scores
        call: langfuse-scoreconfigs.scoreconfigscreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: scoreconfigsget
        description: Get all score configs
        call: langfuse-scoreconfigs.scoreconfigsget
        with:
          page: rest.page
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/public/score-configs/{configid}
      name: api-public-score-configs-configid
      description: REST surface for api-public-score-configs-configId.
      operations:
      - method: GET
        name: scoreconfigsgetbyid
        description: Get a score config
        call: langfuse-scoreconfigs.scoreconfigsgetbyid
        with:
          configId: rest.configId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: scoreconfigsupdate
        description: Update a score config
        call: langfuse-scoreconfigs.scoreconfigsupdate
        with:
          configId: rest.configId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langfuse-scoreconfigs-mcp
    port: 9090
    transport: http
    description: MCP adapter for langfuse — ScoreConfigs. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-score-configuration-config-score
      description: Create a score configuration (config). Score configs are used to define the structure of scores
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: langfuse-scoreconfigs.scoreconfigscreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-all-score-configs
      description: Get all score configs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langfuse-scoreconfigs.scoreconfigsget
      with:
        page: tools.page
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: get-score-config
      description: Get a score config
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langfuse-scoreconfigs.scoreconfigsgetbyid
      with:
        configId: tools.configId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-score-config
      description: Update a score config
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: langfuse-scoreconfigs.scoreconfigsupdate
      with:
        configId: tools.configId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.