Skip to main content

Uploads a file for a specific agent using a URL.

POST 

/api/v2/KnowledgeFile/upload

deprecated

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

Request

Query Parameters

    culture string

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

Body

Request object containing the agent code, content URL, and optional file name.

    agentCode stringrequired

    Possible values: non-empty

    Identifier of the agent.

    contentUrl stringrequired

    Possible values: non-empty

    The url provides the knowledge file to be uploaded

    fileName stringrequired

    Possible values: non-empty

    Name by which the uploaded file will be named

Responses

OK

Loading...