---
title: "Nhật ký các lượt chạy job gần nhất - cả theo lịch SQL Server Agent lẫn chạy tay."
method: GET
path: "/admin/ir/jobs/runs"
tags: ["IRAdmin"]
---

# Nhật ký các lượt chạy job gần nhất - cả theo lịch SQL Server Agent lẫn chạy tay.

`GET /admin/ir/jobs/runs`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/admin/ir/jobs/runs`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-read`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/admin/ir/jobs/runs/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `job` string
- `count` integer

## Response `200`

OK

- FireAntApiModelsIRIRJobRunItem[]
  - `runId` integer: ID lượt chạy
  - `jobName` string: Tên job: ingest, ai, alerts, operations, daily, topics...
  - `triggeredBy` string: sqlagent khi chạy theo lịch, tên đăng nhập khi chạy tay
  - `startedDate` string, date-time: Bắt đầu
  - `finishedDate` string, date-time: Kết thúc, null khi đang chạy
  - `durationMs` integer: Thời gian chạy (ms)
  - `status` integer: 0 đang chạy, 1 xong, 2 xong nhưng lỗi từng phần, 3 thất bại
  - `summary` string: Tóm tắt kết quả
  - `errors` string: Lỗi từng phần (mỗi dòng một mã / một phần tử)

## Changes

- **2026-09-25** `a481789cd81c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/admin/ir/jobs/runs/get.md)

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
