Skip to main content
POST
/
knowledge
/
set_agent_files
Set Agent Files
curl --request POST \
  --url https://api-west.millis.ai/knowledge/set_agent_files \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "files": [
    "<string>"
  ],
  "messages": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

authorization
string | null

Private Key

Body

application/json
agent_id
string
required
files
string[]
required
messages
string[] | null

Response

Successful Response