Skip to content

Conversation

@MyersDigitalServicesAI
Copy link

This pull request introduces a new FastAPI endpoint that initializes a ChatKit session for the BizScanFix Tier 1 Audit workflow.

Key details:
• Adds /api/chatkit/session route to the backend (FastAPI)
• Uses OpenAI Python SDK to create a new ChatKit session
• Passes the workflow ID for the BizScanFix Tier 1 Audit
• Returns the short-lived client_secret to the frontend for ChatKit initialization
• No persistent storage; session tokens are ephemeral

This enables the frontend ChatKit widget to connect securely to our OpenAI workflow and start live audit sessions directly from the BizScanFix dashboard.

This endpoint creates a new ChatKit session for the BizScanFix Tier 1 Audit and returns the client_secret for frontend initialization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant