MagickMind

Create a magick space

POST
/v1/magickspaces

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/magickspaces" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "participant_ids": [      "string"    ],    "project_id": "string",    "type": "PRIVATE"  }'
{  "corpus_ids": [    "string"  ],  "created_at": "string",  "created_by": "string",  "description": "string",  "id": "string",  "name": "string",  "participant_ids": [    "string"  ],  "project_id": "string",  "type": "PRIVATE",  "updated_at": "string",  "updated_by": "string"}