MagickMind

MagickMind chat

POST
/v1/chat/magickmind

Authorization

BearerAuth
AuthorizationBearer <token>

MagickMind API key (mm_...) or user JWT, sent as Authorization: Bearer <token>. /v1/chat/completions accepts an API key only. JWTs (not mm_ keys) may alternatively be passed as a ?token= query parameter.

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/chat/magickmind" \  -H "Content-Type: application/json" \  -d '{    "api_key": "string",    "config": {      "compute_power": 0,      "fast_model_id": "string",      "smart_model_ids": [        "string"      ]    },    "enduser_id": "string",    "magickspace_id": "string",    "message": "string"  }'
{  "content": {    "content": "string",    "message_id": "string",    "reply_to": "string"  }}