Skip to content

Farkitect is in early access. New features arrive most weeks, and these pages are updated with them. See What's New for the latest.

API changelog

Every change to the API, newest first. v1 is a preview until it is declared stable: most changes are additions (new endpoints, fields, error codes or values), which a program that ignores what it doesn’t recognise keeps working through, but a change may also be Breaking, and is then marked so. See Versions. Changes to the rest of Farkitect are in What’s New.

Release 384: views’ permanent ids in events

Section titled “Release 384: views’ permanent ids in events”

An addition.

  • An event about a diagram, catalog, board or chart view now has the view’s permanent id in item.uid, in webhook deliveries too. It was null for views; events recorded earlier keep null.

Release 383: included models, and views’ permanent ids

Section titled “Release 383: included models, and views’ permanent ids”

Additions.

  • A package has included: on a model (a top-level package) included from another project of the organisation, the project it comes from, the project that defines it, the version it holds and its state; null otherwise. In every package the API returns. See Included metamodels, which models follow.
  • Writes to an included model, or to anything in it, are refused with 403 forbidden, saying to change it in the project it comes from. Relationships from the project’s own elements to its elements are allowed, as in the app.
  • A view has uid, its permanent id, and originUid (on an included model’s view, the original’s). In GET /v1/projects/{projectId}/views and GET /v1/diagrams/{diagramId}.
  • originUid on packages, elements and relationships is now set on an included model’s items: the original’s uid.

Release 379: integrity messages for values

Section titled “Release 379: integrity messages for values”

No change to any field.

  • In GET /v1/projects/{projectId}/integrity, a value-does-not-fit violation’s message now says what is wrong with that value (for example, a date and time with no time zone), instead of the general explanation every such violation had.

Additions.

  • A metamodel has included: for one included from another project, the project it comes from, the project that defines it, the version it holds and its state; null for the project’s own. In GET /v1/projects/{projectId}/metamodels and GET /v1/metamodels/{metamodelId}. See Included metamodels.

Additions; one rule loosened.

  • A relationship may now join elements of two models of a project. POST …/relationships and PATCH with sourceId or targetId no longer refuse that; the type must be from a metamodel that both ends’ models import. Where it’s kept follows the app: in the source’s package, or in packageId when that is in the source’s model.
  • Each end of a relationship (source, target) has a model: the model it is in, by id and name. In every relationship the API returns: lists, single reads, writes, a package’s contents, and events and webhook deliveries with the item.
  • A move no longer refuses to leave a relationship between two models; a relationship whose ends both leave its model moves with its source, as in the app.

Additions.

  • Every package, element and relationship has a uid, its permanent id, which never changes: a Restore Project, a Replace or FarkiBot’s Modify can change an item’s id, never its uid. Store the uid to find an item again later. Also originUid, null for now. See Ids and permanent ids.
  • ?uid= on GET /v1/projects/{projectId}/elements, …/packages and …/relationships: the item with that permanent id, whatever its id is now.
  • An event’s item has a uid beside its id (null for a view), in webhook deliveries too.

Additions.

  • POST /v1/webhook-endpoints and its calls: have each event posted to your own address as it happens, signed in the Standard Webhooks format, retried for about a day and a half, with a delivery log, pings, retries and secret rotation. Managed with a whole-organisation key that may manage the organisation’s webhooks. See Webhooks.

Additions.

  • GET /v1/projects/{projectId}/events: every change to a project’s packages, elements, relationships and views, oldest first, however it was made, with what changed and who made it; kept 30 days, recorded while the organisation has a working key. Filter by types; include=item adds each item as it is now. Its cursor is always given, so a program up to date keeps it and asks again later. See Events.

Release 361: tidied before others build on it

Section titled “Release 361: tidied before others build on it”

One addition; one removal (Breaking, for a program that reads it).

  • An element type’s new attachment says what its elements may have attached: image, file, or null. See What an element can have attached.
  • Breaking: the key’s limits (GET /v1/me) no longer include imagesPerMinutePerOrganization and imagesAtOnce. They were for drawing diagram images on the server, which was set aside; drawing data took its place.
  • The docs now say to match an element’s values on propertyTypeId rather than its name, which can change (Reading models).

Additions.

  • PUT /v1/elements/{elementId}/attachment: attach a file to an element (the file as the body, up to 4 MB), replacing any it had; DELETE /v1/elements/{elementId}/attachment removes it. The same rules as the app: only an element whose type allows an attachment, images only for an image type. See Attaching files.
  • An element’s updatedAt and ETag now also change when its attachment is set or removed, in the app too.
  • too_large (413) now also comes from a file over 4 MB.

Additions, and one change.

  • GET /v1/projects/{projectId}/deletions?since=…: every package, element, relationship and view deleted since a time, however it was deleted, remembered 30 days. See Keeping another system in step.
  • A delete of more than 200 elements and relationships answers 202 with a job (kind: "delete") that deletes them in the background. Jobs gain deleted, the count when a delete is done.
  • New error code resync_required (410).
  • Changed: a large single delete was refused with 413 too_large; it now runs as a job. too_large now comes only from a batch.

Release 350: relationships, and many changes at once

Section titled “Release 350: relationships, and many changes at once”

Additions.

  • POST /v1/projects/{projectId}/relationships, PATCH and DELETE /v1/relationships/{relationshipId}: a relationship by type id or name, between two elements of one model, refused when its type can’t join that pair. See Changing models.
  • POST /v1/projects/{projectId}/batch: up to 200 creates, updates and deletes, all or none, with refs for items made earlier in the batch. See Many changes at once.
  • ETag on every relationship write, as for packages and elements.

Additions.

  • Changing models: POST /v1/projects/{projectId}/packages, PATCH and DELETE /v1/packages/{packageId}, POST /v1/projects/{projectId}/elements, PATCH and DELETE /v1/elements/{elementId}. Values are written in their natural types, by property type name or id; an element’s type by id or by name. Needs a contributor or admin key.
  • GET /v1/packages/{packageId}: one package.
  • ETag on one package, element or relationship, and on every change’s answer; If-Match on a change or a delete.
  • Idempotency-Key on every change: a repeat within a day gives the first answer.
  • New error codes: precondition_failed (412), idempotency_key_reused (422), too_large (413). validation_failed now also comes from Farkitect’s own rules, with errors naming each field.

Release 348: the drawing package and tool are on npm

Section titled “Release 348: the drawing package and tool are on npm”

No change to the API.

Release 347: drawing diagrams in your program

Section titled “Release 347: drawing diagrams in your program”

Additions (outside the API itself).

  • Drawing a diagram in your program: Farkitect’s drawing package, @farkitect/draw, draws a diagram’s drawing data in a web page exactly as the app does, and the command-line tool farkitect-render makes PNG or SVG pictures of it from any language. Both are about to be published to npm.

Release 346: v1 is a preview; more drawing data

Section titled “Release 346: v1 is a preview; more drawing data”

Additions, and a change to how v1 changes.

  • v1 is a preview until it is declared stable: until then a change may break a working program, and every such change is marked Breaking here. Most changes remain additions. See Versions.
  • GET /v1/diagrams/{diagramId}/drawing: each type gains ownColours, the colours its notation sets (null where Auto), from which its colours are worked out; each value gains text, the value exactly as stored.

Release 345: drawing data for shapes that don’t fit their metamodel

Section titled “Release 345: drawing data for shapes that don’t fit their metamodel”

An addition and a correction.

  • Shapes and connectors in GET /v1/diagrams/{diagramId}/drawing gain opacity: 0.4 for one that doesn’t fit its metamodel, else 1.
  • Corrected: the colours of a shape or connector that doesn’t fit its metamodel were its usual ones; they are now the theme’s muted colours the app draws it in. See Views.

Additions.

  • GET /v1/diagrams/{diagramId}/drawing: everything a diagram shows, to draw it as the app does: final colours in both themes, the types used and their icons once each, values, labels, nesting, view links. Its version is the ETag; If-None-Match answers 304 when nothing changed. See Views.

Additions.

  • POST /v1/packages/{packageId}/exports (202, a job), GET /v1/jobs/{jobId} and GET /v1/jobs/{jobId}/file: a package exported as .farki in the background, kept a day. One at a time per organisation. See Exports.
  • A new error code, job_not_ready (409).

Release 338: views and the integrity check

Section titled “Release 338: views and the integrity check”

Additions.

  • GET /v1/projects/{projectId}/views (kind, packageId): every diagram, catalog, board and chart view, with a catalog’s or board’s type, a board’s group-by and a view’s scope. Catalog rows and board cards aren’t given yet.
  • GET /v1/diagrams/{diagramId}: a diagram’s shapes, connectors (with bend points) and links to other views.
  • GET /v1/projects/{projectId}/integrity: the integrity check, with ok, errors and warnings, for CI. A heavy call. See Views and Checks.

Additions.

  • GET /v1/packages/{packageId}/contents (include=metamodel) and GET /v1/packages/{packageId}/markdown: a whole package in one call. See Reading models.
  • Heavy-call limits: 6 a minute, 1 at a time and 200 a day per organisation (limits.heavy… in GET /v1/me). See Rate limits.
  • New error codes use_export_job (413) and busy (503).

Additions.

  • GET /v1/projects/{projectId}/packages, …/elements and …/relationships, with filters (type, packageId, sourceId, targetId, elementId) and include=properties; GET /v1/elements/{elementId} and GET /v1/relationships/{relationshipId}. See Reading models.
  • Property values in their natural JSON types, with fits and, for enumerations, storedValue.
  • updatedSince on elements and relationships, oldest change first, for keeping another system in step. Every change to an element’s values now counts as a change to the element.
  • GET /v1/elements/{elementId}/attachment: the attached file itself.

Additions.

  • GET /v1/projects and GET /v1/projects/{projectId}: the projects a key reaches.
  • GET /v1/projects/{projectId}/metamodels, GET /v1/metamodels/{metamodelId}, and its element-types, relationship-types and enumerations: what a project’s models are made of, with property types own and inherited. See Projects and Metamodels.
  • Lists: { object, data, hasMore, nextCursor }, with limit and cursor. A page can hold fewer than limit.
  • A new error code, invalid_cursor (400), and api_disabled_for_organization (403).
  • A new limit: 4 requests running at once per key (limits.requestsAtOncePerKey in GET /v1/me). See Rate limits.

Additions. The API opens in early access, free for every organisation.

  • GET /v1/me: the calling key, its organisation, the projects it reaches with its role in each, its expiry and the organisation’s limits.
  • API keys in Organisation › Developers: whole organisation or one project; viewer, contributor or admin; expiring, extendable, revocable. A project’s Members tab lists the keys that reach it.
  • Errors as RFC 9457 problems with stable codes (Errors); rate limits with RateLimit-* headers (Rate limits).
  • The interactive reference at api.farkitect.com/docs, the OpenAPI file, and llms.txt / llms-full.txt.

Farkitect

Model anything.

“Welcome back — your diagrams have been plotting without you.”


Release 385 · 27 Nov 2026

Top packages: Inclusion and Sharing; Create New Version; Delete from Project

Release
385
Released
27 Nov 2026, 21:29 UTC
Built
27 Nov 2026, 21:30 UTC
Environment
Production
Surface
Docs
Commit
a5968f3
Branch
main