Create a prompt
Creates a new standalone prompt with token estimation.
Authentication
AuthorizationBearer
API key or Clerk session token
Request
This endpoint expects an object.
name
text
model
responseFormat
Allowed values:
systemPrompt
userPrompt
Response
Prompt created
createdAt
estimatedCost
estimatedTokens
id
model
name
organizationId
responseFormat
text
updatedAt
userId
systemPrompt
userPrompt
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error