Query Sharing
Share SQL queries via encrypted links with 7-day expiration.
Share a Query
- Click Share button in toolbar
- Copy the generated URL
- Send via Slack, email, docs
URL format: https://app.querylab.io/s/{id}#k={key}
Security
- End-to-end encrypted: Querylab.io cannot read your queries
- 7-day expiration: Links auto-expire
- Organization-aware: If you're in an org, shares restricted to members
What Gets Shared
| Included | Not Included |
|---|---|
| SQL text | Query results |
| Tab name | Your credentials |
| Parameters | Workspace data |
Opening Shared Queries
- Click the share URL
- Query opens in editor
- Configure your project/dataset if needed
- Run with your credentials
Best Practices
Before sharing:
- Remove hardcoded secrets, PII
- Check for sensitive table names
When receiving:
- Review query before running
- Update project/dataset references
- Add
LIMITfor testing
Troubleshooting
| Error | Fix |
|---|---|
| Share expired | Request new link from creator |
| Restricted to org | Verify org membership |
| Decrypt failed | URL may be truncated, get fresh link |
| Table not found | Update project/dataset in config |