/
US
usesapient
/
Sapient Public API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
usesapient
Sapient Public API
patch
Update Prompt
v4
latest
OpenAPI 3.1.0
raw.githubusercontent.com
2026-05-15
35
38
84.5 KB
prompts
Update Prompt
patch
/v1/prompts/{prompt_id}
Path parameters
prompt_id
string
required
Request body
UpdatePublicPromptRequest
required
text
string
nullable
topic_id
string
nullable
platform_ids
string[]
nullable
is_active
boolean
nullable
Response
Successful Response
PublicPrompt
required
id
string
required
topic_id
string
required
text
string
required
language_id
string
nullable
region_id
string
nullable
is_active
boolean
status
'active'
|
'inactive'
|
'archived'
nullable
topic
PublicPromptTopic
platforms
PublicPromptPlatform[]
tags
PublicPromptTag[]
created_at
string
nullable
updated_at
string
nullable