Skip to content

Create prompt template.​

POST
/backend/v1/prompts/templates

Create a new prompt template.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"project": "string",
  
"promptId": "string"
}

Responses​

Successful Response

application/json
JSON
{
  
"id": "string"
}

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI

Updated at: