Create a prompt

POST

Creates a prompt

Headers

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
promptstringRequired
environmentIdstringRequired

Environment ID

spaceIdstringRequired

Space ID

promptType"AI_ASSIST" or "CONSTRAINT_GENERATION"Optional
Allowed values: AI_ASSISTCONSTRAINT_GENERATION

Type of prompt; Defaults to AI_ASSIST

Response

This endpoint returns an object.
dataobject