Skip to main content

Uploads a file as a knowledge source to an agent version.

POST 

/api/v2/AgentVersion/:agentCode/:agentVersion/knowledge/file

Uploads a file as a knowledge source to an agent version.

Request

Path Parameters

    agentCode stringrequired

    The code of the agent.

    agentVersion int32required

    The version number of the agent.

Query Parameters

    culture string

    Use this param to override the culture of the response. Options: - en (default) - es

Body

    File binaryrequired

    The file to upload as a knowledge source

    Description string

    Possible values: <= 500 characters

    Optional description of the knowledge source

    Tags string

    Possible values: <= 500 characters

    Optional comma-separated tags for the knowledge source

Responses

Knowledge source file uploaded successfully.

Loading...