Adds dataset sources to an agent version.
POST/api/v2/AgentVersion/:agentCode/:agentVersion/knowledge/dataset
Adds dataset sources 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
- application/json
- text/json
- application/*+json
Body
The dataset IDs to add as knowledge sources.
datasetIds uuid[]required
List of dataset IDs to add as knowledge sources
Body
The dataset IDs to add as knowledge sources.
datasetIds uuid[]required
List of dataset IDs to add as knowledge sources
Body
The dataset IDs to add as knowledge sources.
datasetIds uuid[]required
List of dataset IDs to add as knowledge sources
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Dataset 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
Loading...