MagickMind chat as an end user (end-user JWT)
Authorization
EndUserAuth AuthorizationBearer <token>
End-user JWT minted via POST /v1/end-users/tokens, sent as Authorization: Bearer <token>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/end-user/chat/magickmind" \ -H "Content-Type: application/json" \ -d '{ "config": { "compute_power": 0, "fast_model_id": "string", "smart_model_ids": [ "string" ] }, "magickspace_id": "string", "message": "string" }'{ "content": { "content": "string", "message_id": "string", "reply_to": "string" }}{ "error": { "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "request_id": "string", "errors": [ { "field": "string", "message": "string" } ] }}{ "error": { "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "request_id": "string", "errors": [ { "field": "string", "message": "string" } ] }}