veirox entity

Manage agent context entities (memory, knowledge, runbook, …)

Synopsis

veirox entity <subcommand> [args] [flags]

Description

CRUD over the unified /api/agent-entities/{kind} surface. Supported kinds: .

Subcommands

CommandDescription
veirox entity createCreate a new entity
veirox entity deleteSoft-delete an entity
veirox entity getGet one entity by UUID or slug
veirox entity listList entities of a given kind
veirox entity updateUpdate an entity (version-checked)

veirox entity create

Create a new entity

FlagTypeDefaultDescription
--body-filestringPath to a file whose contents become the body
--descriptionstringShort description
--kindstringEntity kind
--metadatastringJSON object — kind-specific metadata fields
--slugstringURL-safe slug (auto-derived from title if omitted)
--titlestringHuman-readable title
veirox entity create --kind incident --title 'API 500s' --body-file ./report.md --metadata '{"severity":"high"}'

veirox entity delete

Soft-delete an entity

FlagTypeDefaultDescription
--kindstringEntity kind
--refstringUUID or slug to delete
veirox entity delete --kind memory --ref auth-quirks

veirox entity get

Get one entity by UUID or slug

FlagTypeDefaultDescription
--kindstringEntity kind
--refstringUUID or slug
veirox entity get --kind runbook --ref deploy-checklist

veirox entity list

List entities of a given kind

FlagTypeDefaultDescription
--kindstringmemoryEntity kind (one of )
--limitint0Page size (backend caps at 500)
--offsetint0Offset for pagination
veirox entity list --kind memory --limit 20

veirox entity update

Update an entity (version-checked)

FlagTypeDefaultDescription
--body-filestringPath to a file whose contents become the new body
--descriptionstringNew description (omit to leave unchanged)
--kindstringEntity kind
--metadatastringJSON object — overwrites the metadata field
--refstringUUID or slug of the entity to update
--titlestringNew title (omit to leave unchanged)
--versionint0Last-seen version — backend returns 409 on mismatch
veirox entity update --kind runbook --ref deploy-checklist --version 3 --metadata '{"version":"1.1.0"}'

Exit codes

CodeMeaning
0Success.
1Generic error (network, API 5xx).
2Validation error (bad flag, missing required arg).
3Unauthenticated — run veirox login or set VEIROX_API_KEY.
4Not found (resource does not exist in this project).
5Permission denied (your role / API key lacks the scope).

See also