Files
Setup
1
Import the Collection
- Open Postman
- Click Import
- Select
comind-Private-AI-Platform-API.postman_collection.json - Click Import
2
Import the Environment
- Click Import again
- Select
comind-Private-AI-Platform.postman_environment.json - Click Import
3
Configure Environment Variables
- Select “comind Private AI Platform - Local” environment (top-right dropdown)
- Click the eye icon to view/edit variables
- Update these values:
4
Authenticate
Choose one of these options:
- Option A: Create a PAT (Recommended)
- Option B: Set PAT Directly
- Run “Login” request in the “1. Authentication” folder
- Run “Create API Token” in the “2. API Tokens (PAT)” folder
- The PAT is automatically saved to
pat_token— all requests will use it
The collection uses
pat_token as the default auth for all requests. Auth endpoints and PAT management endpoints override this to use JWT or no auth as appropriate.Example Workflows
PAT Token Setup
RAG Chat Workflow
1
Check Available Models
Run
GET /v1/models to see what’s available.2
Create Knowledge Base
Run
POST /v1/knowledgebases — the KB ID is saved automatically.3
Upload Documents
Run
POST /v1/knowledgebases/{kb_id}/files — upload PDF, DOCX, TXT, CSV files.4
Query Knowledge Base
Run
POST /v1/knowledgebases/query — test with “What are the main topics?”5
Chat with Knowledge Base
Run
POST /v1/knowledgebase/chat/completions — ask questions about your documents.Stateful Chat Session
Environment Variables
API Endpoint Categories
The collection is organized into these folders:Supported File Types
Documents: PDF, Word (.docx, .doc), Text (.txt) Spreadsheets: Excel (.xlsx, .xls), CSV (.csv) Presentations: PowerPoint (.pptx) Images: JPG, PNG, GIF, BMPTroubleshooting
'Knowledge base not found'
'Knowledge base not found'
- Run “Create Knowledge Base” first
- Check
kb_idis set in the environment variables
File upload fails
File upload fails
- Check file format is supported (see list above)
- Verify
kb_idis correct
No results from query
No results from query
- Wait for file processing to complete (status:
"completed") - Lower
min_score(try0.1) - Try different query terms

