/v1/models/runtime-stats

This endpoint returns the runtime statistics for all active models.

Given this request:

curl 'https://gateway.credmark.com/v1/models/runtime-stats’ \
  -H 'Authorization: Bearer <API key>'

We get the following (truncated) output:

{
  "runtimes": [
    {
      "slug": "aave-v2.get-lending-pool",
      "version": "1.1",
      "min": 346,
      "max": 41070,
      "mean": 5411.72,
      "median": 3337
    },
    {
      "slug": "aave-v2.get-lending-pool-provider",
      "version": "1.1",
      "min": 19,
      "max": 108274,
      "mean": 4114.75,
      "median": 1363
    },

}

For each model we get:

Last updated