{
  "name": "Imtihan Public Assistant",
  "version": "1.0",
  "protocol": "imtihan-public-assistant-v1",
  "endpoint": "https://imtihan.live/api/assistant",
  "method": "POST",
  "content_type": "application/json",
  "request_schema": {
    "type": "object",
    "required": ["message"],
    "properties": {
      "message": { "type": "string", "maxLength": 1200 },
      "history": { "type": "array", "maxItems": 8, "items": { "type": "object", "required": ["role", "content"], "properties": { "role": { "enum": ["user", "assistant"] }, "content": { "type": "string", "maxLength": 1200 } } } }
    }
  },
  "response_schema": { "type": "object", "properties": { "answer": { "type": "string" }, "error": { "type": "string" } } },
  "scope": "Curated public product and business information plus standalone exam drafts in the chat. No account lookup, saved exam creation, private data access, file exports, or account actions.",
  "privacy": "Requests are processed by Imtihan's server and OpenAI API. Chat history is request-scoped and is not stored by the application as a conversation. Do not send sensitive or student information.",
  "rate_limit": "20 requests per source IP per UTC day",
  "protocol_notice": "Custom Imtihan REST API; this is not an A2A or MCP endpoint."
}
