Projects
Get current project
Return the current project identified by the provided publishable API key. Useful for initializing client SDKs with project configuration like chat widget settings.
curl -X GET "https://api.siteassist.io/v2/projects/current?apiKey=sa_pk_1234567890abcdef"
{
"id": "e2c6b2ad-9b1f-4f3c-8f5a-9f2a7b1c2d3e",
"name": "Acme Inc",
"status": "active",
"chatWidgetConfig": {
"position": "right",
"theme": "light",
"welcomeMessage": "Hi! How can we help?"
}
}
Empty
Empty
Empty
Empty
Empty
Send a message in a conversation POST
Send a message to an AI assistant in a conversation. Supports both streaming and non-streaming responses. Rate limiting and usage quotas are enforced per project.
Get a Q&A GET
Retrieve a single Q&A entry by ID within the specified project. Returns author info when available.