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

> ## Agent Instructions
> Use https://docs.fastino.ai/llms.txt to discover and navigate pages. Use https://docs.fastino.ai/llms-full.txt when you need the complete documentation corpus. Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing routes. For GLiDE decision inference, call POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Start managed training (config job) with POST /v1/training/jobs using base_model. For interactive training, native JSON clients use the public operations under /v1/training/jobs and /v1/training/usage. Existing Tinker clients use tinker==0.32.0 with TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker and TINKER_CREDENTIAL_CMD. Compatibility child routes are private and absent from OpenAPI. Auto Train is private access and has no public route; direct interested users to sales@fastino.ai. Do not infer undocumented routes. Read API keys from FASTINO_API_KEY and never embed credentials in code, logs, or reports.

# Encoder Quickstart

> Start a managed training job for a GLiNER encoder, then verify its canonical job ID.

This quickstart fine-tunes a GLiNER encoder with managed training (`config`
job), where Fastino runs the training loop. To train a Nemotron or Qwen decoder
LLM with interactive training (`interactive` job), use the
[Decoder Quickstart](https://docs.fastino.ai/training/decoder-quickstart.md).

## 1. Authenticate

1. Create a [Fastino account](https://agent.fastino.ai/).
2. Open [API keys](https://agent.fastino.ai/api-keys).
3. Create a key and copy it when shown.

Store the key in an environment variable:

```bash macOS/Linux theme={null}
export FASTINO_API_KEY="fast_sk_..."
```

```powershell Windows theme={null}
$env:FASTINO_API_KEY = "fast_sk_..."
```

Send this key as `X-API-Key: $FASTINO_API_KEY`. See
[Authentication](https://docs.fastino.ai/authentication.md) for the complete authentication contract.

## 2. Prepare a dataset

[Upload and process a training dataset](https://docs.fastino.ai/concepts/datasets.md), then wait until its
version is `ready`.

## 3. Choose a model

Managed training supports the encoders returned by
`GET /v1/base-models?supports_training=true`; see the
[Model catalog](https://docs.fastino.ai/concepts/models.md#encoders). Query the live catalog before
submission:

```bash theme={null}
curl "https://api.fastino.ai/v1/base-models?supports_training=true" \
  -H "X-API-Key: $FASTINO_API_KEY"
```

Save the selected model ID.

## 4. Create the job

```bash theme={null}
curl -X POST "https://api.fastino.ai/v1/training/jobs" \
  -H "X-API-Key: $FASTINO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "model_name": "my-trained-model",
    "base_model": "MODEL_ID_FROM_CATALOG",
    "datasets": [
      {"name": "my-ready-dataset", "version": "VERSION_NUMBER"}
    ],
    "training_type": "lora"
  }'
```

Save the returned `id`. It is the `job_id` used by every job-specific route.
Reuse the same `Idempotency-Key` only when retrying this exact create request.

## 5. Poll the job

```bash theme={null}
curl "https://api.fastino.ai/v1/training/jobs/JOB_ID" \
  -H "X-API-Key: $FASTINO_API_KEY"
```

For `config` jobs:

* `status` is the persisted lifecycle value, such as `errored`.
* `normalized_status` is the stable polling value, such as `failed`.
* `is_terminal_status` tells your client when to stop polling.
* `error_message` describes a failure when available.

Continue until `is_terminal_status` is `true`, then inspect the final status,
checkpoints, logs, and deployment eligibility.

## Continue

> [card] [Datasets](https://docs.fastino.ai/concepts/datasets.md)
>
> Prepare and validate GLiNER training data.

> [card] [Decoder Quickstart](https://docs.fastino.ai/training/decoder-quickstart.md)
>
> Train Nemotron and Qwen decoders with interactive training.


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