List the artifacts of one Mission.
API version mission-status unreleased
Returns the eligible files of the Mission directory as a flat list sorted by path in byte order, at most 1000 entries, with truncated set when more existed. Each entry names the path, the class (kind), the size, the modification time and whether a read of its content would be answered 200. The two root status records of the Mission, status.events.jsonl and status.json, are not artifacts and are not listed; a symlink is never followed. Eligibility denies by default: a file is an artifact only when its name ends in .md, .json, .jsonl, .yaml, .yml, .csv or .txt (with that case), no segment of its path starts with a dot (.env, .git/), and, for a data file (not .md), its name less the extension is not credential, credentials, secret, secrets, service-account or service_account (compared by case fold) and does not start with client_secret. Any other file is not listed and is answered 404. The Mission is selected by its missionId only. The modification time depends on the serving host.
Parameters
Path Parameters
The canonical machine identity of a Mission: a 26-character Crockford ULID minted when the Mission is created and never changed. Never confuse it with displayNumber, which is display-only and repeats.
The identity of the Mission, a 26-character ULID. It is the only identifier accepted to select a Mission; the display number is never accepted.
Responses
200
The artifacts of the Mission.
The artifacts of one Mission: a flat list of its eligible files, sorted by path in the byte order of the UTF-8 encoding. At most 1000 entries are returned; truncated says whether more existed. The two root status records of the Mission, status.events.jsonl and status.json, are not artifacts and are never listed, and a symlink is never followed or listed.
object
The eligible files of the Mission directory, sorted by path in byte order, at most 1000. The list is empty for a Mission with no eligible file.
One artifact in a listing: an eligible file of the Mission directory. The entry names the file, its class and its size, and says whether a read of its content would be answered 200.
object
The class of the file, decided from its path.
When the file was last modified, as an RFC 3339 date-time in UTC with the suffix Z and whole seconds. It is the modification time of the file on the serving host, so it depends on that host: a fresh checkout or a copy of the Mission gives a different value.
The path of the file, relative to the Mission directory.
True when a read of the content of this file would be answered 200. False when it would be refused: the file is larger than 262,144 bytes (413), is not text, that is it holds a NUL byte or is not valid UTF-8 (415), holds a credential (422) or cannot be read (500). The credentials that make a file unreadable are a GitHub token (the prefixes ghp, gho, ghu, ghs and ghr, and the fine-grained prefix github_pat), an AWS access key id (the prefixes AKIA and ASIA) and the header line of a PEM private key. A file larger than the cap is decided from its size alone and is never opened.
The size of the file in bytes, as the file system reports it for the file itself.
The canonical machine identity of the Mission the listing belongs to.
True when more than 1000 eligible files existed and the list holds the first 1000 of them.
404
The Mission or the artifact does not exist, or the path names no eligible artifact (a directory, a symlink, a path through a symlink, or a root status record, whose name is matched without regard to case), refused with 404. The body is a problem details object whose code is not_found.
The problem details body of a refused artifact read. It is a Problem whose code is one of seven values, and the status follows from the code: 400 for invalid_artifact_path, 404 for not_found, 413 for artifact_too_large, 415 for artifact_not_text, 422 for artifact_secret, and 500 for artifact_unreadable and artifact_listing_unreadable. The body carries no file content, no host path and no Mission directory. Consumers branch on code, never on title.
object
A stable machine-readable code for the problem, such as the name of a refusal reason. Consumers branch on it, never on the title.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies this occurrence of the problem.
The HTTP status code of this occurrence.
A short, human-readable summary of the kind of problem. It does not change between occurrences.
A URI reference that identifies the kind of problem. Absent means about:blank.
The reason of the refusal. The status is fixed by it: 400, 404, 413, 415, 422, 500 and 500 in the order of the values.
500
The listing of the artifacts could not be built, refused with 500 and never answered as a shorter list. The body is a problem details object whose code is artifact_listing_unreadable.
The problem details body of a refused artifact read. It is a Problem whose code is one of seven values, and the status follows from the code: 400 for invalid_artifact_path, 404 for not_found, 413 for artifact_too_large, 415 for artifact_not_text, 422 for artifact_secret, and 500 for artifact_unreadable and artifact_listing_unreadable. The body carries no file content, no host path and no Mission directory. Consumers branch on code, never on title.
object
A stable machine-readable code for the problem, such as the name of a refusal reason. Consumers branch on it, never on the title.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies this occurrence of the problem.
The HTTP status code of this occurrence.
A short, human-readable summary of the kind of problem. It does not change between occurrences.
A URI reference that identifies the kind of problem. Absent means about:blank.
The reason of the refusal. The status is fixed by it: 400, 404, 413, 415, 422, 500 and 500 in the order of the values.
default
The request failed. The body is a problem details object.
The only non-2xx body of any module. A problem details object in the sense of RFC 9457, served as application/problem+json.
object
A stable machine-readable code for the problem, such as the name of a refusal reason. Consumers branch on it, never on the title.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies this occurrence of the problem.
The HTTP status code of this occurrence.
A short, human-readable summary of the kind of problem. It does not change between occurrences.
A URI reference that identifies the kind of problem. Absent means about:blank.