cURL
curl --request POST \ --url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/model/connections/{modelConnectionId}/generate-description \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "type": "caption" } '
{ "description": "<string>", "message": "<string>" }
Generate a description for a model connection
Type of description to generate: "caption" for a short caption(50-70 characters), or "detailed" for a detailed description (max 2000 characters)
caption
detailed
OK
AI-generated description of the model connection
Success message from the AI API