ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Endpoint to view and delete AI generated images for a user.
AI Generated images are images generated during chat with AI. They are cached to allow retrieval and deletion.
optional filtering parameters allowed are
- username: The username of the user for which this image was stored.
- provider: The provider used to generate the image. eg. openai, nvidia (nim), replicate.
- model: the text to image model on the provider used to generate the image.
This endpoint is accessible to both students and platform admins.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/ai-generated-images/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/ai-generated-images/
- 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}/ai-generated-images/?model=string&ordering=string&page=0&page_size=0&provider=string&search=string&username=string' \
-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": [ { … } ] }
Request
Endpoint to view and delete AI generated images for a user.
AI Generated images are images generated during chat with AI. They are cached to allow retrieval and deletion.
optional filtering parameters allowed are
- username: The username of the user for which this image was stored.
- provider: The provider used to generate the image. eg. openai, nvidia (nim), replicate.
- model: the text to image model on the provider used to generate the image.
This endpoint is accessible to both students and platform admins.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/ai-generated-images/{id}/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/ai-generated-images/{id}/
- 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}/ai-generated-images/{id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "id": 0, "user": 2147483647, "image": "http://example.com", "platform": 0, "prompt": "string", "model": "string", "provider": "string", "date_created": "2019-08-24T14:15:22Z" }
Request
Endpoint to view and delete AI generated images for a user.
AI Generated images are images generated during chat with AI. They are cached to allow retrieval and deletion.
optional filtering parameters allowed are
- username: The username of the user for which this image was stored.
- provider: The provider used to generate the image. eg. openai, nvidia (nim), replicate.
- model: the text to image model on the provider used to generate the image.
This endpoint is accessible to both students and platform admins.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/ai-generated-images/{id}/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/ai-generated-images/{id}/
- 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}/ai-generated-images/{id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'