LUCELAATELIER🔔

통합 지혜 리포트 생성

전체 주소POST https://apis.lucela.kr/v1/fortune/report경로POST /v1/fortune/report
openapi.json
{
  "/v1/fortune/report": {
    "post": {
      "tags": [
        "숨표AI"
      ],
      "summary": "통합 지혜 리포트 생성",
      "description": "출생값 → 일곱 장(탄생 · 마음 · 몸 · 관계 · 계절 · 연운 · 길)",
      "operationId": "post_v1_fortune_report",
      "x-lucela-mcp-tool": "soompyo_create_wisdom_report",
      "security": [
        {
          "ApiKey": []
        }
      ],
      "x-implementation-status": "AVAILABLE",
      "x-lucela-billing-unit": "성공 계산 10 · 1회 = 10회분",
      "x-lucela-unit-weight": 10,
      "x-lucela-response-fields": "data(date · preface · keywords[] · summary[](label · value) · chapters[](id · no · title · subtitle · sections[](id · heading · tag · body · table(표가 있을 때 · head · rows) · bars[](막대가 있을 때 · label · value · note) · callout(있을 때)))) · 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 · has_hour · approx_lunar · omitted[](id · reason · heading(있을 때)))",
      "responses": {
        "200": {
          "description": "성공 — 봉투 한 모양",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Envelope"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "data": {
                        "type": "object",
                        "properties": {
                          "date": {},
                          "preface": {},
                          "keywords": {
                            "type": "array",
                            "items": {}
                          },
                          "summary": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {},
                                "value": {}
                              },
                              "required": [
                                "label",
                                "value"
                              ]
                            }
                          },
                          "chapters": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {},
                                "no": {},
                                "title": {},
                                "subtitle": {},
                                "sections": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {},
                                      "heading": {},
                                      "tag": {},
                                      "body": {},
                                      "table": {
                                        "type": "object",
                                        "properties": {
                                          "head": {},
                                          "rows": {}
                                        },
                                        "required": [
                                          "head",
                                          "rows"
                                        ]
                                      },
                                      "bars": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "label": {},
                                            "value": {},
                                            "note": {}
                                          },
                                          "required": [
                                            "label",
                                            "value",
                                            "note"
                                          ]
                                        }
                                      },
                                      "callout": {}
                                    },
                                    "required": [
                                      "id",
                                      "heading",
                                      "tag",
                                      "body"
                                    ]
                                  }
                                }
                              },
                              "required": [
                                "id",
                                "no",
                                "title",
                                "subtitle",
                                "sections"
                              ]
                            }
                          }
                        },
                        "required": [
                          "date",
                          "preface",
                          "keywords",
                          "summary",
                          "chapters"
                        ]
                      },
                      "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": {},
                          "has_hour": {},
                          "approx_lunar": {},
                          "omitted": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {},
                                "reason": {},
                                "heading": {}
                              },
                              "required": [
                                "id",
                                "reason"
                              ]
                            }
                          }
                        },
                        "required": [
                          "request_id",
                          "environment",
                          "synthetic",
                          "schema_version",
                          "warnings",
                          "engine_version",
                          "calc_settings",
                          "source_code_hash",
                          "tradition",
                          "disclaimer",
                          "reference_date",
                          "addressee",
                          "tone",
                          "has_hour",
                          "approx_lunar",
                          "omitted"
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "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": {
                "birth": {
                  "type": "object",
                  "properties": {
                    "date": {},
                    "calendar": {},
                    "is_leap_month": {},
                    "time": {},
                    "birth_place": {
                      "description": "tz+longitude 또는 city_code — 상승궁·하우스는 city_code 일 때만"
                    },
                    "sex_basis": {}
                  },
                  "required": [
                    "date",
                    "birth_place",
                    "sex_basis"
                  ],
                  "additionalProperties": false
                },
                "options": {
                  "type": "object",
                  "properties": {
                    "jasi_method": {},
                    "lunar_basis": {},
                    "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
                },
                "date": {
                  "description": "기준일 — 「올해」가 이 해"
                },
                "chapters": {
                  "description": "생략 = 전부 · born · mind · body · relations · stage · yearly · path"
                }
              },
              "required": [
                "date"
              ],
              "additionalProperties": false
            }
          }
        }
      }
    }
  }
}