Prompts

Update Prompt Schema

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

Path parameters

idstring uuid required

The ID of the prompt.

Request body

schemaobject

The JSON Schema to store.

Response

Schema updated successfully

Changes

Changed in 1 of the 18 revisions of this API.1