Dispach
HTTP API
POST
/v1/agents/{id}/import

Authorization

bearer
headerAuthorizationBearer <token>

An operator key or the configured token.

Path Parameters

id*string

Request Body

application/json
  1. body
bundle*

A bundle from GET /v1/agents/:id/export: MEMORY.md, memory/.md and knowledge/.md, nothing else.

mode?string

What to do with a knowledge file the agent already has. Memory is merged either way.

Value in"skip""overwrite"

Response Body

OK

Example Request
curl -X POST 'http://localhost:7420/v1/agents/string/import' \  -H 'Content-Type: application/json' \  -d '{  "bundle": {    "property1": null,    "property2": null  }}'
Example Response
Empty