Skip to main content

Uploads a file for a specific agent using multipart/form-data.

POST 

/api/v2/KnowledgeFile/upload/:agentCode

deprecated

This endpoint is deprecated. Use POST api/v{version}/AgentVersion/{agentCode}/{agentVersion}/knowledge/file instead.

Request

Path Parameters

    agentCode stringrequired

    The unique code that identifies the agent.

Query Parameters

    culture string

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

Body

    ContentType string
    ContentDisposition string

    Headers

    object

    property name*

    string[]

  • Array [

  • string

  • ]

  • Length int64
    Name string
    FileName string

Responses

Success

Loading...