Files
xSaherelmWorkspace/Documents/Resources/Json/Requests.md
T
2026-11-02 17:55:32 +03:30

3.9 KiB

Models for Use

Authentication

Request:

{
    "password": "s@H@1694056",
    "userSelectBy": "admin"
}

Response:

{
  "accessToken": "A6590CF564437A98E8F74C72E8F2EBDD8ECCFFB345D23AAC47784350E61A0140",
  "refreshToken": "C2A8FEBCCFF737397F83F2A76CF8511EF323C7F1F4733AB882B66D51AEDFB733",
  "expiresAt": 1793628969
}

ApiKeys:

IDS RPK

xapp_WUQW1XIVNPTLXkqH9kOLKsIueXpqA_Qx9ZWJqiC2mA4

IDS MacSlim 1

xapp_xIEUusVi0dmHCLeUvUrCGh-f6EtvEbCa8dYL4nGegus

IDS MacSlim 2

xapp_sH0MbXEkCNEP9CQ_RLEkD-Fh7QhGUnzwyGcJfSmy_VY

Chat With Documents

Ingest

Response:

{
  "sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d",
  "filesCount": 9,
  "chunksCount": 208,
  "totalVectorsCount": 208,
  "skippedFiles": [],
  "expiresAtUtc": "2026-11-02T13:48:15.7779591Z"
}

Ask from Documents

Request:

{
  "sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d",
  "prompt": "give me an overview of an ai system architecture",
  "topK": 5,
  "minScore": 0.35
}

{ "prompt": "who are you ?", "projectId": "", "conversationId": "" }

{ "prompt": "what is MCP ?", "projectId": "", "conversationId": "" }

Knowledge

Retrieve Documents

Response:

[
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "1-ParsaPolimer-RFP-Analythic.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 18,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "2-ParsaPolimer-BigArchitecture.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 21,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "3-ParsaPolimer-BPMN2.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 9,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "4-ParsaPolimer-Roadmap.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 28,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "5-RoadmapSH.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 24,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "6-ParsaPolimer-TechnicalRoadmap.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 28,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "AI Proposal 1.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 26,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "AI Proposal 2.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 28,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "AI Proposal 3.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 26,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  },
  {
    "scope": 2,
    "scopeId": null,
    "type": "XAiKnowledge",
    "fileName": "AirLLM-Document.html",
    "mimeType": "text/html",
    "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
    "chunksCount": 8,
    "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
  }
]