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

Connect a GitHub repository first (the prompt lives in the workspace repo).

object
success
required
boolean
error
required
string
code
required
string

Failed to update custom prompt

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