Artifact

Store one bounded value in the artifact space of the runx account the runtime is signed in as, and read it back by its reference.

1 implemented operation

connector.yaml
artifact.allocateStore one value, as JSON or canonical base64 bytes, under the media type it names. The artifact is keyed by the call's idempotency key, so a repeated call answers with the same artifact; the reference is read back before the call settles.artifact.allocate
artifact artifact.allocatecreate#
  • LocalReadyThe runtime stores it for the runx account it is signed in as.
Runx scope
artifact.allocate
Target
{"$argument":"/purpose"}
Repeats
enforced: The provider deduplicates by the idempotency key.
Local implementation
Instance store
Inputs
Field and constraintsType / valuesRequired
valueanyNo
purposePattern: ^\S(.*\S)?$Min. 1 characterMax. 256 charactersstringYes
media_typePattern: ^[^\s/]+/[^\s/]+$Min. 3 charactersMax. 200 charactersstringYes
data_base64Pattern: ^[A-Za-z0-9+/]*={0,2}$Min. 4 charactersstringNo

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "purpose",
    "media_type"
  ],
  "properties": {
    "value": {},
    "purpose": {
      "type": "string",
      "pattern": "^\\S(.*\\S)?$",
      "maxLength": 256,
      "minLength": 1
    },
    "media_type": {
      "type": "string",
      "pattern": "^[^\\s/]+/[^\\s/]+$",
      "maxLength": 200,
      "minLength": 3
    },
    "data_base64": {
      "type": "string",
      "pattern": "^[A-Za-z0-9+/]*={0,2}$",
      "minLength": 4
    }
  },
  "additionalProperties": false
}

Result fields artifact_uricontent_digestmedia_typesize_bytescreated_atprincipal_uri

Operation digest sha256:7a9a536d339a90f5dc52a55eff6b130ea4943a36c67c6c3f82da1e7fdde44727Implementation sha256:af7ecd670a8fb2110042423e3bdd5b96703aef93d18209bfbf7445789868ad58

Authentication

Commands here are for runx 0.11.1.

Artifact accepts no account at all.

No provider credential
No provider account or key is required. Runx still applies each operation’s declared scope and approval rules.

Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.

Permissions

Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on Artifact’s side; setting one up adds no Artifact permissions.

artifact.allocate
artifact.allocate

Skills that use Artifact