---
updatedAt: 2025-09-16T11:17:51.000Z
agentTools:
  projectIndex: https://docs.super.ai/llms.txt
---

# Update measurer configuration

This API allows to change project specific settings for the measurement feature.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/v1/apps/{app_id}/measurer/configuration": {
      "parameters": [
        {
          "name": "app_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasurerConfiguration"
                }
              },
              "text/markdown": {
                "schema": {
                  "$ref": "#/components/schemas/MeasurerConfiguration"
                }
              }
            }
          },
          "204": {
            "description": "Measurer configuration updated"
          }
        },
        "summary": "Update measurer configuration",
        "operationId": "update measurer configuration",
        "parameters": [
          {
            "name": "X-Fields",
            "in": "header",
            "description": "An optional fields mask",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasurerConfigurationUpdate"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "apiToken": []
          }
        ],
        "tags": [
          "metrics"
        ]
      }
    }
  },
  "info": {
    "title": "super.AI API",
    "version": "2.0.177.120",
    "description": "super.AI App Store API"
  },
  "tags": [
    {
      "name": "metrics",
      "description": "Metrics and Measurer CRUD"
    }
  ],
  "servers": [
    {
      "url": "//api.prod-eu.super.ai"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiToken": {
        "type": "apiKey",
        "in": "header",
        "name": "API-KEY"
      }
    },
    "schemas": {
      "MeasurerConfigurationUpdate": {
        "properties": {
          "sample_strategy": {
            "type": "string",
            "example": "newest",
            "enum": [
              "newest",
              "random"
            ]
          },
          "sample_size": {
            "type": "integer",
            "minimum": 1
          },
          "measure_frequency": {
            "type": "string",
            "example": "manual",
            "enum": [
              "manual",
              "daily",
              "weekly",
              "monthly"
            ]
          }
        },
        "type": "object"
      },
      "MeasurerConfiguration": {
        "properties": {
          "sample_strategy": {
            "type": "string",
            "example": "newest",
            "enum": [
              "newest",
              "random"
            ]
          },
          "sample_size": {
            "type": "integer",
            "minimum": 1
          },
          "measure_frequency": {
            "type": "string",
            "example": "manual",
            "enum": [
              "manual",
              "daily",
              "weekly",
              "monthly"
            ]
          },
          "app_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "type": "object"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```