Enter REST API key. To generate a key, go to Settings → Knowledge base portal → API tokens
Success
This is sample response for this endpoint.
{
"prompt": "How to configure single sign-on in Document360?",
"result": "To configure Single Sign On in Document360, follow these steps:
- Access the Azure AD portal and log in to your Microsoft Azure account.
- Add your application by logging in to your Azure account, visiting the Azure portal page, and selecting the New application option.
- Navigate to Document360 portal, select Settings → Users Security → SAML/OpenID → SAML, and set up your application by copying the parameters from Document360 to the Azure AD portal.
- Configure SAML based SSO settings by copying and pasting values between Document360 and Azure AD portal.
- Test the configuration by logging into Document360 using the credentials added to the registered application.
\",\r\n",
"reference_articles": [
{
"id": null,
"citation_id": null,
"category_id": "807cafd4-5d9b-4be6-becd-906f1509b0db",
"category_title": "SAML",
"category_slug": "saml",
"version_name": "Document360 2.0",
"version_slug": "help",
"article_id": "fb0444b1-6ff6-41dc-b68b-93e86c0470cc",
"article_title": "SAML SSO with Azure AD",
"article_slug": "saml-sso-with-azure-ad",
"version_display_name": null,
"language_code": null,
"data_source_type": 0,
"external_source_link": null,
"external_source_name": null,
"external_source_id": null
},
{
"id": null,
"citation_id": null,
"category_id": "807cafd4-5d9b-4be6-becd-906f1509b0db",
"category_title": "SAML",
"category_slug": "saml",
"version_name": "Document360 2.0",
"version_slug": "help",
"article_id": "4a88b443-fbdb-4dc7-882a-e802bb9de6e9",
"article_title": "Identity Provider (IdP) initiated login",
"article_slug": "idp-initiated-login",
"version_display_name": null,
"language_code": null,
"data_source_type": 0,
"external_source_link": null,
"external_source_name": null,
"external_source_id": null
},
{
"id": null,
"citation_id": null,
"category_id": null,
"category_title": null,
"category_slug": null,
"version_name": null,
"version_slug": null,
"article_id": null,
"article_title": null,
"article_slug": null,
"version_display_name": null,
"language_code": null,
"data_source_type": 1,
"external_source_link": "https://example.com/",
"external_source_name": "Example source",
"external_source_id": null
}
],
"limit_exceeded": false,
"analytics_id": "8ac6020b-d329-4968-b562-5497c88e65a6",
"remaining_credits": 10,
"extension_data": null,
"context": null,
"success": true,
"errors": [],
"warnings": [],
"information": [],
"feature_explorer_status": null,
"custom_page_element": null
}
Thids is the Extention data object
Stack trace for error response message
Description for error cause
Error code for Api response
Extention Data for customer Api warning
Warning description
warning code for customer Api base response
Extention data for customer Api response information
status description for customer Api response information
Bad Request
Kindly ensure the prompt is not empty and perform the task again.
{
"extension_data": null,
"success": false,
"errors": [
{
"extension_data": null,
"stack_trace": null,
"description": "Prompt should not be empty",
"error_code": null,
"custom_data": null
}
],
"warnings": [],
"information": []
}
Kindly ensure the project version ID is not empty and perform the task again.
{
"extension_data": null,
"success": false,
"errors": [
{
"extension_data": null,
"stack_trace": null,
"description": "Project version ID should not be empty",
"error_code": null,
"custom_data": null
}
],
"warnings": [],
"information": []
}
Kindly ensure the language code is not empty and perform the task again.
{
"extension_data": null,
"success": false,
"errors": [
{
"extension_data": null,
"stack_trace": null,
"description": "Language Code should not be empty",
"error_code": null,
"custom_data": null
}
],
"warnings": [],
"information": []
}
Kindly ensure the public API is enabled and perform the task again.
{
"extension_data": null,
"success": false,
"errors": [
{
"extension_data": null,
"stack_trace": null,
"description": "API access is disabled. Please contact your project administrator.",
"error_code": null,
"custom_data": null
}
],
"warnings": [],
"information": []
}
Extention data for customer API response
Status indication for customer API response
Errors in the customer API response
Thids is the Extention data object
Stack trace for error response message
Description for error cause
Error code for Api response
Warnings in the customer API response
Extention Data for customer Api warning
Warning description
warning code for customer Api base response
Information passed by the customer API response
Extention data for customer Api response information
status description for customer Api response information