Skip to main content
POST
Ask questions

Authorizations

Authorization
string
header
required

Your Bespoke Labs API key.

Body

application/json

Typed questions about text or JSON.

state
required

The text or JSON to ask about. Nimble reads a JSON state as JSON text.

questions
object
required

Your question IDs mapped to questions. The answers use the same IDs.

model
enum<string>
default:nimble-latest

nimble-latest currently points to nimble-v4-max, and it will move to newer models as they are released. nimble-v4 is deprecated and points to nimble-v4-max. nimble-v3 is deprecated. The response repeats the model name from the request.

Available options:
nimble-latest,
nimble-v4-max,
nimble-v4,
nimble-v3

Response

The answers, keyed by question ID.

model
string
required

The model name from the request.

answers
object
required

Question IDs mapped to answers.

usage
object
required