Read one topical map
get_topical_mapOne map in full: its pillar page and every cluster article, grouped by category. Call it after create_topical_map until status is ready — pillar is null and clusters is empty until then, and errorMessage is set instead if…
Instructions
One map in full: its pillar page and every cluster article, grouped by category. Call it after create_topical_map until status is ready — pillar is null and clusters is empty until then, and errorMessage is set instead if generation failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | Id of the map, as create_topical_map or list_topical_maps reports it. | |
| projectId | Yes | The project to work on — its id from list_projects. Required on every call, so that parallel conversations never read or write each other's project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| topic | Yes | ||
| pillar | Yes | The compendium page. null until ready. | |
| status | Yes | processing the moment it is requested, then ready — pillar and clusters filled in — or error, see errorMessage. | |
| clusters | Yes | The supporting article titles, grouped by category. Empty until ready. | |
| language | Yes | ||
| createdAt | Yes | When the map was requested, ISO 8601 in UTC. | |
| projectId | Yes | ||
| errorMessage | Yes | Why generation failed. null unless status is error. | |
| generationCost | Yes | Cost of the generation, in USD. |