Admin
Save an instance AI prompt
PUT
/admin/ai-prompts/{key}Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
key*string
Prompt catalogue key
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X PUT "https://example.com/admin/ai-prompts/string" \ -H "Content-Type: application/json" \ -d '{ "value": "string" }'{ "$schema": "https://example.com/api/v1/schemas/AIPromptResponse.json", "default_value": "string", "default_version": "string", "key": "string", "kind": "base", "overridden": true, "platform": "string", "updated_at": "string", "updated_by": "string", "value": "string"}