Best practices
Follow these best practices when using the Endor Labs REST API.
Using endorctl
- Enable tab-completion.
- Use interactive mode for creates and updates.
Optimize queries
- Use the count flag if you only need the total number of objects matching the query.
- Use grouping if you only need the number of objects per unique value of a given field, or a set of fields.
- Use field-masks to return only the fields you need.
- Filter on common fields such as
uuid
ormeta.name
before resource kind specific fields.
Feedback
Was this page helpful?
Thanks for the feedback. Write to us at support@endor.ai to tell us more.
Thanks for the feedback. Write to us at support@endor.ai to tell us more.