Datasets

Create or update dataset impact estimation configuration

Creates or replaces the impact-estimation configuration for the dataset. Replacing the configuration takes effect on the next estimation cycle.

put/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 create/update configuration for

Request body

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 request

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

Response

Configuration created or updated successfully

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.