Adds URL-based knowledge sources to an agent version.
POST/api/v2/AgentVersion/:agentCode/:agentVersion/knowledge/website/url
Adds URL-based knowledge sources to an agent version.
Request
Path Parameters
The code of the agent.
The version number of the agent.
Query Parameters
Use this param to override the culture of the response. Options: - en (default) - es
- application/json
- text/json
- application/*+json
Body
The URLs to add as knowledge sources.
Array [
]
urls
object[]
required
List of URLs to add as knowledge sources
Possible values: non-empty
The URL of the knowledge source
metadata
object
Possible values: <= 500 characters
Description of the knowledge source
Possible values: <= 500 characters
Comma-separated tags for the knowledge source
Body
The URLs to add as knowledge sources.
Array [
]
urls
object[]
required
List of URLs to add as knowledge sources
Possible values: non-empty
The URL of the knowledge source
metadata
object
Possible values: <= 500 characters
Description of the knowledge source
Possible values: <= 500 characters
Comma-separated tags for the knowledge source
Body
The URLs to add as knowledge sources.
Array [
]
urls
object[]
required
List of URLs to add as knowledge sources
Possible values: non-empty
The URL of the knowledge source
metadata
object
Possible values: <= 500 characters
Description of the knowledge source
Possible values: <= 500 characters
Comma-separated tags for the knowledge source
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Knowledge sources added successfully.
If the request is invalid or the version is not in DRAFT status.
The user is unauthorized or the session expired
The user does not have permission
If the agent or version is not found.
There was an unexpected error