Integrations

Get parsed-query import state

Says whether this vendor's parsed queries can be imported, whether the credential the import needs is saved, whether an import is already under way, and which integrations an import covers. Poll this while an import is running; what it imported is reported in the integration's activity log.

get/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

State retrieved

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.