Felo API PlatformFelo API Platform

Harness 설정

Mindmap API

prompt와 선택적 LiveDoc context로 mindmap을 만드세요.

POST/v2/mindmap

인증

Bearer API key

Content type

application/json

속도 제한

endpoint별 제한이 적용될 수 있습니다.

Mindmap API는 topic, question, project request에서 mindmap을 생성하고 결과를 LiveDoc에 저장하여 Agent가 나중에 reuse/retrieve할 수 있게 합니다.

인증

Authorization: Bearer YOUR_API_KEY

Create Mindmap

POST https://openapi.felo.ai/v2/mindmap

요청 Body

파라미터타입필수설명
querystringmindmap generation topic or question, max 2000 characters
layoutstring아니요layout type. Default: MIND_MAP
livedoc_short_idstring아니요LiveDoc ID. If omitted, a new LiveDoc is created automatically

Layout Types

LayoutDescription
MIND_MAPClassic mind map, default
LOGICAL_STRUCTURELogical structure diagram
ORGANIZATION_STRUCTUREOrganization chart
CATALOG_ORGANIZATIONCatalog organization chart
TIMELINETimeline diagram
FISHBONEFishbone diagram

예시

curl -X POST 'https://openapi.felo.ai/v2/mindmap' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"Artificial Intelligence trends in 2024","layout":"MIND_MAP"}'

응답 필드

필드타입설명
resource_idstringResource ID of the created mindmap
statusstringGeneration status, such as COMPLETED
livedoc_short_idstringLiveDoc short ID where the mindmap is stored
mindmap_urlstringURL for viewing the mindmap
svgstringSVG content of the mindmap
messagestringStatus message

오류 코드

CodeHTTP Status설명
INVALID_API_KEY401API Key is invalid or revoked
MINDMAP_CREATE_FAILED502Mindmap creation failed
LIVEDOC_CREATE_FAILED502Failed to create LiveDoc
LIVEDOC_NOT_FOUND404Specified LiveDoc not found
LLM_SERVICE_UNAVAILABLE503LLM service is unavailable
LLM_REQUEST_TIMEOUT504LLM request timed out