genai
agent

Updates the GenaiAgent identified by id. Provide the unified GenaiAgent fields to change in the request body.

patch/genai/{connection_id}/agent/{id}

Request

  • Base URL
    https://api.unified.to
  • Auth
    API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Agent

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
descriptionstring
instructionsstring

The system prompt or stored procedure that the agent follows.

model_idstring

The model that the agent runs on.

is_activeboolean
rawobject

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
descriptionstring
instructionsstring

The system prompt or stored procedure that the agent follows.

model_idstring

The model that the agent runs on.

is_activeboolean
rawobject

Changes