cURL
curl --request POST \ --url https://agent-prod.studio.lyzr.ai/v3/semantic_model/save_documentation_task/{rag_config_id}/{table_name} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "descriptions": { "table_name": "string", "table_description": "string", "columns": [ { "name": "string", "description": "string", "type": "string" } ] }, "table_preview": [ { "additionalProp1": {} } ] }'
{ "task_id": "aa1c8ff4-1c39-4a63-9c56-df77eab86eb6" }
Initiates an asynchronous task to save table documentation including descriptions and a data preview.
The configuration ID for RAG
The name of the table
Task created successfully
The response is of type object.
object