LUCELAATELIER🔔
홈오픈예정·예약루첼라 큐레이션아틀리에 메종디지털 콘텐츠스토어

마음 척도 채점

전체 주소POST https://apis.lucela.kr/v1/mind/scores경로POST /v1/mind/scores
openapi.json
{
  "/v1/mind/scores": {
    "post": {
      "tags": [
        "숨표AI"
      ],
      "summary": "마음 척도 채점",
      "description": "선택지 번호 → 결과 구간 키 · 문구",
      "operationId": "post_v1_mind_scores",
      "x-lucela-mcp-tool": "soompyo_score_mind_scale",
      "security": [
        {
          "ApiKey": []
        }
      ],
      "x-implementation-status": "AVAILABLE",
      "x-lucela-billing-unit": "성공 계산 1",
      "x-lucela-unit-weight": 1,
      "x-lucela-response-fields": "data(scale_id · scale_version · result_key · result(name · tag · desc · care(있을 때) · apply(있을 때 · body · work · people))) · meta(request_id · environment · synthetic · schema_version · warnings · engine_version · tradition · reference_only · notice · not_for · addressee · tone · client_reference(보냈을 때) · fixture_id(시험 키일 때))",
      "responses": {
        "200": {
          "description": "성공 — 봉투 한 모양",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Envelope"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "data": {
                        "type": "object",
                        "properties": {
                          "scale_id": {},
                          "scale_version": {},
                          "result_key": {},
                          "result": {
                            "type": "object",
                            "properties": {
                              "name": {},
                              "tag": {},
                              "desc": {},
                              "care": {},
                              "apply": {
                                "type": "object",
                                "properties": {
                                  "body": {},
                                  "work": {},
                                  "people": {}
                                },
                                "required": [
                                  "body",
                                  "work",
                                  "people"
                                ]
                              }
                            },
                            "required": [
                              "name",
                              "tag",
                              "desc"
                            ]
                          }
                        },
                        "required": [
                          "scale_id",
                          "scale_version",
                          "result_key",
                          "result"
                        ]
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "request_id": {},
                          "environment": {},
                          "synthetic": {},
                          "schema_version": {},
                          "warnings": {},
                          "engine_version": {},
                          "tradition": {},
                          "reference_only": {},
                          "notice": {},
                          "not_for": {},
                          "addressee": {},
                          "tone": {},
                          "client_reference": {},
                          "fixture_id": {}
                        },
                        "required": [
                          "request_id",
                          "environment",
                          "synthetic",
                          "schema_version",
                          "warnings",
                          "engine_version",
                          "tradition",
                          "reference_only",
                          "notice",
                          "not_for",
                          "addressee",
                          "tone"
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "400": {
          "$ref": "#/components/responses/E400"
        },
        "401": {
          "$ref": "#/components/responses/E401"
        },
        "403": {
          "$ref": "#/components/responses/E403"
        },
        "409": {
          "$ref": "#/components/responses/E409"
        },
        "413": {
          "$ref": "#/components/responses/E413"
        },
        "422": {
          "$ref": "#/components/responses/E422"
        },
        "429": {
          "$ref": "#/components/responses/E429"
        },
        "502": {
          "$ref": "#/components/responses/E502"
        },
        "503": {
          "$ref": "#/components/responses/E503"
        }
      },
      "parameters": [
        {
          "name": "Idempotency-Key",
          "in": "header",
          "required": true,
          "schema": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{16,128}$"
          }
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "scale_id": {},
                "scale_version": {},
                "answers": {
                  "description": "선택지 번호 배열"
                },
                "purpose": {
                  "description": "self_reflection · content · entertainment"
                },
                "consent": {
                  "type": "object",
                  "properties": {
                    "attested": {
                      "description": "true"
                    },
                    "basis": {
                      "description": "consent · contract"
                    },
                    "subject_age": {
                      "description": "14_or_over"
                    },
                    "notice_lists_processor": {
                      "description": "true"
                    }
                  },
                  "required": [
                    "attested",
                    "basis",
                    "subject_age",
                    "notice_lists_processor"
                  ],
                  "additionalProperties": false
                },
                "options": {
                  "type": "object",
                  "properties": {
                    "addressee": {
                      "description": "none 기본 · customer · name",
                      "enum": [
                        "none",
                        "customer",
                        "name"
                      ],
                      "default": "none"
                    },
                    "addressee_name": {
                      "description": "name 일 때 필수 · 20자 이하 · 표시용 — 계산에 쓰지 않는다"
                    },
                    "tone": {
                      "description": "warm 기본 · neutral",
                      "enum": [
                        "warm",
                        "neutral"
                      ],
                      "default": "warm"
                    }
                  },
                  "additionalProperties": false
                },
                "client_reference": {
                  "description": "64자 이하 · 개인정보 금지"
                },
                "fixture_id": {
                  "description": "시험 키 전용 — 시험 키는 이 칸과 client_reference 만 받는다"
                }
              },
              "required": [
                "scale_id",
                "scale_version",
                "answers",
                "purpose"
              ],
              "additionalProperties": false
            }
          }
        }
      }
    }
  }
}