ReferenceAgents

Update agent

Update an existing agent

PUT
/blueprints/{blueprintId}/agents/{agentId}
AuthorizationBearer <token>

Bearer token authentication. Use your API key as the bearer token.

In: header

Path Parameters

blueprintIdstring

Blueprint ID

agentIdstring

Agent ID

Agent update input

avatarPublicUrl?string
baseModel?string
color?string
description?string
knowledgeBaseId?string
llmPrompt?string
name?string
querySuggestions?array<AgentQuerySuggestion>
toolIds?array<string>

Response Body

curl -X PUT "https://eu1.api.bivariant.com/v1/blueprints/string/agents/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "avatarPublicUrl": "string",
  "baseModel": "string",
  "blueprintId": "string",
  "color": "string",
  "createdAt": "string",
  "customAvatarId": "string",
  "description": "string",
  "id": "string",
  "identifier": "string",
  "knowledgeBase": {
    "assetId": "string",
    "collectionId": "string",
    "createdAt": "string",
    "description": "string",
    "id": "string",
    "lastIndexedAt": "string",
    "metadata": {
      "property1": null,
      "property2": null
    },
    "name": "string",
    "organizationId": "string",
    "ownerId": "string",
    "postId": "string",
    "spaceId": "string",
    "updatedAt": "string"
  },
  "knowledgeBaseId": "string",
  "llmPrompt": "string",
  "name": "string",
  "organizationId": "string",
  "querySuggestions": [
    {
      "content": "string",
      "id": "string"
    }
  ],
  "serviceAccountId": "string",
  "spaceId": "string",
  "toolIds": [
    "string"
  ],
  "uid": "string",
  "updatedAt": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}