Authentication is required for all requests for the InsightOps REST API. This involves adding a 'key' to the Header of your request.
Obtaining API Keys
To get an API key, log in to your InsightOps account and choose Settings from the left menu. From the Settings submenu, select API Keys. You'll need to copy one of the API keys available. Choose the one with the permissions you need.
For querying your log events or retrieving a list of resources, you can use the Read-only key. If you're adding resources or configuring the Insight agent to follow logs, then use the Read-Write key.
Use the API Key
The API key resource allows you to interact with your's keys in the account. Via our REST API you can perform the following action: