Felo API PlatformFelo API Platform

Configure Harness

Mindmap API

Create mindmaps from prompts and optional LiveDoc context.

POST/v2/mindmap

Authentication

Bearer API key

Content type

application/json

Rate notes

Endpoint-specific limits may apply.

The Mindmap API provides mindmap generation capabilities. You can create a mindmap with a topic or question, and optionally specify a layout type.

Authentication

All requests require an API Key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Create Mindmap

Create a mindmap based on a query (topic or question).

Endpoint

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

Request Headers

HeaderRequiredDescription
AuthorizationYesYour API Key in the format Bearer YOUR_API_KEY
Content-TypeYesMust be application/json

Request Body

ParameterTypeRequiredDescription
querystringYesThe topic or question for mindmap generation. Max 2000 characters
layoutstringNoLayout type. Default: MIND_MAP
livedoc_short_idstringNoLiveDoc ID. If not provided, a new LiveDoc will be 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

Example: Create with Auto LiveDoc

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"
  }'

Example: Create with Specific LiveDoc

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": "Project timeline overview",
    "layout": "TIMELINE",
    "livedoc_short_id": "abc123xyz"
  }'

Success Response (200)

{
  "status": "ok",
  "message": null,
  "data": {
    "resource_id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "COMPLETED",
    "livedoc_short_id": "PvyKouzJirXjFdst4uKRK3",
    "mindmap_url": "https://felo.ai/mindmap/550e8400-e29b-41d4-a716-446655440000",
    "svg": "<svg>...</svg>",
    "message": "Mindmap created successfully"
  }
}

Response Fields

FieldTypeDescription
resource_idstringResource ID of the created mindmap
statusstringStatus of the mindmap (e.g., COMPLETED)
livedoc_short_idstringLiveDoc short ID where the mindmap is stored
mindmap_urlstringURL to view the mindmap (format: {host}/mindmap/{resource_id})
svgstringSVG content of the mindmap
messagestringStatus message

Error Codes

CodeHTTP StatusDescription
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