Skip to main content

Compile Knowledge Base

Compile Knowledge Base Generate a knowledge base for elements.

GET/v1/elemental/{elemental_id}/knowledge-base

Properties

NameTypeRequiredDescription
elemental_idstringElemental ID
formatstringOutput format (text, markdown, json)
group_bystringGroup data by row or column (using for tables)
fieldsstringFields for the knowledge return (id, title, type, description, content, url, images, video, tutorial and files)

Example

/v1/elemental/123e4567-e89b-12d3-a456-426614174000/knowledge-base

CURL Example

curl -X GET "https://api-integrations.snackprompt.com/v1/elemental/{elemental_id}/knowledge-base" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"