NOTE: This repository is not actively maintained. These features are covered by the Aito Python SDK and CLI.
Collection of scripts and tools useful for Aito users.
In the example we upload products to Aito.
Create a schema to the Aito database
curl -H "x-api-key: $API_KEY" -email@example.com -X POST "https://my-aito-env.api.aito.ai/api/v1/schema"
See the example schema.json contents.
Run upload file script
./upload-file.sh products.ndjson https://my-aito-env.api.aito.ai
Outputs all objects from Aito table to stdout as ndjson. Requires jq command-line tool. The table is paginated through with the Search endpoint.
export API_KEY=YOUR_KEY copy-table.sh your-env-name table > table.ndjson