Assistants
AI assistant endpoints
Get available assistants
Retrieves all assistants available to the authenticated user
Authorization<token>
API key for authentication. Use 'Bearer ' format.
In: header
Response Body
curl -X GET "https://app.meingpt.com/api/assistants/v1/"
{
"assistants": [
{
"id": "string",
"name": "string"
}
]
}
{
"status": "error",
"message": "string"
}
Run an assistant
Executes an assistant with the provided messages and returns the assistant's response with tool calls and reasoning
Authorization<token>
API key for authentication. Use 'Bearer ' format.
In: header
Path Parameters
assistantIdstring
The assistant ID
messagesarray<ChatMessage>
Response Body
curl -X POST "https://app.meingpt.com/api/assistants/v1/string/run" \ -H "Content-Type: application/json" \ -d '{ "messages": [ { "role": "system", "content": "string" } ] }'
{
"text": "string",
"model": "string",
"messages": [
{}
],
"usage": {
"promptTokens": 0,
"completionTokens": 0
},
"citations": [
"string"
]
}
{
"status": "error",
"message": "string"
}
{
"status": "error",
"message": "string"
}
{
"status": "error",
"message": "string"
}