Skip to content

Update the workspace custom prompt

PUT
/api/workspaces/{workspaceId}/custom-prompt
workspaceId
required
string
object
content
required

Custom prompt markdown content

string

Custom prompt updated.

object
success
required
boolean
message
required
string

Invalid request

object
success
boolean
error
required
string
Example
Human-readable error message

Workspace not found

object
success
boolean
error
required
string
Example
Human-readable error message

Failed to update custom prompt

object
success
boolean
error
required
string
Example
Human-readable error message