Datasets

Get dataset impact estimation configuration

Returns the impact-estimation configuration for the dataset, or null when the dataset is not opted in for estimation. The presence of a configuration is the per-dataset opt-in for impact estimation.

get/v1/datasets/{id}/estimation-config

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

idstring required

Dataset ID to get configuration for

Response

Configuration retrieved, or null if the dataset is not opted in

createdAtstring date-time
datasetIdstring
logLimitinteger required

Maximum number of log messages to scan per estimation run.

lookbackDurationstring ISO-8601 required

Time window of data to scan per estimation run. ISO-8601 duration format.

organizationIdstring
refreshPeriodstring ISO-8601 required

How often to recalculate impact percentages. ISO-8601 duration format.

updatedAtstring date-time

Example response

{
  "logLimit": 10000000,
  "lookbackDuration": "PT20.345S",
  "query": {
    "query": "service:grepr-service-1"
  },
  "refreshPeriod": "PT20.345S"
}

Changes

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