Skip to main content
vela pull fetches all schemas for your app from the Vela API and writes them as local JSON files. Server-only fields (id, appId, createdAt, updatedAt) are stripped so the files match the expected local format.

Usage

Example output

What happens step by step

  1. Connects to the Vela API and fetches all schemas for your app
  2. Writes each schema to {schemasDir}/{eventName}.json
  3. Strips server-generated fields (id, appId, createdAt, updatedAt) so files are clean and pushable
  4. Creates the schemas directory if it doesn’t exist yet
  5. Overwrites existing local files — uncommitted local changes are lost
vela pull overwrites existing local files without a prompt. If you have unsaved local changes, commit or stash them before pulling.

When to use pull

First-time setup — if schemas already exist in the dashboard (created manually or by another team member), pull them before you start editing locally:
After dashboard edits — if someone modified a schema in the dashboard directly, pull to bring local files back in sync before the next push:
Onboarding a new developer — instead of manually creating schema files, pull directly from the remote app:

Options

Pulled file format

The pulled files match the format expected by vela push. A pulled order.placed.json looks like:
You can edit this file and push it back without any format changes.