SqueakQL
SqueakQL is Hamstik’s domain-restricted query language for Work Items. It uses PostgreSQL-inspired expression syntax, but it is not SQL and does not provide direct database access. Every expression is parsed, validated, compiled to a whitelisted Work Item query, and evaluated inside your existing Hamstik permissions.
Start here
- Getting started — copy your first query.
- Syntax and precedence — learn the language shape.
- Fields — see every supported Work Item field.
- Organization Attributes — query governed optional values by stable key.
- Operators — compare values, lists, ranges, text, and NULL.
- Dates and times — use current time and intervals.
- Recipes — solve common Work Item searches.
Where to use it
Use Advanced Query · SqueakQL in the Work Items view for an interactive query. For integrations, use the public API’s organization-scoped POST search endpoint:
POST https://hamstik.com/api/v1/organizations/acme/work-items/searchThe API returns Hamstik’s normal Work Item representation and opaque cursor pagination. A query never expands the Projects or Work Items you can access.
First example
status <> 'done'AND assignee = CURRENT_USERORDER BY priority DESC, updated_at DESCCURRENT_USER means your authenticated Hamstik identity. It does not mean the
PostgreSQL database user.
Language version
The current language version is 1. Validation responses include
languageVersion: 1 so integrations have a clear compatibility boundary.
