edgegate-mcp

v0.19.0
io.github.frozo-ai/edgegate-mcp Checked 1 day ago Published 3 months ago

Regression-test AI models on real Snapdragon and Jetson hardware, with signed evidence for CI.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

edgegate_setup_workspace

Confirm or list EdgeGate workspaces visible to the API key. Run this first in a fresh conversation to lock in which workspace_id the other tools should use.

ParameterTypeDescription
workspace_idstringOptional UUID. If omitted, lists all visible workspaces.

edgegate_create_pipeline

Create a new EdgeGate regression pipeline. Define which model(s), which device(s), and which gates (e.g. inference_time_ms ≤ 10) the pipeline will enforce. For LLMs: set llm_compile_source on a model instead of artifact_id. EdgeGate will compile + link via AI Hub on first run; subsequent runs reuse the cached composite. ttft_ms + tps gates work; both are derived from per-component profile (prompt-role inference_time → TTFT; 1000/token-role inference_time → TPS). Each LLM gate run = 3 AI Hub profile jobs (one per component) ≈ 3× CV cost.

ParameterTypeDescription
devices *array
gates *array
name *string
promptpack_id *string
workspace_id *string
input_specsobjectOptional. Override AI Hub input shapes per named input. For text models like MiniLM, try `{input_ids: {shape: [1, 128], dtype: "int64"}, attention_mask: {shape: [1, 128], dtype: "int64"}}`. Omit to le…
modelsarray
promptpack_versionstring
repeatsinteger

edgegate_run_gate

Trigger an EdgeGate run against a pipeline. Returns a run_id you can poll with edgegate_check_status.

ParameterTypeDescription
pipeline_id *string
workspace_id *string
model_artifact_idstring

edgegate_check_status

Get the current status of an EdgeGate run, including per-device metrics and which gates passed or failed.

ParameterTypeDescription
run_id *string
workspace_id *string

edgegate_get_report

List recent EdgeGate runs in a workspace with status, duration, and trigger.

ParameterTypeDescription
workspace_id *string
limitinteger

edgegate_get_audit_report

Get the signed audit report PDF URL for a completed EdgeGate run. Used for compliance records.

ParameterTypeDescription
run_id *string
workspace_id *string

edgegate_setup_github_action

Generate the GitHub Actions workflow YAML + gh secret commands so every PR runs EdgeGate as a CI gate.

ParameterTypeDescription
workspace_id *string
model_artifact_idstring
pipeline_idstring

edgegate_compare_runs

Diff two EdgeGate runs in the same pipeline — metrics delta, gate flips (✓→✗ regressions and ✗→✓ recoveries), per-device breakdown, and an overall verdict (REGRESSION / IMPROVEMENT / NEUTRAL / NO BASELINE). When baseline_run_id is omitted, auto-selects the most recent PASSED run from the same pipeline as the baseline.

ParameterTypeDescription
run_id *stringCandidate run to evaluate
workspace_id *string
baseline_run_idstringBaseline to compare against. When omitted, auto-selects the most recent PASSED run from the same pipeline (excluding the candidate itself), or the most recent completed run as a fallback.

edgegate_export_run_report

Download a human-readable markdown report for an EdgeGate run and save it to disk. Returns the absolute file path plus a preview of the first 30 lines. Optionally includes a run-vs-baseline diff section (include_diff=true).

ParameterTypeDescription
run_id *string
workspace_id *string
include_diffbooleanWhen true, also fetches the run-vs-baseline diff and appends a diff section to the report.
output_pathstringWhere to write the markdown file. Defaults to `./edgegate-run-{id-short}.md` in the current working directory. If a directory, the file is named `edgegate-run-{id-short}.md` inside it. Supports `~` an…

edgegate_import_huggingface_model

Import a public Hugging Face model that contains a pre-built ONNX file. EdgeGate downloads the file and registers it as an Artifact. Returns the artifact_id you can pass directly to edgegate_create_pipeline. Polls until the import completes by default (poll_for_completion=true); set to false to return immediately with the job id.

ParameterTypeDescription
hf_repo_id *string
workspace_id *string
filenamestring
max_poll_secondsinteger
poll_for_completionboolean
revisionstring

edgegate_predict_npu_coverage

Predict which ONNX ops will run on the Qualcomm Hexagon NPU vs fall back to CPU, BEFORE spending any AI Hub credits. Returns a compute-weighted NPU coverage % (the latency-honest number), op-count coverage, risk band, per-op CPU fallbacks, and fix recommendations. Heuristic — the real device run remains authoritative.

ParameterTypeDescription
artifact_id *string
workspace_id *string

edgegate_list_promptpacks

List all promptpacks in an EdgeGate workspace. Returns a markdown table with promptpack_id, version, case count, published status, and creation date. Use include_unpublished=false to hide draft packs.

ParameterTypeDescription
workspace_id *string
include_unpublishedbooleanWhen false, hides packs with published=false (client-side filter). Default: true.

edgegate_create_promptpack

Create a new promptpack in an EdgeGate workspace. A promptpack defines the test cases (prompts, expected outputs, per-case overrides) that regression pipelines evaluate. Requires admin role on the workspace. Packs are immutable after creation — bump the version to update.

ParameterTypeDescription
cases *array
name *string
promptpack_id *string
version *string
workspace_id *string
defaultsobject
descriptionstring
tagsarray

edgegate_publish_promptpack

Publish a promptpack version in an EdgeGate workspace so it can be referenced in pipelines. Newly created packs start as unpublished — call this after edgegate_create_promptpack to complete the create → publish → use lifecycle. Requires admin role on the workspace. The operation is idempotent.

ParameterTypeDescription
promptpack_id *string
version *string
workspace_id *string

edgegate_connect_huggingface

Store a personal HuggingFace access token for this workspace so the import flow can read private / gated / Qualcomm-org repos (most qualcomm/*, Intel/*, and many Xenova/* repos 401 the anonymous endpoint). The token is validated against HF whoami before encryption and is never echoed in plaintext. If an integration already exists this tool rotates the token. Requires admin role.

ParameterTypeDescription
token *stringPersonal HuggingFace access token (starts with hf_). Generate one at https://huggingface.co/settings/tokens — Read scope is enough for the import flow.
workspace_id *string

edgegate_get_huggingface_integration

Show whether a personal HuggingFace token is connected to this workspace (and whether it is currently active or disabled). Does not return the token itself.

ParameterTypeDescription
workspace_id *string

edgegate_disconnect_huggingface

Permanently delete the workspace's HuggingFace integration. Future HF imports fall back to anonymous access. Requires owner role.

ParameterTypeDescription
workspace_id *string

edgegate_connect_qaihub

Store a Qualcomm AI Hub API token for this workspace so EdgeGate can submit compile + profile jobs on real Snapdragon devices. The token is encrypted at rest and is never returned in plaintext after the initial connect. If an integration already exists this tool transparently rotates the token. Requires admin role.

ParameterTypeDescription
token *stringQualcomm AI Hub API token. Generate one at https://app.aihub.qualcomm.com/account/api-token — it's the same token you'd export as QAIHUB_API_TOKEN in a local SDK setup.
workspace_id *string

edgegate_get_qaihub_integration

Show whether a Qualcomm AI Hub token is connected to this workspace and whether it is currently active. Does not return the token itself.

ParameterTypeDescription
workspace_id *string

edgegate_disconnect_qaihub

Permanently delete the workspace's Qualcomm AI Hub integration. Any new EdgeGate runs in this workspace will then fail with NO_AIHUB_TOKEN until a fresh token is connected. Requires owner role.

ParameterTypeDescription
workspace_id *string

edgegate_create_workspace

Create a new EdgeGate workspace. The caller automatically becomes the owner. Subject to plan-tier workspace limits. After creation, connect Qualcomm AI Hub and define pipelines as usual.

ParameterTypeDescription
name *stringDisplay name for the new workspace, e.g. "MobileNet Production".

edgegate_list_api_keys

List all API keys in this workspace (id, name, prefix...suffix, status, last_used). Plaintext is never returned. Requires owner role.

ParameterTypeDescription
workspace_id *string

edgegate_create_api_key

Create a new API key for this workspace. The plaintext token is returned EXACTLY ONCE in the response — copy it to your CI secrets or local env immediately. Requires Pro tier or above. Requires owner role.

ParameterTypeDescription
name *stringHuman-readable label for the key, e.g. "GitHub Actions production" — you'll need this later to identify which key to rotate or revoke.
workspace_id *string
expires_atstringOptional ISO-8601 expiry timestamp. Omit for a non-expiring key (you can always revoke it manually).

edgegate_revoke_api_key

Revoke an API key by id. The key is immediately rejected for all subsequent requests; the row is preserved (with revoked_at set) so the audit trail survives. Destructive. Requires owner role.

ParameterTypeDescription
key_id *stringUUID of the key to revoke (the `id` field from `edgegate_list_api_keys`). This is destructive and immediate — any CI job or client still using the plaintext will fail authentication on the next requ…
workspace_id *string

edgegate_list_members

List all members of this workspace with their email + role. Requires at least viewer role.

ParameterTypeDescription
workspace_id *string

edgegate_list_devices

List every Qualcomm AI Hub device EdgeGate can target (Snapdragon phones, QRD/CRD reference platforms, IoT Dragonwing, automotive, XR). Returns a markdown table grouped by category. Use the `id` column verbatim when building a `create_pipeline` device matrix. No workspace_id needed — the catalog is global.

ParameterTypeDescription
categorystringOptional form-factor filter. Omit to return the full catalog grouped by category.

edgegate_list_device_targets

List the customer's OWN connected devices (Jetson, Snapdragon hosts, gateways) with live/offline status computed from each device's heartbeat (30s beat, 90s window). This is the workspace fleet connected via `edgegate-runner agent` — NOT the global AI Hub catalog (use edgegate_list_devices for that). If empty, the response includes copy-paste connect instructions for the customer.

ParameterTypeDescription
workspace_id *string

edgegate_run_device_benchmark

Dispatch an ONNX benchmark to one of the customer's connected devices (Jetson, Snapdragon host, gateway) by name/id. The on-device agent picks it up within ~30s and reports latency/memory results. Multi-silicon: works for any vendor the customer has connected. Requires admin role.

ParameterTypeDescription
device *stringDevice to run on: DB UUID, agent device_id, or the exact display name from edgegate_list_device_targets.
model_artifact_id *stringONNX model artifact in this workspace.
workspace_id *string
model_namestringLabel for the result; defaults to the artifact filename.

edgegate_invite_member

Add an existing EdgeGate user to this workspace by email at the given role (owner / admin / viewer). v1 only attaches existing users — does not send invitation emails to external addresses. Requires admin role; only owners can add other owners.

ParameterTypeDescription
role *stringTheir role in this workspace. `owner` = full control including billing and member management; `admin` = can manage pipelines and runs but not billing or delete the workspace; `viewer` = read-only.
user_email *stringEmail of an existing EdgeGate user to add. The user must already have an EdgeGate account — this tool does NOT send invitation emails to external addresses (v1 only attaches existing users).
workspace_id *string

edgegate_change_member_role

Change a member's role in this workspace. Cannot downgrade the last owner — promote another member to owner first. Requires owner role.

ParameterTypeDescription
role *stringThe new role. Requires the caller to be a workspace owner.
user_id *stringTarget member's user_id (from `edgegate_list_members`).
workspace_id *string

edgegate_remove_member

Remove a member from this workspace. The user loses access immediately; their pipelines and runs are preserved. Cannot remove the last owner. Destructive. Requires owner role.

ParameterTypeDescription
user_id *stringTarget member's user_id (from `edgegate_list_members`). The user immediately loses access to the workspace. Their pipelines and runs are preserved — this only removes the membership row.
workspace_id *string

edgegate_setup_byo_storage

Enterprise only. Zero-friction BYO storage setup — creates a pending grant with EdgeGate (returns the External ID) and returns the exact AWS CLI commands the agent should run to create the IAM role in the customer's AWS account. Pair with edgegate_attach_byo_role to finalize. Prefer this over edgegate_register_byo_bucket for new setups — the agent doesn't have to figure out the trust policy or guess at role names. Requires owner role. 402 from non-Enterprise workspaces; if a non-pending grant exists, instructs the agent to disconnect first.

ParameterTypeDescription
bucket *stringS3 bucket name (not the URI) you want EdgeGate to read model bytes from.
region *stringAWS region the bucket lives in, e.g. us-east-1.
workspace_id *stringWorkspace ID. Must be Enterprise-tier with BYO storage enabled.
kms_key_idstringOptional KMS key ARN if the bucket uses SSE-KMS with a customer-managed key. The IAM role will be granted kms:Decrypt on this key. Leave unset for SSE-S3 or SSE-KMS with the AWS-managed key.
role_name_overridestringOptional override for the IAM role name. Default mirrors the CloudFormation path: edgegate-byo-read-<first-8-chars-of-external-id>.

edgegate_attach_byo_role

Phase 2 of edgegate_setup_byo_storage. Hands the freshly-created Role ARN back to EdgeGate, which runs sts:AssumeRole + a deny-by-default HEAD probe to verify the trust + permission policies are correct. Flips the grant to 'active' on success, or returns a typed BYO_* error with a checklist of common misconfigurations on failure. Re-callable with the same role_arn after fixing IAM.

ParameterTypeDescription
role_arn *stringARN of the IAM role created in step 3 of edgegate_setup_byo_storage. Format: arn:aws:iam::<account-id>:role/<name>. EdgeGate will sts:AssumeRole this immediately to verify the trust + permission polic…
workspace_id *string

edgegate_register_byo_bucket

Enterprise only. **Use edgegate_setup_byo_storage instead for new setups** — this tool only works if you already have an IAM role and just want to register its ARN. Registers the workspace's customer-owned S3 bucket + IAM role as a BYO storage grant. EdgeGate's workers will AssumeRole into your AWS account to read model bytes — they never leave your account. Returns the External ID you must add to your role's trust policy. Requires owner role. 402 from non-Enterprise workspaces; 409 if a grant already exists.

ParameterTypeDescription
bucket *stringS3 bucket name (not the URI — just the bucket name).
region *stringAWS region the bucket lives in, e.g. us-east-1.
role_arn *stringARN of the IAM role EdgeGate's workers will assume to read your bucket. Created by the EdgeGate CloudFormation launch stack (or your equivalent Terraform module). Format: arn:aws:iam::<account-id>:rol…
workspace_id *string
kms_key_idstringOptional KMS key ARN if the bucket uses SSE-KMS. The IAM role must have kms:Decrypt on this key.

edgegate_check_byo_bucket

Re-run the AssumeRole + HeadObject readiness probe against the workspace's BYO grant. Returns the updated grant status with the typed BYO_* error code if it failed, plus a checklist of common IAM / bucket / KMS misconfigurations to inspect. Requires admin role.

ParameterTypeDescription
workspace_id *string

edgegate_register_byo_artifact

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.

ParameterTypeDescription
s3_uri *stringFull 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 *string
expected_sha256stringOptional 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…
expected_sizeintegerOptional 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.
kindstringArtifact kind. Defaults to 'model'.
original_filenamestringOptional display filename for run reports.

edgegate_disconnect_byo_bucket

Delete the workspace's BYO storage grant. EdgeGate stops attempting to read from your bucket. Refuses (409) if artifacts still reference it — surface lists the safe paths forward (rotate External ID via dashboard, or drop the artifacts first). Destructive. Requires owner role.

ParameterTypeDescription
workspace_id *string

edgegate_llm_compile

Submit a multi-component LLM compile + link job via Qualcomm AI Hub. Returns a compile_job_id; poll with edgegate_check_llm_compile_status. Spend is gated by the workspace's monthly LLM compile cap (default 100/mo Pro tier). Each compile produces a composite QNN_DLC linked model + 3 component artifacts (prompt / token / kv_cache). Compile target_runtime is QNN_DLC under the hood despite the genie label — the label is for downstream profile dispatch hints only.

ParameterTypeDescription
device_id *string
source_artifact_ids *array
workspace_id *string
context_lengthsarray
rolesarray
sequence_lengthsarray
target_runtimestring

edgegate_check_llm_compile_status

Poll an LLM compile job. Returns status (queued|running|completed|failed), composite_artifact_id when complete, error_detail when failed, and progress.compile_jobs_done / total.

ParameterTypeDescription
compile_job_id *string
workspace_id *string

edgegate_get_byo_audit

Fetch the workspace's append-only BYO storage audit log (every AssumeRole, HeadObject, GetObject, KMS Decrypt). Supports filters by artifact_id, run_id, since timestamp, plus cursor pagination. Each row's aws_request_id is the join key for cross-referencing against your own CloudTrail. Requires admin role.

ParameterTypeDescription
workspace_id *string
artifact_idstringFilter to events referencing this artifact.
cursorintegerOpaque cursor returned by a previous call. Pass it back verbatim to fetch the next page; omit on the first call.
limitintegerPage size (1–500, default 100).
run_idstringFilter to events from this run.
sincestringISO-8601 timestamp; only include events newer than this.

edgegate_list_eval_packs

List the bundled behavioral eval-set starter packs a customer can clone from. Returns each pack's id, name, case count, and balance (must_refuse / task counts). Clone one into a new eval set via edgegate_create_eval_set(clone_from=<id>). No workspace_id needed — the pack library is global.

edgegate_create_eval_set

Create a new behavioral eval set with its first draft version. Seed it from a bundled pack (clone_from), with explicit cases, both, or neither (empty draft). Each case has six fields: case_id, prompt, category (jailbreak|forbidden_action|task|format), forbidden_actions, must_refuse, expected_task_answer. Drafts are NOT validated here — only edgegate_publish_eval_set freezes + gates. Requires workspace write access.

ParameterTypeDescription
name *string
workspace_id *string
casesarrayExplicit list of case dicts. May be combined with clone_from or used instead. Omit both to start with an empty draft.
clone_fromstringA pack id from edgegate_list_eval_packs; seeds the draft with that pack's cases.

edgegate_list_eval_sets

List the workspace's behavioral eval sets — eval_set_id, name, latest version, and creation date. Use the eval_set_id with the update / publish / new-version tools.

ParameterTypeDescription
workspace_id *string

edgegate_update_eval_set

Replace ALL cases of a DRAFT eval-set version (full replacement list, not a patch). Published versions are immutable — a 409 here means you must fork a fresh draft with edgegate_new_eval_set_version first. Still leaves the version a draft; publish separately. Requires workspace write access.

ParameterTypeDescription
cases *arrayThe FULL replacement list of case dicts for this draft version.
eval_set_id *string
version_id *string
workspace_id *string

edgegate_publish_eval_set

Validate and freeze a draft eval-set version into an immutable, signed, hash-anchored version. On success returns eval_set_sha256 + artifact_id (feed both into a 3b Behavioral-Gate run). On validation failure returns the balance/structural violations and the version stays a draft (floor: ≥5 must_refuse-with-forbidden cases + ≥1 task case). Requires workspace write access.

ParameterTypeDescription
eval_set_id *string
version_id *string
workspace_id *string

edgegate_new_eval_set_version

Fork a fresh draft (version+1) from a PUBLISHED version, seeded with its cases — the edit-after-publish path. Edit the new draft with edgegate_update_eval_set, then re-publish. The original published version (and any references / runs bound to its sha) is untouched. Requires workspace write access.

ParameterTypeDescription
eval_set_id *string
from_version *stringThe version_id of a PUBLISHED version to seed the new draft from.
workspace_id *string

edgegate_capture_reference

Trigger a reference-oracle capture — the known-good baseline the Behavioral Gate diffs the on-device quantized model against. Specify EXACTLY one flavor: hf_repo (auto-FP16, EdgeGate runs the un-quantized same model) or reference_upload_artifact_id (golden, customer-supplied). Returns a job_id to poll. Requires workspace admin access.

ParameterTypeDescription
eval_set_artifact_id *stringPublished eval-set artifact id (the artifact_id from edgegate_publish_eval_set).
system_prompt *stringSystem prompt the reference oracle is captured under.
workspace_id *string
decode_configobjectDecode settings, e.g. {"seed": 0}. Defaults to an empty object.
hf_repostringauto-FP16 flavor: HF repo EdgeGate runs un-quantized as the oracle.
reference_upload_artifact_idstringgolden flavor: a customer-supplied reference upload artifact id.

edgegate_check_reference_capture_status

Poll a reference-capture job. When status is done, returns reference_artifact_id — an ArtifactKind.REFERENCE artifact — to feed into edgegate_create_bg_run as the gate's trustworthy baseline. Requires workspace admin access.

ParameterTypeDescription
job_id *stringThe job_id returned by edgegate_capture_reference.
workspace_id *string

edgegate_compile_genie

Submit a 3-lane genie compile for the Behavioral Gate's self-hosted runner. Specify EXACTLY one lane selector: hf_repo (Lane A — EdgeGate compiles a HuggingFace repo), onnx_artifact_ids (Lane B — genie-ready multi-part ONNX, compile-and-link), or bundle_artifact_id (Lane C — an already-precompiled bundle). Returns a job_id to poll. Requires workspace admin access.

ParameterTypeDescription
device_id *stringTarget device chipset id the bundle compiles for, e.g. sm8550.
workspace_id *string
bundle_artifact_idstringLane C: an already-precompiled genie bundle artifact id.
hf_repostringLane A: a HuggingFace repo id EdgeGate compiles into a genie bundle.
onnx_artifact_idsarrayLane B: genie-ready multi-part ONNX artifact ids to compile-and-link.

edgegate_check_genie_compile_status

Poll a genie-compile job. When status is done, returns bundle_artifact_id — the compiled genie bundle to feed into edgegate_create_bg_run. Requires workspace admin access.

ParameterTypeDescription
job_id *stringThe job_id returned by edgegate_compile_genie.
workspace_id *string

edgegate_create_bg_run

Wire a compiled genie bundle + published eval set + reference oracle into a behavioral-gate Run — populates Run.runner_config_json so the self-hosted runner can execute the gate on-device. Errors with a mismatch hint when the reference was captured against a different eval-set version (eval_set_sha256 differs). Requires workspace admin access.

ParameterTypeDescription
bundle_artifact_id *stringCompiled genie bundle artifact id from edgegate_check_genie_compile_status.
eval_set_artifact_id *stringPublished eval-set artifact id from edgegate_publish_eval_set.
reference_artifact_id *stringReference-oracle artifact id from edgegate_check_reference_capture_status.
workspace_id *string
decode_configobjectDecode settings, e.g. {"seed": 0}. Defaults to an empty object.
device_labelstringHuman-readable device label, e.g. "Samsung Galaxy S23 Ultra / Snapdragon 8 Gen 2 (SM8550)".
requirement_mapobjectISO 26262 traceability: maps a gate/signal name to its safety requirement id + ASIL, e.g. {"forbidden_action": {"requirement_id": "SR-CABIN-014", "asil": "B"}}. Surfaced by edgegate_export_compliance_…
system_promptstringSystem prompt the run executes under. Defaults to empty.
vendorstringRunner vendor. Defaults to "qualcomm".

edgegate_cancel_run

Cancel a non-terminal run, freeing the workspace's single active-run slot. Useful for a behavioral-gate run left queued waiting for a device that never reports back (it would otherwise block new runs). 409 if the run is already terminal.

ParameterTypeDescription
run_id *stringRun to cancel. Frees the workspace's single active-run slot.
workspace_id *string

edgegate_rerun_bg

Re-run an existing behavioral-gate run: clones its already-validated config (same bundle + eval set + reference + system prompt + device) into a fresh queued run — no need to re-supply artifact ids. 409 if the workspace already has an active run (cancel it first).

ParameterTypeDescription
run_id *stringAn existing behavioral-gate run to re-run (same config, fresh run).
workspace_id *string

edgegate_setup_bg_github_action

Generate the Behavioral-Gate GitHub Actions setup — the self-hosted-runner prerequisites, the workflow YAML (using the edgegate-bg composite action), and the gh secret commands. Unlike the standard run gate, BG runs the model on a real device, so it needs a self-hosted runner with the device attached.

ParameterTypeDescription
workspace_id *string
adb_serialstringadb serial of the attached device.
api_urlstringEdgeGate API URL. Defaults to "https://edgegateapi.frozo.ai".
bundle_artifact_idstring
device_labelstring
eval_set_artifact_idstring
reference_artifact_idstring
runner_labelstringSelf-hosted runner label. Defaults to "snapdragon".
system_promptstring

edgegate_export_compliance_report

Export the compliance-preset report for a run (e.g. ISO 26262 verification evidence) — a re-frame of the run's already-signed evidence against the standard's clauses (config identification, verification, change mgmt, tool classification, integrity). Verification evidence, NOT a compliance certification. The formatted assessor PDF is on the dashboard run page.

ParameterTypeDescription
run_id *string
workspace_id *string
presetstringCompliance preset. Default "iso26262".

edgegate_export_field_recorder_report

Export the Field Recorder EU AI Act Article 12 record-keeping report for a date range — the signed, hash-chained evidence of what deployed models did on-device (clause 12(1)/12(2)(a)/12(2)(b)/integrity mapping, event summary, Ed25519 signature). Verification evidence, NOT a compliance certification. The formatted assessor PDF is on the Field Recorder dashboard page.

ParameterTypeDescription
from *stringStart of the reporting period (ISO 8601, e.g. 2026-06-01).
to *stringEnd of the reporting period (ISO 8601, e.g. 2026-07-01).
workspace_id *string
device_idstringOptional — restrict the report to a single device.

edgegate_recorder_status

Field Recorder status for a workspace: recorded-event counts, replay/divergence breakdown (passed/diverged/no_reference), hash-chain integrity (verified, gaps, signing keys), and the devices reporting in. Read-only.

ParameterTypeDescription
workspace_id *string
device_idstringOptional — scope the status to a single device.

edgegate_trigger_replay

Replay pending recorded events against their certified reference (a PASSED gate run for the same model) plus the input-matched baseline. Verdicts land asynchronously — poll edgegate_recorder_status. Events with no certified reference resolve to no_reference.

ParameterTypeDescription
workspace_id *string
device_idstringOptional — only replay events from this device.
limitintegerMax pending events to replay this call. Default 100.