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

라이프허브 체험 계산

전체 주소POST https://apis.lucela.kr/v1/lifehub/compute경로POST /v1/lifehub/compute
openapi.json
{
  "/v1/lifehub/compute": {
    "post": {
      "tags": [
        "숨표AI"
      ],
      "summary": "라이프허브 체험 계산",
      "description": "출생값 → 계산 체험 하나",
      "operationId": "post_v1_lifehub_compute",
      "x-lucela-mcp-tool": "soompyo_calculate_lifehub_experience",
      "security": [
        {
          "ApiKey": []
        }
      ],
      "x-implementation-status": "SANDBOX_ONLY",
      "x-lucela-billing-unit": "성공 계산 1",
      "x-lucela-unit-weight": 1,
      "x-lucela-response-fields": "data(experience_id · name · native(원어가 있을 때) · subtitle · date · result(headline(화면 체험일 때) · sub(있을 때) · lines[](줄이 있을 때) · desc(있을 때) · care(있을 때) · 체험에 따라 더 오는 칸 — API 전용 체험은 §2.12.1) · basis(API 전용 체험일 때 · 계산 규칙 · 갈래마다 다른 칸)) · meta(request_id · environment · synthetic · schema_version · warnings · engine_version · calc_settings · input_hash(솔트 열쇠가 있을 때) · input_hash_alg(솔트 열쇠가 있을 때) · source_code_hash · source_commit(판에 표식이 있을 때) · tradition · disclaimer · reference_date · addressee · tone)",
      "responses": {
        "200": {
          "description": "성공 — 봉투 한 모양",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Envelope"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "data": {
                        "type": "object",
                        "properties": {
                          "experience_id": {},
                          "name": {},
                          "native": {},
                          "subtitle": {},
                          "date": {},
                          "result": {
                            "type": "object",
                            "properties": {
                              "headline": {},
                              "sub": {},
                              "lines": {
                                "type": "array",
                                "items": {}
                              },
                              "desc": {},
                              "care": {}
                            }
                          },
                          "basis": {}
                        },
                        "required": [
                          "experience_id",
                          "name",
                          "subtitle",
                          "date",
                          "result"
                        ]
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "request_id": {},
                          "environment": {},
                          "synthetic": {},
                          "schema_version": {},
                          "warnings": {},
                          "engine_version": {},
                          "calc_settings": {},
                          "input_hash": {},
                          "input_hash_alg": {},
                          "source_code_hash": {},
                          "source_commit": {},
                          "tradition": {},
                          "disclaimer": {},
                          "reference_date": {},
                          "addressee": {},
                          "tone": {}
                        },
                        "required": [
                          "request_id",
                          "environment",
                          "synthetic",
                          "schema_version",
                          "warnings",
                          "engine_version",
                          "calc_settings",
                          "source_code_hash",
                          "tradition",
                          "disclaimer",
                          "reference_date",
                          "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": {
                "experience_id": {},
                "date": {},
                "birth": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "description": "출생값이 필요한 체험 — 없으면 400 birth · 두 이름 · 번호 체험은 받지 않는다"
                    },
                    "calendar": {},
                    "is_leap_month": {},
                    "time": {},
                    "birth_place": {
                      "description": "tz+longitude 또는 city_code"
                    },
                    "sex_basis": {}
                  },
                  "additionalProperties": false
                },
                "name": {
                  "description": "이름·숫자 체험 · 전화번호 수비학은 번호"
                },
                "partner_name": {
                  "description": "두 이름 체험 — FLAMES · 연애 계산기"
                },
                "partner": {
                  "description": "두 사람 체험 · 모양은 birth 와 같다"
                },
                "select": {
                  "description": "고르는 체험 · 자미두수는 유파 · 목록의 options"
                },
                "moment": {
                  "description": "물음 체험 — 물음이 떠오른 순간 ISO 8601 · 물음 글은 받지 않는다"
                },
                "options": {
                  "type": "object",
                  "properties": {
                    "jasi_method": {},
                    "lunar_basis": {},
                    "addressee": {},
                    "tone": {}
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "experience_id",
                "date"
              ],
              "additionalProperties": false
            }
          }
        }
      }
    }
  }
}