ISO 8601 creation timestamp.
Default branch name (e.g. "main").
Repository description, or null if not set.
Unique repository ID.
ISO 8601 timestamp of the last push, or null if never pushed.
Repository name.
Whether the repository is read-only.
HTTPS git remote URL.
Fork source (e.g. "github:owner/repo", "artifacts:namespace/repo"), or null if not a fork.
ISO 8601 last-updated timestamp.
Create an access token for this repo.
Optionalscope: "read" | "write"Token scope: "write" (default) or "read".
Optionalttl: numberTime-to-live in seconds (default 86400, min 60, max 31536000).
Fork this repo to a new repo.
Target repository name.
Optionalopts: { defaultBranchOnly?: boolean; description?: string; readOnly?: boolean }Optional: description, readOnly flag, defaultBranchOnly (default true).
List tokens for this repo (metadata only, no plaintext).
Handle for a single repository. Returned by Artifacts.get().
Methods may throw
ArtifactsErrorwith codeINTERNAL_ERRORif an unexpected service error occurs.