# Farkitect API > Read and change Farkitect's models from your own programs. REST over HTTPS, JSON, API keys in the Authorization header (Bearer fk_live_…). Free during early access. Base address: https://api.farkitect.com/v1. The OpenAPI 3.1 file describes every endpoint: https://api.farkitect.com/openapi.json. All the guides below in one file: https://docs.farkitect.com/llms-full.txt ## Guides - [The Farkitect API](https://docs.farkitect.com/api/overview/): What the API is for, what it can do today, and how it behaves. - [API quick start](https://docs.farkitect.com/api/quick-start/): Make an API key and make your first call, in five minutes. - [API keys](https://docs.farkitect.com/api/keys/): Who can make keys, what a key can reach and do, expiry, revoking, and keeping keys safe. - [Lists and paging](https://docs.farkitect.com/api/lists/): How every list in the API is paged: the page's shape, limit and cursor, why a page can be short, and reading a whole list. - [Projects](https://docs.farkitect.com/api/projects/): List the projects a key reaches and read one, and add the Farquind Yachts sample project to try the API on. - [Metamodels](https://docs.farkitect.com/api/metamodels/): Read a project's metamodels: element types, relationship types, their property types (own and inherited), and enumerations with their values. - [Reading models](https://docs.farkitect.com/api/models/reading/): Read a project's packages, elements with their property values, relationships and attachments, and keep another system in step with updatedSince. - [Changing models](https://docs.farkitect.com/api/models/changing/): Make, change, move and delete packages, elements and relationships with their values, attach files, make many changes at once, retry safely, and avoid overwriting someone else's edit. - [Views](https://docs.farkitect.com/api/views/): List a project's diagrams, catalogs, boards and chart views, read a diagram's shapes, connectors and links, and its drawing data. - [Drawing a diagram in your program](https://docs.farkitect.com/api/drawing/): Draw a Farkitect diagram exactly as the app does, from its drawing data: in a web page with the drawing package, or from any language with the farkitect-render tool. - [Checks](https://docs.farkitect.com/api/checks/): Run the project's integrity check, the same as the app's Log panel, and fail a build pipeline when a model has errors. - [Exports](https://docs.farkitect.com/api/exports/): Export a package as a .farki file in the background: start the job, wait for it, download the file. - [Rate limits](https://docs.farkitect.com/api/rate-limits/): How many requests a key and an organisation may make, the headers that say where you stand, and what to do when you're limited. - [Errors](https://docs.farkitect.com/api/errors/): How the Farkitect API reports a problem, and every error code it uses. - [Build with an AI assistant](https://docs.farkitect.com/api/build-with-ai/): Have an AI coding assistant write your program against the Farkitect API, and keep the key safe in a web app. - [API changelog](https://docs.farkitect.com/api/changelog/): Every change to the Farkitect API, newest first, and whether it's an addition. ## Error codes - [api_disabled](https://docs.farkitect.com/api/errors/api-disabled/): 503: The API is switched off for maintenance. - [api_disabled_for_organization](https://docs.farkitect.com/api/errors/api-disabled-for-organization/): 403: The API is switched off for this organisation. - [bad_request](https://docs.farkitect.com/api/errors/bad-request/): 400: The request can't be read. - [browser_not_allowed](https://docs.farkitect.com/api/errors/browser-not-allowed/): 403: The API can't be called from a web browser. - [busy](https://docs.farkitect.com/api/errors/busy/): 503: Farkitect is busy with other large requests. - [forbidden](https://docs.farkitect.com/api/errors/forbidden/): 403: This key may not do that. - [idempotency_key_reused](https://docs.farkitect.com/api/errors/idempotency-key-reused/): 422: The Idempotency-Key was used for a different request. - [internal_error](https://docs.farkitect.com/api/errors/internal-error/): 500: Something went wrong at Farkitect. - [invalid_cursor](https://docs.farkitect.com/api/errors/invalid-cursor/): 400: The cursor isn't one this API gave. - [invalid_key](https://docs.farkitect.com/api/errors/invalid-key/): 401: The API key isn't recognised. - [job_not_ready](https://docs.farkitect.com/api/errors/job-not-ready/): 409: The job hasn't finished yet. - [key_expired](https://docs.farkitect.com/api/errors/key-expired/): 401: The API key has expired. - [key_in_url](https://docs.farkitect.com/api/errors/key-in-url/): 400: API keys go in the Authorization header, never in the address. - [key_revoked](https://docs.farkitect.com/api/errors/key-revoked/): 401: The API key has been revoked. - [missing_key](https://docs.farkitect.com/api/errors/missing-key/): 401: No API key was given. - [not_found](https://docs.farkitect.com/api/errors/not-found/): 404: Not found. - [organization_suspended](https://docs.farkitect.com/api/errors/organization-suspended/): 403: The organisation can't use the API at present. - [plan_required](https://docs.farkitect.com/api/errors/plan-required/): 403: This needs a plan the organisation doesn't have. - [precondition_failed](https://docs.farkitect.com/api/errors/precondition-failed/): 412: It has changed since you read it. - [quota_exceeded](https://docs.farkitect.com/api/errors/quota-exceeded/): 429: The organisation's allowance is used up. - [rate_limited](https://docs.farkitect.com/api/errors/rate-limited/): 429: Too many requests. - [resync_required](https://docs.farkitect.com/api/errors/resync-required/): 410: Too long ago: read everything again. - [too_large](https://docs.farkitect.com/api/errors/too-large/): 413: Too large. - [unavailable](https://docs.farkitect.com/api/errors/unavailable/): 503: Farkitect can't answer at the moment. - [use_export_job](https://docs.farkitect.com/api/errors/use-export-job/): 413: Too large for one call. - [validation_failed](https://docs.farkitect.com/api/errors/validation-failed/): 422: Some fields aren't valid. ## Optional - [Interactive reference](https://api.farkitect.com/docs): try each endpoint with a key - [Farkitect's user documentation](https://docs.farkitect.com/): the modeling app itself