cURL
curl --request POST \ --url https://agent-prod.studio.lyzr.ai/v3/semantic_model/save_documentation/{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": {} } ] }'
{ "added_table_name": "example_table" }
Saves documentation for a specific table to the vector store.
The ID of the RAG configuration
The name of the table
Documentation saved successfully
The response is of type object.
object