ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Lists all available reports in the system.
This endpoint returns a list of all reports available to the user, including:
- Report metadata (name, description, icon)
- Available query parameters for each report
- Result columns that will be returned
- Current status of any previously requested reports
If a report has been previously requested by the user, its status will be included in the response. Expired reports are automatically cleaned up.
Returns: A list of report objects with their metadata and status information.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/reports/orgs/{org}/
https://base.manager.iblai.app/api/reports/orgs/{org}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/reports/orgs/{org}/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": [ { … } ] }
Request
Retrieves detailed information about a specific report type.
This endpoint provides:
- Metadata about the report (name, description, icon)
- Available query parameters for the report
- Result columns that will be returned
- Current status of the most recent report of this type requested by the user
Path Parameters: report_name (str): The identifier of the report to retrieve details for
Returns: Detailed information about the report type and its current status if previously requested.
Error Responses: 404 Not Found: If the specified report type doesn't exist
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/reports/orgs/{org}/{report_name}
https://base.manager.iblai.app/api/reports/orgs/{org}/{report_name}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/reports/orgs/{org}/{report_name}' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": { "display_name": "string", "description": "string", "report_name": "string", "icon": "string", "extra_query_params": [ … ], "result_columns": [ … ], "status": {} } }
Request
Creates and manages report generation requests.
This endpoint allows users to:
- Request a new report generation
- Check the status of a previously requested report
- Force regeneration of an existing report
Reports expire after a configured time period (default is typically 24-48 hours).
Request Parameters: report_name (str): The identifier of the report to generate owner (str): The username of the report owner (usually the current user) learner_id (str, optional): Filter by specific learner course_id (str, optional): Filter by specific course start_date (str, optional): Start date for report data (ISO format) end_date (str, optional): End date for report data (ISO format) filters (dict, optional): Additional filters specific to the report type force (bool, optional): Force regeneration even if a valid report exists
Returns: For new reports:
- report_id: The unique identifier for the report task
- state: The current state of the report (PENDING, RUNNING, etc.)
For completed reports:
- report_id: The unique identifier for the report task
- report_name: The name of the report
- url: Download URL for the report
- state: COMPLETED
- expires: Expiration timestamp for the report
For in-progress reports:
- report_id: The unique identifier for the report task
- state: Current state (PENDING, RUNNING)
- started_on: When the report generation started
- owner: Username of the report owner
Error Responses: 400 Bad Request: Invalid parameters or report configuration 404 Not Found: Report type not found 403 Forbidden: User doesn't have permission for the requested report
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/reports/orgs/{org}/new
https://base.manager.iblai.app/api/reports/orgs/{org}/new
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/reports/orgs/{org}/new' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"report_name": "string",
"params": {
"property1": null,
"property2": null
},
"query": "string"
}'
{ "data": { "report_id": "string", "report_name": "string", "state": "pending", "started_on": "string", "owner": "string", "expires": "string", "url": "http://example.com" } }
Request
Returns a list of reports available in the system.
For each report, it includes:
- display_name: Human-readable name of the report
- description: Description of what the report contains
- icon: URL to an icon representing the report
- report_name: Unique identifier for the report
- extra_query_params: Additional parameters that can be passed when creating the report
- result_columns: Columns that will be included in the report results
- status: Current status of the report if it has been previously requested
The status will include details like the report ID, state, and download URL if completed.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/reports/platforms/{key}/
https://base.manager.iblai.app/api/reports/platforms/{key}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/reports/platforms/{key}/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": [ { … } ] }
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/reports/platforms/{key}/{report_name}
https://base.manager.iblai.app/api/reports/platforms/{key}/{report_name}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/reports/platforms/{key}/{report_name}' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": { "display_name": "string", "description": "string", "report_name": "string", "icon": "string", "extra_query_params": [ … ], "result_columns": [ … ], "status": {} } }
Request
Triggers a new report generation.
If the report has been previously requested, it returns the status of the report. Reports expire after a configured duration.
The request body should include:
- report_name: Name of the report to generate
- learner_id: (optional) ID of the learner to filter by
- course_id: (optional) ID of the course to filter by
- force: (optional) Force generation of a new report even if one exists
- filters: (optional) Additional filters for the report
- departments: (optional) Department IDs to filter by
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/reports/platforms/{key}/new
https://base.manager.iblai.app/api/reports/platforms/{key}/new
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/reports/platforms/{key}/new' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"report_name": "string",
"params": {
"property1": null,
"property2": null
},
"query": "string"
}'
{ "data": { "report_id": "string", "report_name": "string", "state": "pending", "started_on": "string", "owner": "string", "expires": "string", "url": "http://example.com" } }