Mave
Send message to Mave
Send a message to Mave and get an AI-researched response. Creates a new thread if thread_id is not provided. Mave conducts comprehensive investigations using multiple data sources, personas, and fact-checking.
POST
/
mave
/
chat
curl -X POST https://app.mavera.io/api/v1/mave/chat \
-H "Authorization: Bearer mvra_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"message": "Analyze the competitive landscape for electric vehicles in Europe"
}'{
"id": "<string>",
"object": "mave_message",
"thread_id": "<string>",
"role": "assistant",
"content": "<string>",
"sources": [
{
"title": "<string>",
"url": "<string>",
"domain": "<string>"
}
],
"personas_used": [
{
"id": "<string>",
"name": "<string>"
}
],
"usage": {
"credits_used": 123
},
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}Authorizations
API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.
Body
application/json
Response
Message processed successfully
Response from Mave chat
Message ID
Available options:
mave_message Thread ID
Available options:
assistant AI response content
Research sources used
Show child attributes
Show child attributes
Personas involved in the response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
curl -X POST https://app.mavera.io/api/v1/mave/chat \
-H "Authorization: Bearer mvra_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"message": "Analyze the competitive landscape for electric vehicles in Europe"
}'{
"id": "<string>",
"object": "mave_message",
"thread_id": "<string>",
"role": "assistant",
"content": "<string>",
"sources": [
{
"title": "<string>",
"url": "<string>",
"domain": "<string>"
}
],
"personas_used": [
{
"id": "<string>",
"name": "<string>"
}
],
"usage": {
"credits_used": 123
},
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}