Prompts
Update a custom writing prompt
PUT
/prompts/{id}AuthorizationBearer <token>
In: header
Path Parameters
id*string
Prompt ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/prompts/string" \ -H "Content-Type: application/json" \ -d '{ "category": "string", "example": "string", "text": "string" }'{ "$schema": "https://example.com/api/v1/schemas/PromptResponse.json", "category": "string", "created_at": "string", "example": "string", "id": "string", "is_built_in": true, "text": "string", "user_id": "string", "workspace_id": "string"}