/api/meta/capabilities — LLM 친화적 디스커버리 엔드포인트 #62
Labels
No labels
api
bug
chore
collector
decision-needed
docs
enhancement
feature
feedback-loop
frontend
infra
skill
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
xhh/financial-data-platform#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Claude 스킬(매크로 리포트, 종목 분석 등) 이 시작 시점에 "이 플랫폼에서 어떤 데이터를 받을 수 있는지" 한 번에 파악하기 위한 마크다운 응답 엔드포인트.
동기
매 스킬 실행마다 같은 웹서치를 반복하는 비용을 줄이는 것이 본 플랫폼의 핵심 목표(통합 로드맵). 그러려면 스킬이 '먼저 우리 API 부터 본다' 는 흐름이 강제되어야 하는데, 그 첫 신호가 capabilities 디스커버리.
응답 설계 (목표 < 800 토큰)
동적 생성 권장:
meta_symbols+meta_coverage+ 라우터 OpenAPI 메타데이터 + 정적 템플릿 조합. 매 호출 새로 생성해도 비용 적음 (DB 쿼리 한두 개).구현 스코프
api/routers/system.py::meta_capabilities신규 (또는 별도meta.py)Response(media_type="text/markdown")로 직접 마크다운responses={200: {"content": {"text/markdown": {}}}}명시선행 / 관련
완료 기준
GET /api/meta/capabilities가 마크다운 반환