Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API key or UI session JWT passed as a Bearer token.

Headers

AiQL-Workspace
string
required

ID of the workspace the request operates on.

Body

application/json
title
string
required

Title of the prompt.

template
string
default:""

Prompt template body.

fields
string[]

Template field names.

Response

Successful Response

id
string
required
title
string
required
template
string
required
fields
string[]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required