Get a blueprint by key
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
Query Parameters
namespace*string
Value in
- "SYSTEM"
- "USER"
- "ORG"
owner_id?string
blueprint_id*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/blueprints/by-key?namespace=SYSTEM&blueprint_id=string"{ "blueprint_id": "string", "category": "string", "created_at": "string", "created_by": "string", "default_dyadic": { "confidence_threshold": 0, "enabled": true, "initial_weight": 0, "learnable_traits": [ "string" ], "max_relationships": 0, "max_weight": 0 }, "default_growth": { "boundaries": [ { "excluded_values": [ "string" ], "max_value": 0, "min_value": 0, "reason": "string", "trait_ref": "string" } ], "domain_rates": { "behavior": 0, "identity": 0, "narrative": 0 }, "goal_states": [ { "attraction_strength": 0, "description": "string", "id": "string", "trait_targets": { "property1": 0, "property2": 0 } } ], "triggers": [ { "affected_traits": [ "string" ], "condition": "string", "direction": "toward_target", "id": "string", "rate_multiplier": 0 } ], "type": "FIXED" }, "description": "string", "id": "string", "name": "string", "namespace": "SYSTEM", "owner_id": "string", "traits": [ { "default": { "constraint": {}, "lock": "HARD", "trait_ref": "string", "value": {} }, "required": true, "trait_ref": "string" } ], "updated_at": "string", "visibility": "PRIVATE"}{ "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" } ] }}