Skip to main content

Update Agent

Updates an existing agent. Only fields you include in the request body are changed.

Request

PATCH https://api.repixa.io/v1/agents/{agentId}
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Path parameters

ParameterTypeDescription
agentIdstringThe unique ID of the agent

Body

{
  "name": "Laura - Enterprise Demo",
  "sandbox_url": "https://new-sandbox.yourdomain.com",
  "status": "inactive"
}
FieldTypeDescription
namestringNew display name
sandbox_urlstringUpdated sandbox URL
personastringUpdated custom persona prompt
statusstringactive or inactive

Response 200

{
  "id": "agt_01hx4k2m9n3p",
  "name": "Laura - Enterprise Demo",
  "sandbox_url": "https://new-sandbox.yourdomain.com",
  "status": "inactive",
  "created_at": "2026-04-01T10:00:00Z",
  "updated_at": "2026-05-20T16:00:00Z"
}