{ "openapi": "3.0.3", "info": { "title": "InsightIDR API", "version": "v1", "description": "
Welcome to the reference documentation for the InsightIDR public APIs.
\nHere are a few resources to help you learn how to start using our APIs:
\nAfter you've got the basics down, you can use this API guide to find examples of requests and responses.
" }, "servers": [ { "url": "https://{region}.api.insight.rapid7.com/", "variables": { "region": { "default": "us", "description": "Insight API region" } } } ], "externalDocs": { "description": "Product docs", "url": "https://insightidr.help.rapid7.com/docs" }, "security": [], "tags": [ { "name": "Accounts", "description": "An API used to find and search InsightIDR accounts. See https://docs.rapid7.com/insightidr/users-and-accounts-on-your-domain for further information on accounts." }, { "name": "Local Accounts", "description": "An API used to find and search InsightIDR local accounts. See https://docs.rapid7.com/insightidr/users-and-accounts-on-your-domain for further information on local accounts." }, { "name": "Assets", "description": "An API used to find and search InsightIDR assets. See https://docs.rapid7.com/insightidr/assets-on-your-domain for further information on assets." }, { "name": "Attachments", "description": "An API used to upload, list, download and delete attachments. For example, the create API can be used to upload an attachment." }, { "name": "Comments", "description": "An API used to find, create, and delete comments. For example, these APIs can be used to create a comment for a particular investigation." }, { "name": "Community Threats", "description": "An API used to add and replace indicators for Community Threats. See https://insightidr.help.rapid7.com/docs/threats#section-threat-api for further information on how to generate threat keys." }, { "name": "Users", "description": "An API used to find and search InsightIDR users. See https://docs.rapid7.com/insightidr/users-and-accounts-on-your-domain for further information on users." }, { "name": "Health Metrics", "description": "An API used to retrieve health metrics of an organization." }, { "name": "Collectors", "description": "An API used to manage collectors for an organization." } ], "paths": { "/idr/v1/accounts/_search": { "post": { "tags": [ "Accounts" ], "summary": "Search accounts", "description": "A search API for accounts. You can search for accounts matching the given search criteria.| Field | Can Search? | Can Sort? | Type |
|---|---|---|---|
| authentication_service | Yes | Yes | String |
| disabled | Yes | No | Boolean |
| domain | Yes | Yes | String |
| name | Yes | Yes | String |
| user.rrn | Yes | Yes | String |
| user.name | Yes | Yes | String |
| Field | Can Search? | Can Sort? | Type |
|---|---|---|---|
| name | Yes | Yes | String |
| asset.rrn | Yes | Yes | String |
| asset.name | Yes | Yes | String |
| user.rrn | Yes | Yes | String |
| user.name | Yes | Yes | String |
| Field | Can Search? | Can Sort? | Type |
|---|---|---|---|
| name | Yes | Yes | String |
| Field | Can Search? | Can Sort? | Type |
|---|---|---|---|
| first_name | Yes | Yes | String |
| last_name | Yes | Yes | String |
| name | Yes | Yes | String |
| domain | Yes | No | String |