curl --request POST \
--url https://apigcp.trynia.ai/v2/local-folders/preview-db \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"database": {
"filename": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
}
'{
"tables": [
{
"name": "<string>",
"row_count": 123,
"columns": [
"<string>"
]
}
],
"sample_content": [
"<string>"
],
"detected_type": "<string>"
}Preview tables and sample content from a SQLite database before creating a local folder.
curl --request POST \
--url https://apigcp.trynia.ai/v2/local-folders/preview-db \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"database": {
"filename": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
}
'{
"tables": [
{
"name": "<string>",
"row_count": 123,
"columns": [
"<string>"
]
}
],
"sample_content": [
"<string>"
],
"detected_type": "<string>"
}API key must be provided in the Authorization header
Show child attributes
Was this page helpful?