Create a prompt

Creates a prompt

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
promptstringRequired
environmentIdstringRequired

Environment ID

spaceIdstringRequired

Space ID

promptTypeenumOptional

Type of prompt; Defaults to AI_ASSIST

Allowed values:

Response

This endpoint returns an object.
dataobject