12 June, 2026
This release introduces the @index schema attribute for declaring database indexes, a new keel inspect CLI for exploring your project's generated context, and faster computed-field and @where filter queries on large tables.
@index Attribute for custom indexes
You can now declare custom database indexes directly in your Keel schema using the new @index attribute. Keel still manages indexes for you automatically based on your data/actions, but you can now declare them in your schema.
model OrderTask {
fields {
status OrderTaskStatus @index
type Text
deferredUntil Timestamp?
customer Customer
}
@index([status, type, createdAt])
@index([customer, deferredUntil])
}Tasks support @index identically to models.
keel inspect CLI
The new keel inspect command lets you explore the generated context of your Keel project: model details, generated indexes, tool configurations, and more.
keel inspect project # compact project overview
keel inspect model # list all models with field/action/index counts
keel inspect model OrderTask # fields, actions, and indexes for one model
keel inspect model OrderTask --section indexes # just the indexes
keel inspect config tool # list all generated tools
keel inspect config spaces # spaces hierarchyAll commands output human-readable tables by default. Add --json for structured output suitable for scripting or AI agent workflows.
For any issues or feedback, please contact us at help@keel.so.
Thank you for using Keel!