Ask the AI assistant
POST/api/v1/ai/chat-completions
Sends a question to the AI assistant and returns its answer. The assistant uses the signed-in user's AI settings and can look up their timeline data, and data of friends who share it, to answer. The AI assistant must be enabled.
Access: Any signed-in user, with a session or an API token.
Request
Responses
- 200
- 400
- 401
- 403
OK
Bad Request
Authentication is required or the provided credentials are invalid.
The authenticated user does not have permission to access this resource.