Update agent prompt details
PUT
/api/v1/gen_agents/prompt
Update prompt details (personality, knowledge, backstory) for an agent.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” agent_id
required
Agent Id
string
Request Body required
Section titled “Request Body required ” UpdateAgentPromptRequest
object
type
required
Type
string
content
required
Content
The content of the prompt node
string
Responses
Section titled “ Responses ”Successful Response
Bad Request
Not Found
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Internal Server Error