ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Retrieve detailed information about a specific scraped resource.
This endpoint returns the complete scraped data for a specific resource identified by its ID.
Args: request: The HTTP request. org: Organization key identifier. user_id: The username of the user associated with the resource. resource_id: The ID of the resource to retrieve.
Returns: Response: The complete scraped data for the specified resource.
Raises: NotFound: If the specified resource data does not exist.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-index/orgs/{org}/users/{user_id}/resource/{resource_id}/data/scrapped/
https://base.manager.iblai.app/api/ai-index/orgs/{org}/users/{user_id}/resource/{resource_id}/data/scrapped/
- 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-index/orgs/{org}/users/{user_id}/resource/{resource_id}/data/scrapped/' \
-H 'Authorization: YOUR_API_KEY_HERE'
scrapped
- Scrapedfailed
- Failedpending
- Pendingunscrapped
- Unscraped
scrapped
- Scrapedfailed
- Failedpending
- Pendingunscrapped
- Unscraped
{ "id": 1, "resource": { "id": 101, "name": "Introduction to Machine Learning", "data": { … } }, "content_type": "content", "content": "Machine learning is a field of study that gives computers the ability to learn without being explicitly programmed...", "extra_data": { "title": "Introduction to Machine Learning", "description": "A comprehensive guide to machine learning concepts and applications", "author": "John Smith", "published_date": "2023-01-15" }, "date_created": "2023-06-15T10:30:00Z" }
Request
Retrieve and filter scraped data from resources.
This endpoint returns a list of scraped data from resources associated with the specified user, with optional filtering based on query parameters.
Args: request: The HTTP request containing filter query parameters. org: Organization key identifier. user_id: The username of the user whose resources to retrieve.
Returns: Response: A list of scraped resource data matching the filter criteria.
Raises: BadRequest: If the username is invalid or query parameters are incorrect.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-index/orgs/{org}/users/{user_id}/resource/data/scrapped/
https://base.manager.iblai.app/api/ai-index/orgs/{org}/users/{user_id}/resource/data/scrapped/
- 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-index/orgs/{org}/users/{user_id}/resource/data/scrapped/?is_archive=true&is_like=true&is_video=true&search_key=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
scrapped
- Scrapedfailed
- Failedpending
- Pendingunscrapped
- Unscraped
scrapped
- Scrapedfailed
- Failedpending
- Pendingunscrapped
- Unscraped
[ [ { … } ] ]
Request
Receive and process file scan status from external security scanning services.
This webhook endpoint receives scan results for files that have been submitted for security scanning. It processes the results asynchronously and determines if the files are safe for further processing.
Args: request: The HTTP request containing scan result data.
Returns: Response: A confirmation that the scan result was received and is being processed.
Raises: BadRequest: If the provided scan result data is invalid.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-index/webhook/scan/
https://base.manager.iblai.app/api/ai-index/webhook/scan/
- 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-index/webhook/scan/ \
-H 'Content-Type: application/json' \
-d '{
"file_id": "f12345",
"filename": "document.pdf",
"status": "clean",
"message": "No threats detected"
}'
{ "message": "Scan result received. Processing in background." }