Integrations

Import an integration's parsed queries now

Reads the integration's alert, monitor and dashboard queries from its vendor without waiting for the hourly import. One fetch is shared by every integration in the organization using the same vendor account, so this updates all of them. If an import is already under way this joins it rather than starting another. The import runs in the background; its result appears in the integration's activity log.

post/v1/integrations/{integrationId}/parsed-queries/import

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header GREPR-API-KEY
    • or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)

Path parameters

integrationIdstring required

Integration id

Response

Import started, or already under way

coveredIntegrationIdsstring[] required

Every integration an import updates. Integrations that share a vendor account share one fetch, so importing for one imports for all of them.

hasCredentialboolean required

Whether the credential the import needs is saved. For Datadog this is the application key.

importingboolean required

Whether an import covering this integration is already under way.

supportedboolean required

Whether this vendor's parsed queries can be imported at all. False for vendors Grepr cannot read alert queries from.

Example response

{
  "hasCredential": true,
  "supported": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.