Default
AI Copilot
Changed onChat with our AI copilot powered by Neyman AI trained on the extensive Finnhub's global data. You can ask it any finance-related questions just like with other LLM models and receive results in texts and widgets.
post/ai-chat
Request
- Base URLhttps://finnhub.io/api/v1
- URLhttps://finnhub.io/api/v1/ai-chat
- AuthAPI key in query parameter token
Request body
Example request
{
"stream": true,
"messages": [
{
"role": "role",
"content": "content"
},
{
"role": "role",
"content": "content"
}
]
}Response
successful operation
Example response
{
"chatId": "chatId",
"relatedQueries": [
"{}",
"{}"
],
"sources": [
"{}",
"{}"
],
"widgets": [
"{}",
"{}"
],
"tickers": [
"{}",
"{}"
],
"content": "content",
"querySummary": "querySummary"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking