Chat with AI about a policy
Policies
Chat with AI about a policy
Stream AI responses for policy editing assistance. Returns a text/event-stream with AI-generated suggestions.
POST
Chat with AI about a policy
Documentation Index
Fetch the complete documentation index at: https://bubbaaiinc-lewis-comp-company-tasks.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication
Headers
Organization ID (required for session auth, optional for API key auth)
Path Parameters
Policy ID
Example:
"pol_abc123def456"
Body
application/json
User instructions about what changes to make to the policy
Example:
"Update the data retention section to specify a 7-year retention period"
Chat history for context (array of messages with role and content)
Example:
[
{
"role": "user",
"content": "Update the data retention policy"
},
{
"role": "assistant",
"content": "I can help with that..."
}
]Response
Streaming AI response
The response is of type string.

