Example
Options
FILE: JSON array of up to 100 receipts. No command-specific options.Exit status
0 on success; 2 on invalid input, receipt conflict, configuration or file failure.Behavior and limits
Behavior and limits
Imports an array of up to 100 caller-supplied submission receipts into A successful import prints
.agentlinkops/index-submissions.jsonl. The paths.indexSubmissions configuration field can change this location.Input and stored files are capped at 32 MiB. A writer lock protects an atomic merge.The pair project_id and id identifies one immutable attempt: identical replays keep one record; changed content conflicts. Use a new ID for each actual attempt.The command makes no network requests and sends no URL submissions.Receipt schema
Every row must contain exactly these nine fields. Extra fields, including credentials, are rejected.For hashing, construct an object in this exact insertion order:
v, id, project_id, url, channel, endpoint, submitted_at, http_status. Hash the UTF-8 bytes of JSON.stringify(body) with no pretty printing or trailing newline.Exclude evidence_sha256 from the hash. JSON field order in the imported file may differ; validation reconstructs the stated order.The digest checks local integrity. It does not authenticate the provider or prove the request happened.Retain actual response evidence in your own records; do not invent timestamps or responses. Never put an IndexNow key, authorization header or request body in this file.Build an illustrative import file
Save this asmake-submission.mjs and run node make-submission.mjs. This example sends nothing and records no actual provider result.Replace its example values with a response you retained before using it as evidence.imported (input row count, including replays) and total (all stored projects). Read submission exports for a project-filtered archive and chronological reconciliation for later observations.Existing index receipt import supplies the separate observation archive.Full command syntax
Full command syntax
Configuration and file contracts
Configuration and file contracts
Read configuration and file ownership for environment variables, compatibility aliases and writer locks. Read local file contracts for artifact fields. Browse the CLI index for related commands.
Check the selected environment and workspace access before calling hosted operations. See capability status.