{
  "opencollection": "1.0.0",
  "info": {
    "name": "Coval Agents Metrics API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.coval.dev/v1/metrics",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor."
              }
            ]
          },
          "docs": "List metrics"
        },
        {
          "info": {
            "name": "Create metric",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.coval.dev/v1/metrics",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create metric"
        },
        {
          "info": {
            "name": "Get metric",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.coval.dev/v1/metrics/:metric_id",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get metric"
        },
        {
          "info": {
            "name": "Update metric",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.coval.dev/v1/metrics/:metric_id",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update metric"
        },
        {
          "info": {
            "name": "Delete metric",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.coval.dev/v1/metrics/:metric_id",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete metric"
        },
        {
          "info": {
            "name": "List metric thresholds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/thresholds",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List metric thresholds"
        },
        {
          "info": {
            "name": "Create metric threshold",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/thresholds",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create metric threshold"
        },
        {
          "info": {
            "name": "Get metric threshold",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/threshold",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get metric threshold"
        },
        {
          "info": {
            "name": "Update metric threshold",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/threshold",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update metric threshold"
        },
        {
          "info": {
            "name": "Delete metric threshold",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/thresholds/:threshold_id",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "threshold_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete metric threshold"
        },
        {
          "info": {
            "name": "List metric baselines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/baselines",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List metric baselines"
        },
        {
          "info": {
            "name": "Create metric baseline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/baselines",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create metric baseline"
        },
        {
          "info": {
            "name": "Get metric baseline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/baselines/:baseline_id",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "baseline_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get metric baseline"
        },
        {
          "info": {
            "name": "Update metric baseline",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/baselines/:baseline_id",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "baseline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update metric baseline"
        },
        {
          "info": {
            "name": "Delete metric baseline",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.coval.dev/v1/metrics/:metric_id/baselines/:baseline_id",
            "params": [
              {
                "name": "metric_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "baseline_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete metric baseline"
        },
        {
          "info": {
            "name": "List available metric models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.coval.dev/v1/models/metric"
          },
          "docs": "List the judge models available for metric evaluation."
        }
      ]
    }
  ],
  "bundled": true
}