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