ibl-data-manager (3.59.0-ai-plus)
API for iblai
Body
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
prompt_visibility(PromptVisibilityEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null))
One of:
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
string or null(PromptVisibilityEnum)
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
Enum"viewable_by_tenant_admins""viewable_by_tenant_students""viewable_by_anyone"
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/
https://base.manager.iblai.app/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/?category=0&created_by=string&filter_by=string&mentor_unique_id=string&tag=0&visibility=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"mentor": "ecbf8dc6-e97d-4602-939f-cda86082faa0",
"tone": "string",
"style": "string",
"language": "string",
"tags": [
0
],
"is_system": true,
"metadata": null,
"category": "string",
"prompt": "string",
"title": "string",
"description": "string",
"prompt_visibility": "viewable_by_tenant_admins",
"created_by": "string",
"platform": 0
}'
Bodyapplication/json
prompt_visibility(PromptVisibilityEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null))
One of:
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
string or null(PromptVisibilityEnum)
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
Enum"viewable_by_tenant_admins""viewable_by_tenant_students""viewable_by_anyone"
Response
application/json
{ "id": 0, "mentor": "ecbf8dc6-e97d-4602-939f-cda86082faa0", "tone": "string", "style": "string", "language": "string", "tags": [ 0 ], "is_system": true, "metadata": null, "category": "string", "prompt": "string", "title": "string", "description": "string", "prompt_visibility": "viewable_by_tenant_admins", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "created_by": "string", "platform": 0 }
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/
https://base.manager.iblai.app/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{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-prompt/orgs/{org}/users/{user_id}/prompt/{id}/?category=0&created_by=string&filter_by=string&mentor_unique_id=string&tag=0&visibility=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
Request
Retrieve a list of prompt categories.
Query Parameters:
- filter_by (optional): Sorts categories by name if set to "name".
Args: request: The HTTP request. org: Organization key identifier.
Returns:
- 200: List of prompt categories.
- 400: If query parameters are invalid.
Security
PlatformApiKeyAuthentication
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/
https://base.manager.iblai.app/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/
- 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-prompt/orgs/{org}/users/{user_id}/prompts/category/?filter_by=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
Response
application/json
[ { "id": 1, "name": "Education", "description": "Education-related prompts" } ]