List providers

1 min readEdit this page
GET
/v1/providers

Public registry of providers the node knows about, sourced from the upstream bitrouter-providers builtins. Used by the console to render the BYOK page without hard-coding the list.

Response Body

application/json

curl -X GET "https://example.com/v1/providers"
{  "data": [    {      "aggregate": {        "cache_hit_rate": 0.1,        "p50_latency_ms": 0,        "request_count": 0,        "success_rate": 0.1      },      "byok": true,      "community": true,      "id": "string",      "metrics_window_seconds": 0,      "models": [        {          "id": "string",          "metrics": {            "p50_latency_ms": 0,            "request_count": 0,            "success_rate": 0.1          },          "pricing": {            "context_tiers": [              {                "above_input_tokens": 0,                "input_tokens": {                  "cache_read": 0,                  "cache_write": 0,                  "no_cache": 0                },                "output_tokens": {                  "audio": 0,                  "image": 0,                  "reasoning": 0,                  "text": 0                }              }            ],            "input_tokens": {              "cache_read": 0,              "cache_write": 0,              "no_cache": 0            },            "output_tokens": {              "audio": 0,              "image": 0,              "reasoning": 0,              "text": 0            }          }        }      ],      "name": "string",      "rate_limit": {        "current_rpm": 0,        "declared_rpm": 0      },      "status": "active"    }  ]}

How is this guide?