> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bespokelabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Bespoke Labs docs

> Docs for Nimble, a fast, low-cost API from Bespoke Labs for text classification, routing, and moderation, with a probability for every answer.

Nimble is a family of models from Bespoke Labs for text classification and other judgments, such as routing support tickets, moderating content, or grading LLM output. You send Nimble a piece of text or JSON, which is called the state, and a list of questions about it. Nimble answers each question with probabilities, so you can set your own thresholds.

You call Nimble at `POST https://api.bespokelabs.ai/v1/systemone`. You pick the model with the `model` field of the request. You can send requests with plain HTTP or with [TypeSafe's Python SDK](https://docs.bespokelabs.ai/nimble/typesafe-sdk.md).

## Get started

Create an API key, then follow the quickstart to make your first request with curl or Python. If you work with a coding agent, install the agent skill so it can build with Nimble for you.

> [card] [Get an API key](https://console.bespokelabs.ai/home/keys)
>
> Create a key in the Bespoke Labs console.

> [card] [Quickstart](https://docs.bespokelabs.ai/nimble/quickstart.md)
>
> Make your first request with curl or Python.

> [card] [Agent skill](https://docs.bespokelabs.ai/nimble/agent-skill.md)
>
> Teach your coding agent to build with Nimble.

## Models

| Model | Description |
| - | - |
| `nimble-v4.1-max` | Our most accurate model. `nimble-latest` currently points to this model. |

The model answers up to 64 questions about the state in one request, using three types of question:

* A yes/no question (`noul`) asks whether a statement is true. The answer is the probability that it is true.
* A multiple-choice question (`choice`) asks which of 2 to 255 options fits best. The answer names the most likely option and gives the probability of every option.
* A rating question (`score`) asks where the state falls on a scale of 2 to 255 ordered levels. The answer is the expected level.

The [question types guide](https://docs.bespokelabs.ai/nimble/questions.md) shows how to write each type of question.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.