Assistants
KI-Assistenten-Endpunkte
GET
/assistants/v1/Authorization
ApiKeyAuth Authorization<token>
API-Schlüssel zur Authentifizierung. Verwenden Sie das Format 'Bearer <Ihr-API-Schlüssel>'.
In: header
Response Body
application/json
application/json
curl -X GET "https://app.meingpt.com/api/assistants/v1/"{
"assistants": [
{
"id": "string",
"name": "string"
}
]
}{
"status": "error",
"message": "string"
}POST
/assistants/v1/{assistantId}/runAuthorization
ApiKeyAuth Authorization<token>
API-Schlüssel zur Authentifizierung. Verwenden Sie das Format 'Bearer <Ihr-API-Schlüssel>'.
In: header
Path Parameters
assistantId*string
Die Assistenten-ID
Request Body
application/json
messages*array<>
Items
1 <= itemsResponse Body
application/json
application/json
application/json
application/json
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"
}AssistantId finden
- Gehe in den Bearbeitungsmodus deines Assistenten
- In der URL findest du hinter
/assistants/die AssistantId
