Presets
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /v1/presets HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"name": "text",
"description": "text",
"target_content_type": "general",
"created_at": "2026-02-04T17:14:58.146Z",
"updated_at": "2026-02-04T17:14:58.146Z"
}
]POST /v1/presets HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"name": "text",
"description": "text",
"presets": {}
}{
"id": 1,
"name": "text",
"description": "text",
"target_content_type": "general",
"created_at": "2026-02-04T17:14:58.146Z",
"updated_at": "2026-02-04T17:14:58.146Z",
"presets": {
"language": "text",
"location": "text",
"tone": "text",
"pov": "text",
"article_type": "text",
"extra_prompt": "text",
"knowledge_sources": [
1
]
}
}GET /v1/presets/{id} HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "text",
"description": "text",
"target_content_type": "general",
"created_at": "2026-02-04T17:14:58.146Z",
"updated_at": "2026-02-04T17:14:58.146Z",
"presets": {
"language": "text",
"location": "text",
"tone": "text",
"pov": "text",
"article_type": "text",
"extra_prompt": "text",
"knowledge_sources": [
1
]
}
}PUT /v1/presets/{id} HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"name": "text",
"description": "text",
"presets": {}
}{
"id": 1,
"name": "text",
"description": "text",
"target_content_type": "general",
"created_at": "2026-02-04T17:14:58.146Z",
"updated_at": "2026-02-04T17:14:58.146Z",
"presets": {
"language": "text",
"location": "text",
"tone": "text",
"pov": "text",
"article_type": "text",
"extra_prompt": "text",
"knowledge_sources": [
1
]
}
}DELETE /v1/presets/{id} HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Accept: */*