# Ligament docs > The operations platform your AI agents can build on. Guides for workspace admins, developers and the people who use the apps. Every page below is Markdown at its URL; https://docs.ligament.ai/llms-full.txt has all of them in one file. The REST API as OpenAPI: https://docs.ligament.ai/openapi.json. Instructions for coding agents: https://docs.ligament.ai/templates/AGENTS.md. ## Get started - [What is Ligament?](https://docs.ligament.ai/get-started/index.md): The operations platform your AI agents can build on: what it does, who it is for, and how changes reach production. - [Core concepts](https://docs.ligament.ai/get-started/concepts/index.md): Workspaces, apps, entities and records, lifecycles, the spec store, changesets and agents. - [Tutorial: your first app](https://docs.ligament.ai/get-started/first-app/index.md): Build a small equipment loans app, add a page, then propose a change as a changeset, review it and apply it. ## Guides - [Example data](https://docs.ligament.ai/guides/demo/index.md): Load a fictional company into your apps to see how they are set up, try the main flows as different people, and remove it again. ## Guides: Access - [How access works](https://docs.ligament.ai/guides/access/index.md): Roles, permission sets and restrictions, and how one evaluator decides every read and write. - [Roles, permission sets and restrictions](https://docs.ligament.ai/guides/access/roles-and-permission-sets/index.md): Give people access with roles made of permission sets, and fence it off with restrictions. - [Groups and SCIM groups](https://docs.ligament.ai/guides/access/groups/index.md): Grant roles to groups, and let your identity provider keep the groups up to date. - [Managers and their reports](https://docs.ligament.ai/guides/access/hierarchies/index.md): Let managers see the people who report to them, at any depth you choose. - [Time-bound and elevated access](https://docs.ligament.ai/guides/access/time-bound-access/index.md): Access that ends on a date, temporary elevation with approval, delegation and break-glass. - [Why can I see this?](https://docs.ligament.ai/guides/access/why-can-i-see-this/index.md): Find out why you, or someone else, can or can't see or change a record. - [View as](https://docs.ligament.ai/guides/access/view-as/index.md): See the app exactly as another person sees it. - [Reviewing access changes](https://docs.ligament.ai/guides/access/reviewing-access-changes/index.md): Before a change to access is applied, see who gains or loses what. - [App admins](https://docs.ligament.ai/guides/access/app-admins/index.md): Let someone manage access for one app, without making them a workspace admin. - [Data classification, masking and reveal](https://docs.ligament.ai/guides/access/data-classification/index.md): Mark fields as personal or sensitive data so they are masked, let the right people reveal a value with a reason, and log who opened which record. - [Separation of duties and approvals](https://docs.ligament.ai/guides/access/separation-of-duties/index.md): Make sure nobody approves, issues or closes their own work: restrictions that cover admins, the approval:decide action and forbidding a move into one state. - [Example: access for HR data](https://docs.ligament.ai/guides/access/hr-example/index.md): A worked HR setup: managers see their reports and their leave dates but not the reasons, pay is for HR, the employee and the managers above them (owners and admins included), employees enter their own leave reason, HR sees everything and exports keep the masks. ## Guides: Effective dating - [Effective dating](https://docs.ligament.ai/guides/effective-dating/index.md): Record changes that take effect on a date, correct the past, and read data as it was on any day. - [Changes, corrections and rescinds](https://docs.ligament.ai/guides/effective-dating/changes-and-corrections/index.md): Schedule changes from a date, correct the past, cancel a change, and what the warnings mean. - [Reading as of a date](https://docs.ligament.ai/guides/effective-dating/as-of/index.md): Read records as they were on a date, as they were recorded at a moment, their history, and the changes feed for exports. - [Locked periods](https://docs.ligament.ai/guides/effective-dating/locked-periods/index.md): What happens when a change reaches into a period that is closed, such as a payroll month that has been paid. - [Worked example: a raise and a correction](https://docs.ligament.ai/guides/effective-dating/hr-example/index.md): Hire someone with a start date, schedule a raise, fix a back-dated mistake, and count heads on a date, with the API, CLI and MCP. ## Guides: HR - [HR](https://docs.ligament.ai/guides/hr/index.md): Set up the HR app: employees with dated job and pay, reporting lines, leave with manager approval, the org chart, headcount on a date and the payroll export. - [Leave and approvals](https://docs.ligament.ai/guides/hr/leave/index.md): Leave types, balances and accrual, how an employee requests leave, how the manager approves it, and who sees the reason and medical note. - [Dated changes and corrections](https://docs.ligament.ai/guides/hr/dated-changes/index.md): Hire with a start date, schedule a raise or a transfer, correct a mistake, and read an employee as they were on a date. - [Org chart and headcount](https://docs.ligament.ai/guides/hr/org-chart-and-headcount/index.md): The current reporting lines as a tree, and headcount on today, at the end of last month, quarter and year, or any date. - [Payroll export](https://docs.ligament.ai/guides/hr/payroll-export/index.md): Download the joiners, leavers, job and pay changes that take effect in a month as a CSV for payroll. - [Self-service](https://docs.ligament.ai/guides/hr/self-service/index.md): What employees see and change in My HR, and what managers see of their team. ## Guides: Compliance - [Get started with Compliance in 15 minutes](https://docs.ligament.ai/guides/compliance/get-started/index.md): From install to the first evidence pack: name your contacts, install a template set, edit and publish the Code of Conduct, assign it to everyone, see what people get, publish the concerns form and download the evidence. - [Compliance](https://docs.ligament.ai/guides/compliance/index.md): Set up the Compliance app: controlled documents, obligations people attest to, sign or train for, reminders, evidence, the governance calendar, risks, controls and evidence packs. - [Evidence methods and what each proves](https://docs.ligament.ai/guides/compliance/evidence-methods/index.md): The ways a person can complete an obligation, what the evidence record holds for each, and what it does and does not prove. - [Setting up a concerns channel](https://docs.ligament.ai/guides/compliance/speak-up/index.md): A confidential channel for concerns: an anonymous public form, a reference and passphrase to follow up, and handling that the owner and admins cannot read. - [Controls and evidence packs](https://docs.ligament.ai/guides/compliance/controls-and-packs/index.md): Write your own controls, link obligations, documents, governance tasks and risks to them, see the evidence for a period, and export an evidence pack. ## Guides: Assets - [Assets](https://docs.ligament.ai/guides/assets/index.md): Set up the Assets app: hardware on top of the CMDB, who has what, check-out with acknowledgement, requests through the Service Catalog, stock and warranty alerts, depreciation and import. - [Check-out, acknowledgement and check-in](https://docs.ligament.ai/guides/assets/check-out/index.md): Hand an asset to someone, have them confirm they received it, take it back, and read the dated history of every asset. - [Requests, stock and alerts](https://docs.ligament.ai/guides/assets/requests-and-stock/index.md): People request kit through the Service Catalog, managers approve, IT fulfils from stock or orders more; reorder levels and warranty and lease alerts. - [Depreciation and import](https://docs.ligament.ai/guides/assets/depreciation-and-import/index.md): How the book value is worked out (straight line, exact money), and how to load your existing kit from a CSV or Excel file. ## Guides: Onboarding - [Onboarding](https://docs.ligament.ai/guides/onboarding/index.md): Set up the Onboarding app: joiner, mover and leaver journeys started by HR, the new hire portal, bank details with change control, identity and right to work, kit, desks and offboarding. - [Journeys and tasks](https://docs.ligament.ai/guides/onboarding/journeys/index.md): How joiner, mover and leaver journeys start from HR, how templates pick the tasks and their due dates, and how overdue work is chased. - [The new hire portal](https://docs.ligament.ai/guides/onboarding/portal/index.md): What the new hire sees before day 1: the emailed invite, the steps they complete on their phone, and how the portal keeps them to their own journey. - [Bank details, identity and right to work](https://docs.ligament.ai/guides/onboarding/bank-and-identity/index.md): Who sees bank details and how a change is controlled; the identity and right-to-work check through your identity verification provider, what is kept, and when document copies are deleted. ## Guides: E-signatures - [E-signatures](https://docs.ligament.ai/guides/e-signatures/index.md): Send documents for signature, sign them on any device, check a signed PDF, and manage envelopes, templates, legal holds and the document seal. ## Guides: Building apps - [The spec store](https://docs.ligament.ai/guides/building-apps/index.md): Pages and access definitions are versioned artefacts in one spec store: read, plan and apply them the same way from the builders, the API, the CLI and MCP. - [Changesets](https://docs.ligament.ai/guides/building-apps/changesets/index.md): Group changes into a changeset, review the plan, and apply every change together or discard them. - [Agents propose, people approve](https://docs.ligament.ai/guides/building-apps/agents-propose/index.md): Let AI agents and scripts draft changes with an API key while people keep the final say. - [Page builder](https://docs.ligament.ai/guides/building-apps/page-builder/index.md): Build pages from blocks bound to your data, preview them, and save them as a change. - [Upgrades and your customisations](https://docs.ligament.ai/guides/building-apps/upgrades/index.md): How app upgrades keep your changes, how to review the values that clash, and how an app author limits what installers may change. - [Money and currencies](https://docs.ligament.ai/guides/building-apps/money/index.md): Exact amounts with a currency, decimal numbers, totals per currency, exchange rates and convert(), and converting existing number fields. - [Access in the manifest](https://docs.ligament.ai/guides/building-apps/access-in-the-manifest/index.md): Ship your app's permission sets, roles and restrictions in its manifest: the install creates them in one step, upgrades keep the workspace's edits and never widen access without an admin's approval, and uninstalling removes them. ## Guides: Identity - [Single sign-on](https://docs.ligament.ai/guides/identity/sso/index.md): Connect a SAML identity provider so people at your company sign in with their work account. - [SCIM provisioning](https://docs.ligament.ai/guides/identity/scim/index.md): Create, update and remove people and groups from your identity provider. - [Verified domains](https://docs.ligament.ai/guides/identity/domains/index.md): Prove you own an email domain so sign-ups, SSO and SCIM for it reach your workspace. - [Security overview](https://docs.ligament.ai/guides/identity/security/index.md): Who can get into your workspace, how invites, domains, SSO and SCIM keep it that way, and where to see what happened. ## Guides: Workspaces and portals - [Inviting people](https://docs.ligament.ai/guides/workspaces/inviting-people/index.md): Invite one person by email, or create a link for a verified domain or, deliberately, for anyone. How each kind is protected. - [Workspaces and subsidiaries](https://docs.ligament.ai/guides/workspaces/subsidiaries/index.md): Run several companies or business units as a tree of workspaces. - [Portals](https://docs.ligament.ai/guides/workspaces/portals/index.md): The self-service portal where employees find answers and raise requests, and the sites you publish for customers. - [The App Store](https://docs.ligament.ai/guides/workspaces/app-store/index.md): Install apps into your workspace from the App Store: Ligament apps such as HR, ITSM and CRM, the apps they need, updates, and apps that ship an access model. ## Guides: Notifications - [Your notifications](https://docs.ligament.ai/guides/notifications/index.md): Choose which events reach you on which channel, set quiet hours, get a digest, turn on browser push, and approve requests straight from a message. - [Connect Slack and Microsoft Teams](https://docs.ligament.ai/guides/notifications/slack-teams-setup/index.md): Send notifications to Slack and Microsoft Teams as direct messages, with Approve and Reject buttons. - [Workspace notification settings](https://docs.ligament.ai/guides/notifications/admin/index.md): For admins: defaults people can narrow, urgent events, message length, escalation, rate limits, templates, connections, linked accounts and the delivery log. ## Developers - [API overview](https://docs.ligament.ai/developers/index.md): Base URL, authentication, request and response conventions, and a first call. - [API keys and scopes](https://docs.ligament.ai/developers/api-keys/index.md): Create keys, pick scopes, use read-only keys, and what a key can never do. - [Errors](https://docs.ligament.ai/developers/errors/index.md): Status codes and error bodies, and what to do about each. - [Lists, filters and pagination](https://docs.ligament.ai/developers/pagination/index.md): Filter, sort, search and page through records. - [As-of parameters](https://docs.ligament.ai/developers/as-of/index.md): Read and write effective-dated records over the API, MCP and the CLI: asOf, knownAt, effective, history, the changes feed and error codes. - [MCP server](https://docs.ligament.ai/developers/mcp/index.md): Connect an MCP client to your workspace: records, access, spec and changeset tools. - [CLI](https://docs.ligament.ai/developers/cli/index.md): Install the CLI, sign in, and manage apps, specs, changesets and records from a terminal. - [App manifests](https://docs.ligament.ai/developers/app-spec/index.md): Write an app as a manifest: entities, fields, lifecycles, access, pipelines and pages. Validate, publish and install it with the CLI. - [Hooks, callbacks and events](https://docs.ligament.ai/developers/webhooks/index.md): Receive calls from other systems with signed inbound hooks, and get a signed callback when a workflow run finishes. - [Money in the API](https://docs.ligament.ai/developers/money/index.md): The JSON format of money and decimal values, input rules and errors, totals per currency, exchange rates and conversion over the API, MCP and the CLI, and the CSV format. - [Webhooks or notifications?](https://docs.ligament.ai/developers/webhooks-vs-notifications/index.md): When to use notifications (messages to people) and when to use hooks, callbacks and automations (calls between systems). - [Notifications API](https://docs.ligament.ai/developers/notifications/index.md): Send notifications, read and set preferences, manage workspace notification settings, and read the delivery log over the REST API. - [E-signatures for developers](https://docs.ligament.ai/developers/e-signatures/index.md): Send envelopes from the REST API, workflows, MCP and the CLI, wait for them to finish, download sealed PDFs and check them. - [Onboarding for developers](https://docs.ligament.ai/developers/onboarding/index.md): The platform pieces Onboarding added for any app: guest sessions, the identity verification connection and its result facts, DSL actions for retention and messages, and calling an app’s own pipelines. ## Build with AI - [Build with AI](https://docs.ligament.ai/build-with-ai/index.md): Let AI coding agents read these docs, connect to your workspace and propose changes. - [Connect an agent with MCP](https://docs.ligament.ai/build-with-ai/mcp-setup/index.md): Set up Claude Code, Claude Desktop, Cursor and other MCP clients against your workspace. - [A prompt for your agent](https://docs.ligament.ai/build-with-ai/agent-prompt/index.md): A starting prompt that keeps an agent inside the review flow. - [AGENTS.md template](https://docs.ligament.ai/build-with-ai/agents-md/index.md): Drop-in instructions for coding agents that work on your apps. ## Reference - [REST API](https://docs.ligament.ai/reference/rest-api/index.md): Every API route and method, the API-key scope it needs, and what it does. Generated from the code. - [API key scopes](https://docs.ligament.ai/reference/scopes/index.md): Every scope an API key can hold, the admin scopes, and the areas no key can reach. Generated from the code. - [MCP tools](https://docs.ligament.ai/reference/mcp-tools/index.md): Every tool and resource the MCP server offers, with its arguments and the scope it needs. Generated from the code. - [CLI commands](https://docs.ligament.ai/reference/cli/index.md): Every command of the CLI with its arguments and options. Generated from the code. - [App manifest](https://docs.ligament.ai/reference/app-manifest/index.md): Every field of an app manifest, its type and whether it's required. Generated from the manifest schema.