Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt

Use this file to discover all available pages before exploring further.

This article describes how to quickly get started with the Endor Labs REST API using the Endor Labs command line tool endorctl or curl. For a more detailed guide, see Getting started with the REST API. The following is an example request to get the number of findings in your namespace:
  1. Run endorctl init and your browser window will open automatically. Select your authentication provider from the available options and complete the authentication process.
You can also specify your supported authentication provider manually.
endorctl init --auth-mode google
  1. Use the endorctl command-line tool to make your request. Note that you do not have to provide the namespace or access token when using endorctl to access the Endor Labs REST API. For more information, see the Endor Labs CLI documentation.
endorctl api list -r Finding --count
For more examples of common use cases, see Use cases.