Code Run Instance
A code run along with its associated, code repo, configuration, input and outputs.
Writable Fields:
run_date: datetime of the CodeRun
description (optional): Free text description of the CodeRun
code_repo (optional): Reference to the Object associated with the StorageLocation where the code repository is stored
model_config: Reference to the Object for the YAML configuration used for the CodeRun
submission_script: Reference to the Object for the submission script used for the CodeRun
inputs: List of ObjectComponent that the CodeRun used as inputs
outputs: List of ObjectComponent that the CodeRun produced as outputs
uuid (optional): UUID of the CodeRun. If not specified a UUID is generated automatically.
Read-only Fields:
url: Reference to the instance of the ModelRun, final integer is the ModelRun id
last_updated: Datetime that this record was last updated
updated_by: Reference to the user that updated this record
ro_crate: The RO Crate containing this CodeRun plus any available input and output files
GET /api/code_run/1/?format=api
{ "url": "https://data.fairdatapipeline.org/api/code_run/1/?format=api", "ro_crate": "https://data.fairdatapipeline.org/api/ro-crate/code-run/1/", "uuid": "e769e23b-cc7b-4ffa-a470-74b6d9be6c74", "last_updated": "2026-10-02T11:04:45.804384Z", "run_date": "2026-10-02T12:03:18.127378Z", "description": "SEIRS Model python", "updated_by": "https://data.fairdatapipeline.org/api/users/2/?format=api", "code_repo": "https://data.fairdatapipeline.org/api/object/3/?format=api", "model_config": "https://data.fairdatapipeline.org/api/object/2/?format=api", "submission_script": "https://data.fairdatapipeline.org/api/object/4/?format=api", "inputs": [ "https://data.fairdatapipeline.org/api/object_component/1/?format=api" ], "outputs": [ "https://data.fairdatapipeline.org/api/object_component/5/?format=api", "https://data.fairdatapipeline.org/api/object_component/6/?format=api" ] }