Uploads a file for a specific agent using a URL.
POST/api/v2/KnowledgeFile/upload
This endpoint accepts JSON requests with a URL pointing to the file to be uploaded.
Request
Query Parameters
Use this param to override the culture of the response. Options: - en (default) - es
- application/json
- text/json
- application/*+json
Body
Request object containing the agent code, content URL, and optional file name.
Possible values: non-empty
Identifier of the agent.
Possible values: non-empty
The url provides the knowledge file to be uploaded
Possible values: non-empty
Name by which the uploaded file will be named
Body
Request object containing the agent code, content URL, and optional file name.
Possible values: non-empty
Identifier of the agent.
Possible values: non-empty
The url provides the knowledge file to be uploaded
Possible values: non-empty
Name by which the uploaded file will be named
Body
Request object containing the agent code, content URL, and optional file name.
Possible values: non-empty
Identifier of the agent.
Possible values: non-empty
The url provides the knowledge file to be uploaded
Possible values: non-empty
Name by which the uploaded file will be named
Responses
- 200
- 400
- 401
- 403
- 500
OK
There was a validation error. Please check your request data.
- application/json
- Schema
- Example (from schema)
Schema
errors
object
nullable
{
"message": "string",
"errors": {}
}
The user is unauthorized or the session expired
The user does not have permission
There was an unexpected error