ibl-data-manager (3.59.0-ai-plus)
API for iblai
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." }