Felo API PlatformFelo API Platform

Harness 設定

Mindmap API

prompt と任意の LiveDoc context から mindmaps を作成します。

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

パラメータ必須説明
querystringはいmindmap 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