Skip to content

Create prompt template.

POST
/backend/v1/prompts/templates

Create a new prompt template.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Request Body

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

Responses

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

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Updated at: