edgegate_register_byo_artifact
Register an existing S3 object as an EdgeGate Artifact to use in pipelines or gates. Verifies the object via HeadObject and returns an artifact ID, without uploading data.
Instructions
Register an existing S3 URI in your registered bucket as an EdgeGate Artifact. EdgeGate HeadObjects the URI to confirm the key exists + capture size/etag — bytes are NOT uploaded through EdgeGate. Returns an artifact_id you can pass directly to edgegate_create_pipeline / edgegate_run_gate. Requires admin role. Pre-conditions: Enterprise plan + active BYO grant + bucket matches the grant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Artifact kind. Defaults to 'model'. | |
| s3_uri | Yes | Full S3 URI of the object in your registered bucket, e.g. s3://my-bucket/models/mobilenet-v2.onnx. Must live in the same bucket the grant was registered with. | |
| workspace_id | Yes | ||
| expected_size | No | Optional size in bytes. EdgeGate cross-checks against the HeadObject response and rejects the registration if they disagree — protects against stale pointers when an object was overwritten in S3. | |
| expected_sha256 | No | Optional SHA-256 of the object (hex). If supplied, downstream cells will fail with BYO_INTEGRITY_MISMATCH when the actual bytes don't match — a strong guarantee that you ran what you thought you ran. | |
| original_filename | No | Optional display filename for run reports. |