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://apiclaw.biz (the document declares no server; this is the origin it was published from)
  • URL: https://apiclaw.biz/utils/dotprompt_json_converter
  • Auth: API key in header x-litellm-api-key

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.