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_KEYCreate Mindmap
POST https://openapi.felo.ai/v2/mindmap요청 Body
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
query | string | 예 | mindmap generation topic or question, max 2000 characters |
layout | string | 아니요 | layout type. Default: MIND_MAP |
livedoc_short_id | string | 아니요 | LiveDoc ID. If omitted, a new LiveDoc is created automatically |
Layout Types
| Layout | Description |
|---|---|
MIND_MAP | Classic mind map, default |
LOGICAL_STRUCTURE | Logical structure diagram |
ORGANIZATION_STRUCTURE | Organization chart |
CATALOG_ORGANIZATION | Catalog organization chart |
TIMELINE | Timeline diagram |
FISHBONE | Fishbone 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_id | string | Resource ID of the created mindmap |
status | string | Generation status, such as COMPLETED |
livedoc_short_id | string | LiveDoc short ID where the mindmap is stored |
mindmap_url | string | URL for viewing the mindmap |
svg | string | SVG content of the mindmap |
message | string | Status message |
오류 코드
| Code | HTTP Status | 설명 |
|---|---|---|
INVALID_API_KEY | 401 | API Key is invalid or revoked |
MINDMAP_CREATE_FAILED | 502 | Mindmap creation failed |
LIVEDOC_CREATE_FAILED | 502 | Failed to create LiveDoc |
LIVEDOC_NOT_FOUND | 404 | Specified LiveDoc not found |
LLM_SERVICE_UNAVAILABLE | 503 | LLM service is unavailable |
LLM_REQUEST_TIMEOUT | 504 | LLM request timed out |