تجاوز إلى المحتوى الرئيسي
On this page

For assistants

Use this page when building AI-driven integrations or internal copilots for Mirqam.

Best source order

  1. /openapi.json
  2. /docs.json
  3. Human docs pages under /docs

Policy

  • search: yes
  • ai-input: yes
  • ai-train: no

Stable contracts

Auth

  • Machine/API workflows: Authorization: Bearer ak_... (Clerk API key)
  • Dashboard session workflows: Authorization: Bearer <Clerk JWT>

Error envelope

All API errors follow this stable shape:

json
{
  "error": {
    "code": "...",
    "message": "...",
    "details": []
  },
  "request_id": "..."
}

Key docs

For assistants | Mirqam Docs