List traits
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
cursor?string
limit?integer
order?string
Value in
- "ASC"
- "DESC"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/traits"{ "data": [ { "categorical_config": { "default": "string", "options": [ "string" ] }, "category": "string", "created_at": "string", "default_learning_rate": 0, "default_lock": "HARD", "description": "string", "display_name": "string", "id": "string", "multilabel_config": { "default": [ "string" ], "max_selections": 0, "options": [ "string" ] }, "name": "string", "namespace": "SYSTEM", "numeric_config": { "default": 0, "max": 0, "min": 0 }, "owner_id": "string", "supports_dyadic": true, "type": "NUMERIC", "updated_at": "string", "visibility": "PRIVATE" } ], "paging": { "cursors": { "after": "string", "before": "string" }, "has_more": true, "has_previous": true }}{ "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" } ] }}