Skip to main content
POST
Confidence Interval Calculator

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ioMode
enum<string>

What are you estimating?

Available options:
mean,
proportion
ioSampleSize
number

Sample Size (n)

Required range: x >= 1
ioSampleMean
number

Sample Mean (x̄)

ioSampleStdDev
number

Sample Standard Deviation (s)

Required range: x >= 0
ioSuccesses
number

Successes (x)

Required range: x >= 0
ioProportionMethod
enum<string>

CI Method

Available options:
wilson,
wald
ioConfidenceLevel
enum<string>

Confidence Level

Available options:
90,
95,
99

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

request_id
string
credits_remaining
integer | null

Credits left in the current monthly allowance, or null when metering is disabled.