Object Glossary
Detailed below are the central objects used in the API. This documentation is generated from the OpenAPI spec, and the original ordering is preserved. See the API endpoints docs for information detailing usage.
Manifest
The central scan data object.
Used as output by:
PATCH /scan/{scan_id}/manifest
POST /scan
POST /scans/find
Fields:
Field |
Type |
Description |
|---|---|---|
|
string |
Unique scan identifier. |
|
number |
|
|
boolean |
|
|
string |
CLI args for the scanner server k8s job (sensitive values are obfuscated by obfuscate_cl_args). |
|
string | null |
EWMS workflow id. The sentinel not-yet-requested means SkyDriver has not yet sent the workflow request to EWMS (see has_skydriver_requested_ewms_workflow()). |
|
string | null |
EWMS address used to differentiate EWMS instances. |
|
|
DEPRECATED – use ewms_workflow_id. Was used in SkyDriver 1.x for local k8s starter/stopper. |
|
integer |
HTCondor-style job priority. |
|
object |
Classifiers as stored on the manifest: scalar values or lists of scalars. (Compare with the stricter input shape used in POST /scan, which disallows lists and caps strings at 25 chars.) |
> (any key) |
string | boolean | number | integer | null | array of (string | boolean | number | integer | null) |
|
|
string |
ID into the i3_event collection. |
|
|
DEPRECATED – use i3_event_id. |
|
string | null |
DEPRECATED. |
|
object | null |
Encapsulates the identity of an event (nullable). |
|
|
Open-ended metadata set by the scanner (nullable). |
|
object | null |
Houses all the progress for a scan, updated throughout scanning (nullable). |
|
string | null |
If set, this scan has been replaced – used by REST redirects. |
|
number |
Result
Physics results for a scan.
Used as output by:
Fields:
Field |
Type |
Description |
|---|---|---|
|
|
See field in Manifest. |
|
|
Physics result payload; keys/values are open to requestor. See FreeFormObject. |
|
boolean |
ScanBacklogEntry
An entry for the scan backlog used for rate-limiting.
Used as output by:
GET /scans/backlog
Fields:
Field |
Type |
Description |
|---|---|---|
|
|
See field in Manifest. |
|
number |
Timestamp when the entry was added to the backlog (distinct from Manifest.timestamp). |
|
string | null |
DEPRECATED – replaced by SkyScanK8sJob in db. |
|
|
See field in Manifest. |
|
number |
|
|
integer |
ScanRequestObj
Persisted scan-request object (the input used to start a scan).
Used as output by:
Fields:
Field |
Type |
Description |
|---|---|---|
|
|
See field in Manifest. |
|
array of |
See field in Manifest. |
|
string |
|
|
|
See DataSize. |
|
string |
|
|
|
See FreeFormObject. |
|
|
See RealOrSimulatedEvent. |
|
|
See field in Manifest. |
|
|
See field in Manifest. |
|
|
See RequestClusters. |
|
|
See DataSize. |
|
|
See DataSize. |
|
integer |
|
|
|
See field in Manifest. |
|
array of string |
DebugMode values (as strings – the Python enum’s .value). |
|
|
See field in Manifest. |
|
|
SkyscanK8sJob
Fields:
Field |
Type |
Description |
|---|---|---|
|
|
See field in Manifest. |
|
object |
Raw Kubernetes job manifest/dict for the skyscan job. |
> (any key) |
||
|
number | null |
Unix timestamp (float) when the K8s job started, or null if not yet started. |
I3Event
Fields:
Field |
Type |
Description |
|---|---|---|
|
|
See field in Manifest. |
|
|
See FreeFormObject. |
ManifestAndResultResponse
The manifest plus (optionally) the persisted result.
Used as output by:
DELETE /scan/{scan_id}
GET /scan/{scan_id}
Fields:
Field |
Type |
Description |
|---|---|---|
|
|
See Manifest. |
|
|
Error
Used as output by:
Fields:
Field |
Type |
Description |
|---|---|---|
|
string |
|
|
string |
|
|
string |
FreeFormObject
Open-ended JSON object (keys and values unrestricted). Used wherever the shape is owned by an external system or the requestor.
Used as input by:
PATCH /scan/{scan_id}/manifest
POST /scan
POST /scans/find
Used as output by:
GET /openapi.json
RealOrSimulatedEvent
Event-type classification. real* values map to real events; sim* to simulation.
Used as input by:
POST /scan
LogUrlLink
A {url} wrapper pointing at a log endpoint. The URL is nullable while the log source is unavailable.
Used as output by:
Fields:
Field |
Type |
Description |
|---|---|---|
|
string | null |
DataSize
Human-friendly size string (e.g. ‘1GB’, ‘512MB’) parseable by humanfriendly.parse_size, or raw integer bytes.
Used as input by:
POST /scan
ManifestProjection
Fields to include in the returned manifest. Either “*” (all allowed fields) or an explicit array of field names. Omit the field entirely for the default (all fields, minus the disallowed ones on /scans/find). NOTE: under the legacy arghandler implementation, array values were silently broken (stringified via type=str); the OpenAPI-validated implementation is expected to accept both forms and normalize to a set server-side before the disallowed-fields check and dict_projection.
Used as input by:
DELETE /scan/{scan_id}
POST /scan
POST /scans/find
RequestClusters
Either a dict {cluster_location: n_workers} OR a list of [cluster_location, n_workers] 2-tuples. Use the list form to request the same cluster more than once.
Used as input by:
POST /scan
ScannerServerEnvFromUser
User-provided env-vars injected into the scanner server k8s job. Scalar values only. Limits are intentionally looser than the classifier input shape because env-var values (URLs, PATHs, tokens, etc.) routinely exceed 25 chars.
Used as input by:
POST /scan