Prompts

Update Prompt Schema

Changed on

Stores or updates a JSON Schema at the prompt level to enforce presence and types of input variables before execution.

post/v1/prompts/{id}/schema

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/v1/prompts/{id}/schema
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The ID of the prompt.

Request body

schemaobject

The JSON Schema to store.

Response

Schema updated successfully

Changes