Skip to content

ibl-data-manager (3.59.0-ai-plus)

API for iblai

Download OpenAPI description
Languages
Servers
Mock server

https://docs.ibl.ai/_mock/apis/ibl/

https://base.manager.iblai.app/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

ai_mentor_orgs_users_clean_vector_results_create

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.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
session_idstringrequired
user_idstringrequired
BodyrequiredArray [
typestring
Default "document"
titlestring
Default ""
snippetstringrequired
sourcestring
scorenumber(double)
confidence_levelnumber(double)
]
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
      }
    ]
  ]'

Responses

Bodyapplication/jsonArray [
typestring
Default "document"
titlestring
Default ""
snippetstringrequired
sourcestring
scorenumber(double)
confidence_levelnumber(double)
]
Response
application/json
[ [ {} ] ]

Request

Endpoint to clear a user's chat history.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
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'

Responses

No response body

ai_mentor_orgs_users_course_creation_task_files_list

Request

Endpoint to fetch update and delete files associated with course creation tasks.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
Query
pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

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'

Responses

Bodyapplication/json
countintegerrequired
Example: 123
nextstring or null(uri)
Example: "http://api.example.org/accounts/?page=4"
previousstring or null(uri)
Example: "http://api.example.org/accounts/?page=2"
resultsArray of objects(CourseCreationTaskFile)required
results[].​idintegerread-onlyrequired
results[].​course_creation_taskintegerrequired
results[].​filestring(uri)required
results[].​date_createdstring(date-time)read-onlyrequired
results[].​last_modifiedstring(date-time)read-onlyrequired
Response
application/json
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ {} ] }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations