sincecutoff.com
← all changes

vercel flags entities create adds schema-validated entity creation

Introduced 2026-09-09 · score 0.95

HOW TO USE IT

When creating a flag-targeting entity in a linked Vercel project, run `vercel flags entities create` with the entity kind and one or more typed attributes. The CLI validates the entity kind, attribute keys, and attribute types.

vercel flags entities create <kind> --label <label> --attribute <key>:<type> --attribute <key>:<type>

WHY THIS HELPS

Create a flag-targeting entity and its attributes in a project using Flags.

REQUIREMENTS AND LIMITATIONS

  • Version: 59.14.0
  • <kind> (required): Entity kind; used to identify the entity. If `--label` is omitted, the CLI derives a label from the kind.
  • --attribute <key>:<type> (required): Adds an attribute. Repeat for each attribute. Documented types include `string`, `number`, `boolean`, and `stringArray`.
  • --label <label>: Sets the entity label; otherwise the CLI derives one from the kind.
  • Prerequisite: Install Vercel CLI and link the local project with `vercel link` if it is not linked.
  • Prerequisite: Authenticate with Vercel before accessing project resources; use `vercel login` or a token in CI.
  • Docs conflict: The current CLI docs include `timestamp` attributes, but Vercel's timestamp-attributes changelog is dated 2026-10-07, after the card's stated version date. Do not rely on that attribute type for version 59.14.0.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card