✦ Vetanwala / AI Assistant API host running
YOUR APPLICATION’S INTELLIGENCE LAYER

A conversation.
A connected workspace.

The ASP.NET Core home for employee assistance, voice questions and authorized workplace reports.

Host availability does not confirm database access or OpenAI quota.
✦POST

Chat & voice

Ask about attendance, leave and payroll. Find an employee and open their profile in the application.

/api/ai/chat
▤POST

Employee summaries

Retrieve employee information within the authenticated company and the caller’s granted permissions.

/api/ai/employee-summary
▦POST

Leave workflow

Prepare and validate leave requests. Submission requires the authoritative leave-service adapter.

/api/ai/leave
ONE API · TWO INPUT MODES

Built for your application.

The browser sends text or recorded audio directly to this API. PHP supplies only the authenticated session token.

  1. AuthenticateUse a short-lived bearer token issued by the application. Never expose signing keys or OpenAI keys.
  2. Send a questionPOST multipart form data: requestId, inputType, and text or audio. Include conversationId for follow-ups.
  3. Display the resultRender the response and handle allowlisted actions, such as opening an authorized employee profile.