APIs for Uniphore Business AI platform spanning data, knowledge, models, and agents.
API Reference
/- questions
Gets a workflow with id
Updates provided workflow
Deletes a workflow with id
Gets source connector for a tenantId by id.
Updates the source connector for the given id.
Updates knowledgebase name and description
Gets destination connector for a tenantId by id.
Updates the destination connector for the given id.
Lists workflows with filters
Creates a workflow
Executes provided workflow
Validate a workflow
Creates an experiment workflow for a document type
Lists all the sources for a tenantId.
Create a new source connector.
SLM pairing with given knowledgebase id.
Ask a Question
Generate chart
Lists all the destinations for a tenantId.
Create a new destination connector.
Create configuration
Gets a template schema for the workflows
Test Source connector
Get list of SLM
Gets SLM by id.
Get knowledgebases
Gets knowledgebase by id.
Lists jobs with filters
Get job with id
Get failure details for files in a job
Get job processing details
Cancels job with id
Subscribe to job status events
Subscribe to job processing details events
Get embedder models
Gets embedder model by id.
Test destination connector
Get configurations
Cleanup for a template workflow with id
Delete source connector by ID
Delete knowledgebase by ID
Delete destination connector by ID
questions
Uniphore Business AI Cloud (1.0.0)
Metadata
Key | Value |
---|---|
owner | Uniphore Technologies Pvt Ltd |
team | Business AI |
department | Engineering |
status | Beta |
- Demo Instance for Uniphore Business AI Cloud
https://forge-api-gateway-x-forge.dev.uniphorecloud.com/platform-config/v1/slm_to_knowledgebase/{knowledge_base_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://forge-api-gateway-x-forge.dev.uniphorecloud.com/platform-config/v1/slm_to_knowledgebase/{knowledge_base_id}' \
-H 'Content-Type: application/json' \
-d '{
"slmMasterId": "c72ab301-4658-4252-9f5f-aeb742bd38d9",
"slmName": "MySlm",
"slmDescription": "My Updated description",
"roles": [
"CEO"
],
"slmConfig": null
}'
Response
application/json
{ "property1": null, "property2": null }
- Demo Instance for Uniphore Business AI Cloud
https://forge-api-gateway-x-forge.dev.uniphorecloud.com/platform-config/v1/questions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://forge-api-gateway-x-forge.dev.uniphorecloud.com/platform-config/v1/questions?offset=0&limit=10'
Response
application/json
{ "property1": null, "property2": null }
Bodyapplication/jsonrequired
KnowledgeBase Identifier
Example: "c72ab301-4658-4252-9f5f-aeb742bd38d9"
- Demo Instance for Uniphore Business AI Cloud
https://forge-api-gateway-x-forge.dev.uniphorecloud.com/platform-config/v1/questions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://forge-api-gateway-x-forge.dev.uniphorecloud.com/platform-config/v1/questions \
-H 'Content-Type: application/json' \
-d '{
"tenantId": "tenant-123",
"userId": "user-456",
"question": "How do I reset my password?",
"knowledgeBaseId": "c72ab301-4658-4252-9f5f-aeb742bd38d9",
"ragPrompt": "you are intelliget system prompt...."
}'
OK
Generated answer from the RAG system
Example: "To reset your password, go to Settings > Security > Reset Password."
chart data
Example: "iVBORw0KGgoAAAANSUhEUgAAC7gAAAcICAYAAACsf4x4AAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjMsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvZiW"
List of document chunks that formed the context for the answer
List of follow-up questions that can be asked post QnA
Example: ["What is the next step?","Can you elaborate on that?"]
Response
application/json
{ "questionId": "4d649cd3-54b8-4295-8dd7-23da0f913de4", "answer": "To reset your password, go to Settings > Security > Reset Password.", "chartable": true, "chart": "iVBORw0KGgoAAAANSUhEUgAAC7gAAAcICAYAAACsf4x4AAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjMsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvZiW", "context": [ { … } ], "followUpQuestions": [ "What is the next step?", "Can you elaborate on that?" ], "tag_result": { "sql_query": "SELECT * FROM \"xf_destination_param\";", "description": null, "follow_up_questions": [ … ], "is_valid_sql": "True", "reasoning": "SQL is syntactically correct.", "query_execution_result": [ … ], "final_answer": null } }