at.functions.metadata

A WebAssembly function registered on AT Protocol

Details · record, key any
Kindrecord
Record keyany
Authorityfunctions.at
Indexed

Record

record · key any

Properties

For host-v1: list of AT URIs the function may read from

itemsstring

code

requiredblob

Compiled WebAssembly binary

  • accept: application/wasm

Optional description of what the function does

  • maxLength: 2048

entrypoint

requiredstring

WASM export name to call (always 'run')

  • const: "run"

inputEncoding

requiredstring

Input encoding (always application/json)

  • const: "application/json"

Optional JSON Schema for input validation

Execution timeout in milliseconds

  • minimum: 1
  • maximum: 5000
  • default: 100

Memory limit in megabytes

  • minimum: 1
  • maximum: 256
  • default: 32

mode

requiredstring

Execution mode

  • knownValues: pure-v1 | host-v1 | component-v1

name

requiredstring

Human-readable function name

  • maxLength: 128

outputEncoding

requiredstring

Output encoding (always application/json)

  • const: "application/json"

Optional JSON Schema for output description

public

boolean

Whether this function is publicly invocable

  • default: true

updatedAt

string

Last update time (ISO 8601 string). Useful for ensuring deploys produce a repo commit.

  • maxLength: 64

version

requiredstring

Semver string

  • maxLength: 32