Every query ByteStack runs produces a structured JSON result that is stored in your workspace’s Storage. You can download individual results manually from the dashboard, pull them programmatically via the REST API, sync them automatically to your own S3-compatible bucket, or receive a webhook notification the moment a result is ready — then fetch it on demand.Documentation Index
Fetch the complete documentation index at: https://docs.bytestack.com/llms.txt
Use this file to discover all available pages before exploring further.
Download from the dashboard
The simplest way to get a result file is directly from the ByteStack dashboard.- Open your workspace and click Storage in the top navigation.
- Each completed query appears as a file with a timestamped key, for example
qry_01j9zt3pk2examp1e_2026-04-30T08-00-00Z.json. - Click the file name to preview the result, then click Download JSON to save it to your machine.
Export via REST API
Pull any result file programmatically using theGET /storage/{key} endpoint.
qry_01j9zt3pk2examp1e with the query_id returned when you created the query. The response body is the raw JSON result object.
Sync to S3-compatible storage
For continuous pipelines, configure ByteStack to write results directly to your own bucket after every job run.- Open Settings → Storage in the dashboard.
- Enter your bucket details:
- Endpoint — your S3-compatible endpoint URL (e.g.,
https://s3.us-east-1.amazonaws.comor a self-hosted endpoint). - Bucket name — the target bucket.
- Access key ID and Secret access key — credentials with
s3:PutObjectpermission.
- Endpoint — your S3-compatible endpoint URL (e.g.,
- Click Save and test. ByteStack uploads a small verification file to confirm access.
bytestack/{query_id}/{timestamp}.json, making them easy to partition and query in tools like Athena or BigQuery.
Stream results with webhooks
Webhooks give your services instant notification when a job finishes, without polling. Add awebhook_url to any job configuration:
result_url to fetch the full result immediately, then forward a summary to Slack, write it to a database, or trigger downstream processing.
Download in multiple languages
Raw scrape logs are retained for 90 days and then deleted automatically. Structured query outputs — the JSON results you see in Storage — are retained indefinitely until you delete them manually or configure a retention policy in Settings → Storage.