Assistants
AI assistant endpoints
get
https://app.meingpt.com/api/assistants/v1/Get available assistants
Retrieves all assistants available to the authenticated user
🔒 ApiKeyAuth
Parameter
| Parameter | In | Typ | Beschreibung |
|---|---|---|---|
| Authorization* | header | string | API key for authentication. Use 'Bearer <your-api-key>' format. |
Responses
200Successfully retrieved assistants
| Feld | Typ | Beschreibung |
|---|---|---|
| assistants | Array<object> |
500Internal server error
| Feld | Typ | Beschreibung |
|---|---|---|
| status | string | |
| message | string |
post
https://app.meingpt.com/api/assistants/v1/{assistantId}/runRun an assistant
Executes an assistant with the provided messages and returns the assistant's response with tool calls and reasoning. Alternatively, you can use `multipart/form-data` to include files. In that case, send `messages` as a JSON string and upload files via `files`.
🔒 ApiKeyAuth
Parameter
| Parameter | In | Typ | Beschreibung |
|---|---|---|---|
| Authorization* | header | string | API key for authentication. Use 'Bearer <your-api-key>' format. |
| assistantId* | path | string | The assistant ID |
Request Body · application/json
| Feld | Typ | Beschreibung |
|---|---|---|
| messages* | Array<ChatMessage> |
Responses
200Assistant executed successfully
| Feld | Typ | Beschreibung |
|---|---|---|
| text | string | The assistant's response text |
| model | string | The model used for generation |
| messages | Array<object> | The assistant's response messages including tool calls and reasoning |
| usage | object | |
| citations | Array<string> | Citations from tool usage |
400Bad request - invalid input or missing assistant ID
| Feld | Typ | Beschreibung |
|---|---|---|
| status | string | |
| message | string |
403Forbidden - assistant not available
| Feld | Typ | Beschreibung |
|---|---|---|
| status | string | |
| message | string |
500Internal server error
| Feld | Typ | Beschreibung |
|---|---|---|
| status | string | |
| message | string |
Was this page helpful?