ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Clean up provided vector results.
This endpoint allows users to submit specific vector results for cleaning, which is useful when there are particular documents that need to be processed.
Args: request: The HTTP request containing the vector results to clean. org: The organization/tenant identifier. user_id: The ID of the user making the request.
Returns: Response: The cleaned vector results.
Raises: BadRequest: If the API key for the cleaning provider is not found or the provided data is invalid.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/clean-vector-results/{session_id}/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/clean-vector-results/{session_id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/clean-vector-results/{session_id}/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
[
{
"type": "document",
"title": "Introduction to Machine Learning",
"snippet": "Machine learning is a subset of artificial intelligence that focuses on developing systems that can learn from data.",
"source": "https://example.com/ml-intro",
"score": 0.92,
"confidence_level": 0.85
}
]
]'
[ [ { … } ] ]
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/clear-chathistory
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/clear-chathistory
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/clear-chathistory' \
-H 'Authorization: YOUR_API_KEY_HERE'
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/course-creation-task-files/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/course-creation-task-files/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/course-creation-task-files/?page=0&page_size=0' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ { … } ] }