Links

/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:
Field
Value
Meaning
slug
aave-v2.get-lending-pool
The slug (unique ID) of the model that was run.
version
1.1
The model version being reported.
min
346
The least amount of time required to run this model to date.
max
41070
The most amount of time required to run this model to date.
mean
4114.75
The mean amount of time required to run this model to date.
median
1363
The median amount of time required to run this model to date.