System Integrations

API Documentation

Technical blueprints for the Mindsentry AI ecosystem. Build, scale, and automate your agents with precision.

API Control Panel

Introduction

The Mindsentry API is organized around REST. It has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.

API Environment

Production: https://api.mindsentry.io/api

Access Control

Access is granted via Bearer tokens. All endpoints require HTTPS encryption.

Authentication

Include your API key in the Authorization header of every request.

Authorization: Bearer ms_live_xxxxxxxx

Warning: Never commit API keys to version control.

POST/api/chat/send

Chat & Logic

Send a message to the AI orchestrator. This endpoint performs RAG by retrieving context from your documents and generating a grounded response.

Parameters

FieldTypeReq
message
The text query or prompt.
stringYES
sessionId
UUID to maintain conversation state.
stringNO
topK
Number of chunks to retrieve (1-10).
numberNO

Example Requset

curl -X POST "https://api.mindsentry.io/api/chat/send" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Summarize the support policy",
    "topK": 5
  }'
POST/api/training-data/youtube/import

YouTube Ingestion

Trigger an asynchronous ingest of a YouTube video or playlist. Transcripts are automatically fetched and indexed.

Parameters

FieldTypeReq
url
Valid YouTube URL.
stringYES
importType
"video", "playlist", or "channel".
stringYES

Example Requset

curl -X POST "https://api.mindsentry.io/api/training-data/youtube/import" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "url": "https://www.youtube.com/watch?v=ABC123",
    "importType": "video"
  }'
GET/api/tenant/users

Manage Agents

List all agents and users associated with your tenant account. Retrieve roles, usage statistics, and login status.

Parameters

FieldTypeReq
role
Filter by: Admin, User, Support.
stringNO

Example Requset

curl -X GET "https://api.mindsentry.io/api/tenant/users" \
  -H "Authorization: Bearer YOUR_API_KEY"

Error Codes

200
OK

Request succeeded.

400
Bad Request

Invalid parameters.

401
Unauthorized

Invalid API Key.

403
Forbidden

Limit exceeded.

404
Not Found

Resource missing.

500
Server Error

System failure.

Need developer support?

Contact our integration team for dedicated assistance.

Official Mindsentry Documentation

mindsentry.ioRef: API-REF-PROD© 2026 Mindsentry AI