PUT api/agent/update/{id}

Updates an existing agent using SP UpdateAgent. PUT with route id and body: AgentName, Description, AI_Model_Provider, AI_Model_Name, IsActive, WorkflowID, AgentUrl.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AgentUpdateDto
NameDescriptionTypeAdditional information
AgentName

string

None.

Description

string

None.

AI_Model_Provider

string

None.

AI_Model_Name

string

None.

IsActive

boolean

None.

WorkflowID

integer

None.

AgentUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "agentName": "sample string 1",
  "description": "sample string 2",
  "aI_Model_Provider": "sample string 3",
  "aI_Model_Name": "sample string 4",
  "isActive": true,
  "workflowID": 1,
  "agentUrl": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.