---
title: "查询评测状态 (submission:read)"
method: GET
path: "/submission/{submission}"
tags: ["submission"]
---

# 查询评测状态 (submission:read)

`GET /submission/{submission}`

## Path parameters

- `submission` integer, required

## Response `200`

查询成功

- Submission
  - `id` integer
  - `friendly_name` string — 提交者昵称
  - `problem` ProblemBrief
    - `id` integer
    - `title` string, nullable — 题目未发布时此项为 null
    - `url` string, nullable — 题目未发布时此项为 null
    - `submit_url` string, nullable — 题目未发布时此项为 null
    - `html_url` string, nullable — 题目未发布时此项为 null
  - `public` boolean — 代码是否公开可见
  - `language` 'cpp' | 'python' | 'git' | 'verilog' | 'quiz'
  - `score` integer
  - `message` string, nullable
  - `details` object, nullable — 评测点详情。格式可能在未来变动，请以 API 实际返回值为准。
  - `time_msecs` integer, nullable
  - `memory_bytes` integer, nullable
  - `status` 'accepted' | 'wrong_answer' | 'compile_error' | 'runtime_error' | 'time_limit_exceeded' | 'memory_limit_exceeded' | 'disk_limit_exceeded' | 'memory_leak' | 'pending' | 'compiling' | 'judging' | 'void' | 'aborted' | 'skipped' | 'system_error' | 'bad_problem' | 'unknown_error'
  - `should_auto_reload` boolean — 是否应该轮询评测状态（为 true 表示评测尚未结束）
  - `should_show_score` boolean — 是否应该显示分数（如评测未完成、中止、分数无效等情况不应显示分数）
  - `created_at` string, date-time
  - `code_url` string — 使用时需要携带 Authorization header
  - `abort_url` string, nullable — 若不能中止，则为 null
  - `html_url` string

## Changes

- **2026-07-17** `b263b49cfa50` — 1 info
  - added the optional property `should_auto_reload` to the response with the `200` status
- **2024-08-14** `aa6951cc6ba1` — 9 breaking
  - the response property `abort_url` became nullable for the status `200`
  - the response property `details` became nullable for the status `200`
  - the response property `memory_bytes` became nullable for the status `200`
  - the response property `message` became nullable for the status `200`
  - …5 more
- **2024-08-14** `31431aaf46d3` — 6 warning, 5 info
  - removed the optional property `problem_id` from the response with the `200` status
  - added the new `cpp` enum value to the `language` response property for the response status `200`
  - added the new `git` enum value to the `language` response property for the response status `200`
  - added the new `python` enum value to the `language` response property for the response status `200`
  - …7 more
- **2024-08-12** `abf18f0fc1b3` — 6 warning, 6 info
  - removed the optional property `abort_url` from the response with the `200` status
  - removed the optional property `created_at` from the response with the `200` status
  - removed the optional property `details` from the response with the `200` status
  - removed the optional property `html_url` from the response with the `200` status
  - …8 more

[Change history](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/changes/submission/:submission/get.md)

---

[API](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1.md) · [All operations](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/acmclassoj/acmoj-api-v1/revisions/b263b49cfa50/schema)
