Skip to content

ibl-data-manager (3.59.0-ai-plus)

API for iblai

Download OpenAPI description
Languages
Servers
Mock server

https://docs.ibl.ai/_mock/apis/ibl/

https://base.manager.iblai.app/

ai-account

Operations

ai-analytics

Operations

ai-bot

Operations

ai-finetuning

Operations

ai-index

Operations

ai-marketing

Operations

ai-media

Operations

ai-mentor

Operations

ai_mentor_orgs_users_safety_logs_list

Request

Endpoint to view and delete Safety System Logs for a tenant.

These can be filtered by username, platform_key and mentor id

A search query can be conducted to search through the prompts and reason for the moderation catch event.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
Query
mentorinteger
orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

platform_keystring
searchstring

A search term.

target_systemstring
  • Safety System - Safety System
  • Moderation System - Moderation System
Enum"Moderation System""Safety System"
usernamestring
curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/safety-logs/?mentor=0&ordering=string&page=0&page_size=0&platform_key=string&search=string&target_system=Moderation+System&username=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
countintegerrequired
Example: 123
nextstring or null(uri)
Example: "http://api.example.org/accounts/?page=4"
previousstring or null(uri)
Example: "http://api.example.org/accounts/?page=2"
resultsArray of objects(ModerationLog)required
results[].​idintegerread-onlyrequired
results[].​usernamestring<= 200 characters
results[].​platform_keystring<= 200 charactersrequired
results[].​mentorintegerrequired
results[].​promptstringrequired
results[].​reasonstringrequired
results[].​target_systemstring(TargetSystemEnum)
  • Safety System - Safety System
  • Moderation System - Moderation System
Enum"Safety System""Moderation System"
results[].​date_createdstring(date-time)read-onlyrequired
Response
application/json
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ {} ] }

ai_mentor_orgs_users_safety_logs_retrieve

Request

Endpoint to view and delete Safety System Logs for a tenant.

These can be filtered by username, platform_key and mentor id

A search query can be conducted to search through the prompts and reason for the moderation catch event.

Security
PlatformApiKeyAuthentication
Path
idintegerrequired

A unique integer value identifying this moderation log.

orgstringrequired
user_idstringrequired
curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/safety-logs/{id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
idintegerread-onlyrequired
usernamestring<= 200 characters
platform_keystring<= 200 charactersrequired
mentorintegerrequired
promptstringrequired
reasonstringrequired
target_systemstring(TargetSystemEnum)
  • Safety System - Safety System
  • Moderation System - Moderation System
Enum"Safety System""Moderation System"
date_createdstring(date-time)read-onlyrequired
Response
application/json
{ "id": 0, "username": "string", "platform_key": "string", "mentor": 0, "prompt": "string", "reason": "string", "target_system": "Safety System", "date_created": "2019-08-24T14:15:22Z" }

ai_mentor_orgs_users_safety_logs_destroy

Request

Endpoint to view and delete Safety System Logs for a tenant.

These can be filtered by username, platform_key and mentor id

A search query can be conducted to search through the prompts and reason for the moderation catch event.

Security
PlatformApiKeyAuthentication
Path
idintegerrequired

A unique integer value identifying this moderation log.

orgstringrequired
user_idstringrequired
curl -i -X DELETE \
  'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/safety-logs/{id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

No response body

ai-prompt

Operations

career

Operations

catalog

Operations

core

Operations

credentials

Operations

features

Operations

media

Operations

notifications

Operations

scim

Operations

commerce

Operations

recommendations

Operations

reports

Operations

skills

Operations