curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/infer/ensemble' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"drop_count": 1,
"inputs": [
{
"type": "text",
"value": "49.00"
}
],
"runs": 1,
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'
{
"agreement": 1.5,
"confidence": 7.5,
"output": {
"type": "null"
},
"processing_time_ms": 250,
"results": [
{
"confidence": 7.5,
"error": "string",
"inputs_used": 1,
"output": {
"type": null
}
}
],
"runs": 1
}
Perform ensemble inference with input dropout for confidence calibration
Required scope: write
POST
/
api
/
v1
/
nsr
/
infer
/
ensemble
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/infer/ensemble' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"drop_count": 1,
"inputs": [
{
"type": "text",
"value": "49.00"
}
],
"runs": 1,
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'
{
"agreement": 1.5,
"confidence": 7.5,
"output": {
"type": "null"
},
"processing_time_ms": 250,
"results": [
{
"confidence": 7.5,
"error": "string",
"inputs_used": 1,
"output": {
"type": null
}
}
],
"runs": 1
}
Required scope:
write
Request body
NSREnsembleInferRequest
Response
NSREnsembleInferResponse
Calibrated confidence based on agreement and mean per-run confidence (0.0 to 1.0)
Status codes
| Code | Meaning |
|---|---|
200 | Ensemble inference successful |
400 | Invalid request |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
500 | Internal server error |
504 | Reasoning budget exhausted before completion |
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/infer/ensemble' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"drop_count": 1,
"inputs": [
{
"type": "text",
"value": "49.00"
}
],
"runs": 1,
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'
{
"agreement": 1.5,
"confidence": 7.5,
"output": {
"type": "null"
},
"processing_time_ms": 250,
"results": [
{
"confidence": 7.5,
"error": "string",
"inputs_used": 1,
"output": {
"type": null
}
}
],
"runs": 1
}
Last modified on August 31, 2026