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

PDF 리포트 생성

전체 주소POST https://apis.lucela.kr/v1/reports/pdf경로POST /v1/reports/pdf
openapi.json
{
  "/v1/reports/pdf": {
    "post": {
      "tags": [
        "숨표AI"
      ],
      "summary": "PDF 리포트 생성",
      "description": "연산 결과 → A4 PDF(한글 글꼴 포함)",
      "operationId": "post_v1_reports_pdf",
      "x-lucela-mcp-tool": "soompyo_create_report_pdf",
      "security": [
        {
          "ApiKey": []
        }
      ],
      "x-implementation-status": "SANDBOX_ONLY",
      "x-lucela-billing-unit": "성공 계산 1 — 밑 연산의 회분(지혜 리포트 10 · 하늘무늬 3)",
      "x-lucela-unit-weight": 1,
      "x-lucela-response-fields": "data(report · op · content_type · filename · pages · bytes · sha256 · pdf_base64) · meta(request_id · environment · synthetic · schema_version · warnings · engine_version · calc_settings · input_hash(솔트 열쇠가 있을 때) · input_hash_alg(솔트 열쇠가 있을 때) · source_code_hash · source_commit(판에 표식이 있을 때) · tradition · units · disclaimer · reference_date · addressee · tone · pdf(layout_version · font · unsupported_chars) · omitted[](빠진 것이 있을 때 · id · reason · heading(있을 때)) · has_hour(지혜 리포트일 때) · approx_lunar(지혜 리포트일 때))",
      "responses": {
        "200": {
          "description": "성공 — 봉투 한 모양",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Envelope"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "data": {
                        "type": "object",
                        "properties": {
                          "report": {},
                          "op": {},
                          "content_type": {},
                          "filename": {},
                          "pages": {},
                          "bytes": {},
                          "sha256": {},
                          "pdf_base64": {}
                        },
                        "required": [
                          "report",
                          "op",
                          "content_type",
                          "filename",
                          "pages",
                          "bytes",
                          "sha256",
                          "pdf_base64"
                        ]
                      },
                      "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": {},
                          "units": {},
                          "disclaimer": {},
                          "reference_date": {},
                          "addressee": {},
                          "tone": {},
                          "pdf": {
                            "type": "object",
                            "properties": {
                              "layout_version": {},
                              "font": {},
                              "unsupported_chars": {}
                            },
                            "required": [
                              "layout_version",
                              "font",
                              "unsupported_chars"
                            ]
                          },
                          "omitted": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {},
                                "reason": {},
                                "heading": {}
                              },
                              "required": [
                                "id",
                                "reason"
                              ]
                            }
                          },
                          "has_hour": {},
                          "approx_lunar": {}
                        },
                        "required": [
                          "request_id",
                          "environment",
                          "synthetic",
                          "schema_version",
                          "warnings",
                          "engine_version",
                          "calc_settings",
                          "source_code_hash",
                          "tradition",
                          "units",
                          "disclaimer",
                          "reference_date",
                          "addressee",
                          "tone",
                          "pdf"
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "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": {
                "report": {
                  "description": "fortune_report · sky_print · cycles · natal · timing · transit · synastry · davison · vedic · numerology"
                },
                "input": {
                  "description": "그 연산의 요청 본문 그대로 — 점성 갈래의 kind 는 report 가 정한다 · 같은 값만 받는다"
                }
              },
              "required": [
                "report",
                "input"
              ],
              "additionalProperties": false
            }
          }
        }
      }
    }
  }
}