prompts
utils

Convert Prompt File To Json

Convert a .prompt file to JSON format.

This endpoint accepts a .prompt file upload and returns the equivalent JSON representation that can be stored in a database or used programmatically.

Returns the JSON structure with 'content' and 'metadata' fields.

post/utils/dotprompt_json_converter

Request

  • Base URL
    https://api.koboillm.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.koboillm.com/utils/dotprompt_json_converter
  • Auth
    • API key in header x-litellm-api-key
    • or API key in header x-litellm-api-key
    • or API key in header x-litellm-api-key
    • or API key in header x-litellm-api-key
    • or API key in header x-litellm-api-key
    • or API key in header x-litellm-api-key

Request body multipart/form-data

filestring binary required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 17 revisions of this API.