Skip to main content
PATCH
Embed Agent Knowledge
You can add training files (supports batch uploading) to a specified agent for training through the agent training interface. The response data is the same as creating an agent, omitted here.

cURL Request Example

Authorizations

Authorization
string
header
required

token

Path Parameters

uuid
string<uuid>
required

uuid

Body

multipart/form-data
embed_files
file[]
required

local training files

Example:

Response

successful response

message
string
required

response message

Example:

"File uploaded successfully, processing in progress."

data
object
required