ReferenceAgents

Assign service account

Assign a service account to an agent

POST
/blueprints/{blueprintId}/agents/{agentId}/assign-service-account
AuthorizationBearer <token>

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

In: header

Path Parameters

blueprintIdstring

Blueprint ID

agentIdstring

Agent ID

Response Body

curl -X POST "https://eu1.api.bivariant.com/v1/blueprints/string/agents/string/assign-service-account"
{
  "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"
}