Helicone · Capability

helicone-api — Prompt

helicone-api — Prompt. 18 operations. Lead operation: Prompt. Self-contained Naftiko capability covering one Helicone business surface.

Run with Naftiko HeliconePrompt

What You Can Do

POST
Createprompt — createprompt
/v1/v1/prompt/create
GET
Hasprompts — hasprompts
/v1/v1/prompt/has-prompts
POST
Getprompts — getprompts
/v1/v1/prompt/query
GET
Getpromptversion — getpromptversion
/v1/v1/prompt/version/{promptversionid}
DELETE
Deletepromptversion — deletepromptversion
/v1/v1/prompt/version/{promptversionid}
POST
Editpromptversionlabel — editpromptversionlabel
/v1/v1/prompt/version/{promptversionid}/edit-label
POST
Editpromptversiontemplate — editpromptversiontemplate
/v1/v1/prompt/version/{promptversionid}/edit-template
POST
Getinputs — getinputs
/v1/v1/prompt/version/{promptversionid}/inputs/query
POST
Promotepromptversiontoproduction — promotepromptversiontoproduction
/v1/v1/prompt/version/{promptversionid}/promote
POST
Createsubversion — createsubversion
/v1/v1/prompt/version/{promptversionid}/subversion
POST
Createsubversionfromui — createsubversionfromui
/v1/v1/prompt/version/{promptversionid}/subversion-from-ui
DELETE
Deleteprompt — deleteprompt
/v1/v1/prompt/{promptid}
GET
Getpromptexperiments — getpromptexperiments
/v1/v1/prompt/{promptid}/experiments
POST
Getprompt — getprompt
/v1/v1/prompt/{promptid}/query
PATCH
Updatepromptuserdefinedid — updatepromptuserdefinedid
/v1/v1/prompt/{promptid}/user-defined-id
POST
Getpromptversions — getpromptversions
/v1/v1/prompt/{promptid}/versions/query
POST
Getpromptversionscompiled — getpromptversionscompiled
/v1/v1/prompt/{user-defined-id}/compile
POST
Getpromptversiontemplates — getpromptversiontemplates
/v1/v1/prompt/{user-defined-id}/template

MCP Tools

createprompt

createprompt

hasprompts

hasprompts

read-only idempotent
getprompts

getprompts

getpromptversion

getpromptversion

read-only idempotent
deletepromptversion

deletepromptversion

idempotent
editpromptversionlabel

editpromptversionlabel

editpromptversiontemplate

editpromptversiontemplate

getinputs

getinputs

promotepromptversiontoproduction

promotepromptversiontoproduction

createsubversion

createsubversion

createsubversionfromui

createsubversionfromui

deleteprompt

deleteprompt

idempotent
getpromptexperiments

getpromptexperiments

read-only idempotent
getprompt

getprompt

updatepromptuserdefinedid

updatepromptuserdefinedid

idempotent
getpromptversions

getpromptversions

getpromptversionscompiled

getpromptversionscompiled

getpromptversiontemplates

getpromptversiontemplates

Capability Spec

helicone-prompt.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: helicone-api — Prompt
  description: 'helicone-api — Prompt. 18 operations. Lead operation: Prompt. Self-contained Naftiko capability covering one
    Helicone business surface.'
  tags:
  - Helicone
  - Prompt
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HELICONE_API_KEY: HELICONE_API_KEY
capability:
  consumes:
  - type: http
    namespace: helicone-prompt
    baseUri: https://api.helicone.ai
    description: helicone-api — Prompt business capability. Self-contained, no shared references.
    resources:
    - name: v1-prompt-create
      path: /v1/prompt/create
      operations:
      - name: createprompt
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-has-prompts
      path: /v1/prompt/has-prompts
      operations:
      - name: hasprompts
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-prompt-query
      path: /v1/prompt/query
      operations:
      - name: getprompts
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-version-promptVersionId
      path: /v1/prompt/version/{promptVersionId}
      operations:
      - name: getpromptversion
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
      - name: deletepromptversion
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
    - name: v1-prompt-version-promptVersionId-edit-label
      path: /v1/prompt/version/{promptVersionId}/edit-label
      operations:
      - name: editpromptversionlabel
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-version-promptVersionId-edit-template
      path: /v1/prompt/version/{promptVersionId}/edit-template
      operations:
      - name: editpromptversiontemplate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-version-promptVersionId-inputs-query
      path: /v1/prompt/version/{promptVersionId}/inputs/query
      operations:
      - name: getinputs
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-version-promptVersionId-promote
      path: /v1/prompt/version/{promptVersionId}/promote
      operations:
      - name: promotepromptversiontoproduction
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-version-promptVersionId-subversion
      path: /v1/prompt/version/{promptVersionId}/subversion
      operations:
      - name: createsubversion
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-version-promptVersionId-subversion-from-ui
      path: /v1/prompt/version/{promptVersionId}/subversion-from-ui
      operations:
      - name: createsubversionfromui
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptVersionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-promptId
      path: /v1/prompt/{promptId}
      operations:
      - name: deleteprompt
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptId
          in: path
          type: string
          required: true
    - name: v1-prompt-promptId-experiments
      path: /v1/prompt/{promptId}/experiments
      operations:
      - name: getpromptexperiments
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptId
          in: path
          type: string
          required: true
    - name: v1-prompt-promptId-query
      path: /v1/prompt/{promptId}/query
      operations:
      - name: getprompt
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-promptId-user-defined-id
      path: /v1/prompt/{promptId}/user-defined-id
      operations:
      - name: updatepromptuserdefinedid
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-promptId-versions-query
      path: /v1/prompt/{promptId}/versions/query
      operations:
      - name: getpromptversions
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promptId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-user_defined_id-compile
      path: /v1/prompt/{user_defined_id}/compile
      operations:
      - name: getpromptversionscompiled
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_defined_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-prompt-user_defined_id-template
      path: /v1/prompt/{user_defined_id}/template
      operations:
      - name: getpromptversiontemplates
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_defined_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.HELICONE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: helicone-prompt-rest
    port: 8080
    description: REST adapter for helicone-api — Prompt. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/prompt/create
      name: v1-prompt-create
      description: REST surface for v1-prompt-create.
      operations:
      - method: POST
        name: createprompt
        description: createprompt
        call: helicone-prompt.createprompt
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/has-prompts
      name: v1-prompt-has-prompts
      description: REST surface for v1-prompt-has-prompts.
      operations:
      - method: GET
        name: hasprompts
        description: hasprompts
        call: helicone-prompt.hasprompts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/query
      name: v1-prompt-query
      description: REST surface for v1-prompt-query.
      operations:
      - method: POST
        name: getprompts
        description: getprompts
        call: helicone-prompt.getprompts
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/version/{promptversionid}
      name: v1-prompt-version-promptversionid
      description: REST surface for v1-prompt-version-promptVersionId.
      operations:
      - method: GET
        name: getpromptversion
        description: getpromptversion
        call: helicone-prompt.getpromptversion
        with:
          promptVersionId: rest.promptVersionId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletepromptversion
        description: deletepromptversion
        call: helicone-prompt.deletepromptversion
        with:
          promptVersionId: rest.promptVersionId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/version/{promptversionid}/edit-label
      name: v1-prompt-version-promptversionid-edit-label
      description: REST surface for v1-prompt-version-promptVersionId-edit-label.
      operations:
      - method: POST
        name: editpromptversionlabel
        description: editpromptversionlabel
        call: helicone-prompt.editpromptversionlabel
        with:
          promptVersionId: rest.promptVersionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/version/{promptversionid}/edit-template
      name: v1-prompt-version-promptversionid-edit-template
      description: REST surface for v1-prompt-version-promptVersionId-edit-template.
      operations:
      - method: POST
        name: editpromptversiontemplate
        description: editpromptversiontemplate
        call: helicone-prompt.editpromptversiontemplate
        with:
          promptVersionId: rest.promptVersionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/version/{promptversionid}/inputs/query
      name: v1-prompt-version-promptversionid-inputs-query
      description: REST surface for v1-prompt-version-promptVersionId-inputs-query.
      operations:
      - method: POST
        name: getinputs
        description: getinputs
        call: helicone-prompt.getinputs
        with:
          promptVersionId: rest.promptVersionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/version/{promptversionid}/promote
      name: v1-prompt-version-promptversionid-promote
      description: REST surface for v1-prompt-version-promptVersionId-promote.
      operations:
      - method: POST
        name: promotepromptversiontoproduction
        description: promotepromptversiontoproduction
        call: helicone-prompt.promotepromptversiontoproduction
        with:
          promptVersionId: rest.promptVersionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/version/{promptversionid}/subversion
      name: v1-prompt-version-promptversionid-subversion
      description: REST surface for v1-prompt-version-promptVersionId-subversion.
      operations:
      - method: POST
        name: createsubversion
        description: createsubversion
        call: helicone-prompt.createsubversion
        with:
          promptVersionId: rest.promptVersionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/version/{promptversionid}/subversion-from-ui
      name: v1-prompt-version-promptversionid-subversion-from-ui
      description: REST surface for v1-prompt-version-promptVersionId-subversion-from-ui.
      operations:
      - method: POST
        name: createsubversionfromui
        description: createsubversionfromui
        call: helicone-prompt.createsubversionfromui
        with:
          promptVersionId: rest.promptVersionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/{promptid}
      name: v1-prompt-promptid
      description: REST surface for v1-prompt-promptId.
      operations:
      - method: DELETE
        name: deleteprompt
        description: deleteprompt
        call: helicone-prompt.deleteprompt
        with:
          promptId: rest.promptId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/{promptid}/experiments
      name: v1-prompt-promptid-experiments
      description: REST surface for v1-prompt-promptId-experiments.
      operations:
      - method: GET
        name: getpromptexperiments
        description: getpromptexperiments
        call: helicone-prompt.getpromptexperiments
        with:
          promptId: rest.promptId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/{promptid}/query
      name: v1-prompt-promptid-query
      description: REST surface for v1-prompt-promptId-query.
      operations:
      - method: POST
        name: getprompt
        description: getprompt
        call: helicone-prompt.getprompt
        with:
          promptId: rest.promptId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/{promptid}/user-defined-id
      name: v1-prompt-promptid-user-defined-id
      description: REST surface for v1-prompt-promptId-user-defined-id.
      operations:
      - method: PATCH
        name: updatepromptuserdefinedid
        description: updatepromptuserdefinedid
        call: helicone-prompt.updatepromptuserdefinedid
        with:
          promptId: rest.promptId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/{promptid}/versions/query
      name: v1-prompt-promptid-versions-query
      description: REST surface for v1-prompt-promptId-versions-query.
      operations:
      - method: POST
        name: getpromptversions
        description: getpromptversions
        call: helicone-prompt.getpromptversions
        with:
          promptId: rest.promptId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/{user-defined-id}/compile
      name: v1-prompt-user-defined-id-compile
      description: REST surface for v1-prompt-user_defined_id-compile.
      operations:
      - method: POST
        name: getpromptversionscompiled
        description: getpromptversionscompiled
        call: helicone-prompt.getpromptversionscompiled
        with:
          user_defined_id: rest.user_defined_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/prompt/{user-defined-id}/template
      name: v1-prompt-user-defined-id-template
      description: REST surface for v1-prompt-user_defined_id-template.
      operations:
      - method: POST
        name: getpromptversiontemplates
        description: getpromptversiontemplates
        call: helicone-prompt.getpromptversiontemplates
        with:
          user_defined_id: rest.user_defined_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: helicone-prompt-mcp
    port: 9090
    transport: http
    description: MCP adapter for helicone-api — Prompt. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: createprompt
      description: createprompt
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.createprompt
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hasprompts
      description: hasprompts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: helicone-prompt.hasprompts
      outputParameters:
      - type: object
        mapping: $.
    - name: getprompts
      description: getprompts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.getprompts
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getpromptversion
      description: getpromptversion
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: helicone-prompt.getpromptversion
      with:
        promptVersionId: tools.promptVersionId
      outputParameters:
      - type: object
        mapping: $.
    - name: deletepromptversion
      description: deletepromptversion
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: helicone-prompt.deletepromptversion
      with:
        promptVersionId: tools.promptVersionId
      outputParameters:
      - type: object
        mapping: $.
    - name: editpromptversionlabel
      description: editpromptversionlabel
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.editpromptversionlabel
      with:
        promptVersionId: tools.promptVersionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: editpromptversiontemplate
      description: editpromptversiontemplate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.editpromptversiontemplate
      with:
        promptVersionId: tools.promptVersionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getinputs
      description: getinputs
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.getinputs
      with:
        promptVersionId: tools.promptVersionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: promotepromptversiontoproduction
      description: promotepromptversiontoproduction
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.promotepromptversiontoproduction
      with:
        promptVersionId: tools.promptVersionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: createsubversion
      description: createsubversion
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.createsubversion
      with:
        promptVersionId: tools.promptVersionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: createsubversionfromui
      description: createsubversionfromui
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.createsubversionfromui
      with:
        promptVersionId: tools.promptVersionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deleteprompt
      description: deleteprompt
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: helicone-prompt.deleteprompt
      with:
        promptId: tools.promptId
      outputParameters:
      - type: object
        mapping: $.
    - name: getpromptexperiments
      description: getpromptexperiments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: helicone-prompt.getpromptexperiments
      with:
        promptId: tools.promptId
      outputParameters:
      - type: object
        mapping: $.
    - name: getprompt
      description: getprompt
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.getprompt
      with:
        promptId: tools.promptId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: updatepromptuserdefinedid
      description: updatepromptuserdefinedid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: helicone-prompt.updatepromptuserdefinedid
      with:
        promptId: tools.promptId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getpromptversions
      description: getpromptversions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.getpromptversions
      with:
        promptId: tools.promptId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getpromptversionscompiled
      description: getpromptversionscompiled
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.getpromptversionscompiled
      with:
        user_defined_id: tools.user_defined_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getpromptversiontemplates
      description: getpromptversiontemplates
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-prompt.getpromptversiontemplates
      with:
        user_defined_id: tools.user_defined_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.