> ## 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.

# 获取模型状态

> 在发送推理流量之前，检查模型是就绪、启动中还是冷状态。

`GET /v1/model-status/{model_id}`

报告模型现在是否可以提供推理服务。`state` 为 `ready`、`starting` 或 `cold`；在 `retry_after_seconds` 之后再次轮询，直到其为 `ready`。模型 ID 可能包含 `/`；请在路径中直接发送，无需编码。

每个 API 服务器只报告其自身观察到的状态，因此在预热调用之后，状态可能会短暂地仍显示为 `cold`；请继续轮询。

> [card] [相关指南: 重试与模型预热](https://docs.fastino.ai/cn/troubleshooting/retries.md)

## 请求示例

```bash theme={null}
MODEL_ID=fastino/gliner2.5-multi-v1

curl "https://api.fastino.ai/v1/model-status/$MODEL_ID" \
  -H "X-API-Key: $FASTINO_API_KEY"
```

## 响应示例

```json theme={null}
{
  "model": "fastino/gliner2.5-multi-v1",
  "state": "starting",
  "warming_for_seconds": 42,
  "retry_after_seconds": 15
}
```


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