Get the workspace custom prompt
GET /api/workspaces/{workspaceId}/custom-prompt
GET
/api/workspaces/{workspaceId}/custom-prompt
Returns the workspace’s custom agent prompt, falling back to the default template when unset.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspaceId
required
string
Responses
Section titled “ Responses ”Custom prompt content.
object
success
required
boolean
content
required
string
Invalid workspace ID
object
success
boolean
error
required
string
Example
Human-readable error messageWorkspace not found
object
success
boolean
error
required
string
Example
Human-readable error messageFailed to read custom prompt
object
success
boolean
error
required
string
Example
Human-readable error message