Bandwise docs
API reference

Set health

Available from Phase 3b

The HTTP API is not live yet. These endpoints are the planned contract, generated from the same schema the server will use. Paths and fields can still change before they ship.
GET/api/v1/sets/{ref}/health

Authorization

AuthorizationBearer <token>

An app token (sk_live_, sk_test_, pk_live_), a browser token (a 5-minute ES256 JWT) or an agent token (sa_live_).

In: header

Path Parameters

ref*string
Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/sets/string/health"
{  "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",  "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7",  "channel": "production",  "model": "string",  "status": "no_truth_source",  "flags": [    "no_truth_source"  ],  "target": {    "tier": "low",    "highPrecision": 0,    "mediumPrecision": 0,    "minCoverage": 0,    "minLabeledHigh": 0  },  "window": {    "from": "2019-08-24T14:15:22Z",    "to": "2019-08-24T14:15:22Z"  },  "set": {    "labeledN": 0,    "precision": {      "property1": {        "value": 0,        "lower95": 0,        "labeledN": 0      },      "property2": {        "value": 0,        "lower95": 0,        "labeledN": 0      }    },    "coverage": 0,    "reviewLoadPerDay": 0,    "ece": 0,    "psi": {      "bandMix": 0,      "answers": 0    },    "stability": 0,    "costPerDecisionUsd": 0  },  "questions": {    "property1": {      "labeledN": 0,      "precision": {        "property1": {          "value": 0,          "lower95": 0,          "labeledN": 0        },        "property2": {          "value": 0,          "lower95": 0,          "labeledN": 0        }      },      "coverage": 0,      "reviewLoadPerDay": 0,      "ece": 0,      "psi": {        "bandMix": 0,        "answers": 0      },      "stability": 0,      "costPerDecisionUsd": 0,      "status": "no_truth_source"    },    "property2": {      "labeledN": 0,      "precision": {        "property1": {          "value": 0,          "lower95": 0,          "labeledN": 0        },        "property2": {          "value": 0,          "lower95": 0,          "labeledN": 0        }      },      "coverage": 0,      "reviewLoadPerDay": 0,      "ece": 0,      "psi": {        "bandMix": 0,        "answers": 0      },      "stability": 0,      "costPerDecisionUsd": 0,      "status": "no_truth_source"    }  }}
GET/api/v1/health

Authorization

AuthorizationBearer <token>

An app token (sk_live_, sk_test_, pk_live_), a browser token (a 5-minute ES256 JWT) or an agent token (sa_live_).

In: header

Query Parameters

limit?integer
Range1 <= value <= 200
Default50
cursor?string
Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/health"
{  "data": [    {      "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",      "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7",      "channel": "production",      "model": "string",      "status": "no_truth_source",      "flags": [        "no_truth_source"      ],      "target": {        "tier": "low",        "highPrecision": 0,        "mediumPrecision": 0,        "minCoverage": 0,        "minLabeledHigh": 0      },      "window": {        "from": "2019-08-24T14:15:22Z",        "to": "2019-08-24T14:15:22Z"      },      "set": {        "labeledN": 0,        "precision": {          "property1": {            "value": 0,            "lower95": 0,            "labeledN": 0          },          "property2": {            "value": 0,            "lower95": 0,            "labeledN": 0          }        },        "coverage": 0,        "reviewLoadPerDay": 0,        "ece": 0,        "psi": {          "bandMix": 0,          "answers": 0        },        "stability": 0,        "costPerDecisionUsd": 0      },      "questions": {        "property1": {          "labeledN": 0,          "precision": {            "property1": {              "value": 0,              "lower95": 0,              "labeledN": 0            },            "property2": {              "value": 0,              "lower95": 0,              "labeledN": 0            }          },          "coverage": 0,          "reviewLoadPerDay": 0,          "ece": 0,          "psi": {            "bandMix": 0,            "answers": 0          },          "stability": 0,          "costPerDecisionUsd": 0,          "status": "no_truth_source"        },        "property2": {          "labeledN": 0,          "precision": {            "property1": {              "value": 0,              "lower95": 0,              "labeledN": 0            },            "property2": {              "value": 0,              "lower95": 0,              "labeledN": 0            }          },          "coverage": 0,          "reviewLoadPerDay": 0,          "ece": 0,          "psi": {            "bandMix": 0,            "answers": 0          },          "stability": 0,          "costPerDecisionUsd": 0,          "status": "no_truth_source"        }      }    }  ],  "nextCursor": "string"}

Bandwise is an independent product built on TypeSafe's System One models. It is not TypeSafe's documentation. For the System One models themselves, see docs.typesafe.ai.