> ## 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/training/jobs/{job_id}/logs/{log_id}`

返回训练任务输出日志中的一整行，并已脱敏。用于状态摘要截短或省略的行；`log_id` 取自摘要或[获取训练日志](https://docs.fastino.ai/cn/api-reference/training-jobs/logs.md)。

此操作仅适用于配置任务；交互式任务 ID 返回 `400`。

## 请求

**X-API-Key** `string` *required*

您的 Fastino API 密钥。

**job\_id** `string` *required*

训练任务 UUID。

**log\_id** `string` *required*

日志行 ID。

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

## 响应

**id** `string`

日志行 ID。

**job\_id** `string`

训练任务 UUID。

**timestamp** `string`

该行的写入时间。

**level** `string`

日志级别，例如 `INFO` 或 `ERROR`。

**source** `string`

`stdout`、`stderr` 或 `system`。

**size\_bytes** `integer`

所存储行的大小（字节）。

**message** `string | null`

完整的行，已移除凭据、存储位置、内部路径、电子邮件地址和回溯帧。没有可显示的内容或 `omitted` 为 `true` 时为 `null`。

**omitted** `boolean`

该行过大无法返回时为 `true`；此时仅报告其大小。

```json Response theme={null}
{
  "id": "YOUR_LOG_ID",
  "job_id": "YOUR_TRAINING_JOB_ID",
  "timestamp": "2026-09-22T20:00:00Z",
  "level": "ERROR",
  "source": "stderr",
  "size_bytes": 1840,
  "message": "Label 'person' not found in schema ...",
  "omitted": false
}
```

未知或无法访问的任务，或该任务不存在的日志行，返回 `404`。


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