Docs
Designs, jobs, credits, usage
The read calls. They cost nothing. Each returns only what belongs to your account.
Jobs: GET /v1/jobs/:id
curl https://api.vectormojo.com/api/v1/jobs/6745c0a1e4b0c2a9d1f3b7e2 \
-H "Authorization: Bearer $BRUSH_API_KEY"
Returns { "job": { … } }, the job object. A job of
another account, or an id that does not exist, gets 404 not_found.
List designs: GET /v1/designs
curl "https://api.vectormojo.com/api/v1/designs?limit=10" \
-H "Authorization: Bearer $BRUSH_API_KEY" limit: 1 to 100, default 20. Most recently changed first.- Returns
{ "designs": [ … ] }: each design with its versions, without the SVG text. Read one design for that. - There is no paging cursor yet: the list holds the newest designs up to
limit.
One design: GET /v1/designs/:id
curl https://api.vectormojo.com/api/v1/designs/6745c0a1e4b0c2a9d1f3b7e3 \
-H "Authorization: Bearer $BRUSH_API_KEY" Returns { "design": { … } } with every version and its SVG.
SVG of one version: GET /v1/designs/:id/versions/:v/svg
curl https://api.vectormojo.com/api/v1/designs/6745c0a1e4b0c2a9d1f3b7e3/versions/1/svg \
-H "Authorization: Bearer $BRUSH_API_KEY" -o funnel-v1.svg
The SVG file itself (image/svg+xml), cleaned and with the AI-generated marker: the same as an SVG
export with live text. :v must be a whole number from 1, or the call gets 400 invalid_request.
PNG preview: GET /v1/files/:id
Each version's png_url is a path on the API host, such as /api/v1/files/6745c0b8e4b0c2a9d1f3b7e4.
Put the host in front (https://api.vectormojo.com) and send your key, as on any call. The preview is a PNG at the
design's own size. For other sizes or formats, use export.
Balance: GET /v1/credits
curl https://api.vectormojo.com/api/v1/credits \
-H "Authorization: Bearer $BRUSH_API_KEY" Returns { "credits": 1234 }: your balance in credits.
Credit ledger: GET /v1/credits/ledger
curl "https://api.vectormojo.com/api/v1/credits/ledger?limit=50" \
-H "Authorization: Bearer $BRUSH_API_KEY" limit: 1 to 200, default 50. Newest first.- Returns
linesandnext_cursor. Passnext_cursorback asbeforefor the next page. It isnullon the last page. - Each line:
id,type,amount,balance_after,source,job_id,model,pack,plan,created_at. type:grant(credits given),purchase(credits bought),usage(a job's price, a negative amount),refund(a failed job's price given back),expire.- When a job is accepted, its price is taken at once (
usage). If the job fails, the same amount comes back (refund). So a failed job costs you nothing.
Usage: GET /v1/usage
curl "https://api.vectormojo.com/api/v1/usage?days=7" \
-H "Authorization: Bearer $BRUSH_API_KEY" days: 1 to 365, default 30. Days are UTC, today included. Every day is in the list, even an empty one.- Returns
usagewithdays,from,to,totals,per_modelandper_day. totals:jobs,credits,credits_charged,credits_refunded,credits_added,balance.per_modeland each day'smodels:jobs,credits, and how many weregenerateandedit.- Only finished jobs count as usage. Usage is in credits only.
Account: GET /v1/account
curl https://api.vectormojo.com/api/v1/account \
-H "Authorization: Bearer $BRUSH_API_KEY"
Returns account with id, email (or null), created_at,
credits and signed_in_with (api for a key).
Brands: /v1/brands
A brand is a saved style: a name, colours, a font and a logo.
| Call | What it does |
|---|---|
GET /v1/brands | Your brands, most recently changed first. |
POST /v1/brands | Make one. Answers 201. |
GET /v1/brands/:id | One brand. |
PUT or PATCH /v1/brands/:id | Change only the fields you send. null clears font_family or logo_svg. |
DELETE /v1/brands/:id | Delete it. Returns { "deleted": true, "id": "…" }. |
Field Limits nameRequired on create. 1 to 60 characters. colorsUp to 16 hex colours, such as #1a2b3c. font_familyUp to 100 characters: letters, digits, spaces, commas, hyphens and apostrophes. logo_svgUp to 200,000 characters. Cleaned before it is saved.
- Other fields get
400 invalid_request. - An account can hold 50 brands (
409 brand_limit). POST /v1/generate does not take a brand yet. The MCP server's generate-design tool does (brand_id).
Designs are AI-generated. Outputs can contain factual mistakes, so review every design before you use it.