Skip to main content
Use registry__create_artifact to create one artifact whose content fits in JSON metadata.
  • Required inputs: kind and metadata.
  • Required metadata: name, workspace_id, and the selected kind’s required fields. A kind whose create hook names its rows — model and model_provider — may be created without name and replaces whatever name is sent; the reply carries the name it chose.
  • Optional inputs: session_id and Gateway’s rationale.
  • Effect: write; not idempotent.
Call registry__get_kind_schema first. Use extension__skill__create for Skills. For file bytes, reserve an upload with registry__request_file_upload and create the File with the returned upload_key.