# Klef - [Introduction](https://klef.ai/docs/index.md) - [Policy](https://klef.ai/docs/policy.md) - [Plan](https://klef.ai/docs/plan.md) - [Adoption](https://klef.ai/docs/adoption.md) - [Glossary](https://klef.ai/docs/glossary.md): The terms used across these docs, defined in one place. - [Connectors](https://klef.ai/docs/connectors.md) - [Connections](https://klef.ai/docs/connections.md) - [Worker model](https://klef.ai/docs/connectors/worker-model.md) - [ADP Workforce Now](https://klef.ai/docs/connectors/adp-workforce-now.md) - [Gusto](https://klef.ai/docs/connectors/gusto.md) - [BambooHR](https://klef.ai/docs/connectors/bamboo-hr.md) - [Microsoft Entra ID](https://klef.ai/docs/connectors/microsoft-entra.md) - [Microsoft 365](https://klef.ai/docs/connectors/microsoft365.md) - [Google Workspace](https://klef.ai/docs/connectors/google-workspace.md) - [Oracle Fusion](https://klef.ai/docs/connectors/oracle-fusion.md) - [Oracle OCI](https://klef.ai/docs/connectors/oracle-oci.md) - [AWS](https://klef.ai/docs/connectors/aws.md) - [Azure](https://klef.ai/docs/connectors/azure.md) - [AWS IAM Identity Center](https://klef.ai/docs/connectors/aws-identity-center.md) - [Slack](https://klef.ai/docs/connectors/slack.md) - [GitHub](https://klef.ai/docs/connectors/github.md) - [GitHub Enterprise](https://klef.ai/docs/connectors/github-enterprise.md) - [Salesforce](https://klef.ai/docs/connectors/salesforce.md) - [HubSpot](https://klef.ai/docs/connectors/hubspot.md) - [Box](https://klef.ai/docs/connectors/box.md) - [Linear](https://klef.ai/docs/connectors/linear.md) - [Dropbox](https://klef.ai/docs/connectors/dropbox.md) - [OpenAI](https://klef.ai/docs/connectors/openai.md) - [Anthropic](https://klef.ai/docs/connectors/anthropic.md) - [1Password](https://klef.ai/docs/connectors/one-password.md) - [Keeper Security](https://klef.ai/docs/connectors/keeper.md) - [Bitwarden](https://klef.ai/docs/connectors/bitwarden.md) - [Atlassian](https://klef.ai/docs/connectors/atlassian.md) - [Notion](https://klef.ai/docs/connectors/notion.md) - [Manage members](https://klef.ai/docs/how-to/manage-members.md) - [Manage API keys](https://klef.ai/docs/how-to/manage-api-keys.md) - [Manage billing](https://klef.ai/docs/how-to/manage-billing.md) - [Read the audit log](https://klef.ai/docs/how-to/read-the-audit-log.md) - [Roles and permissions](https://klef.ai/docs/reference/roles-and-permissions.md) - [Subscription Tiers and credits](https://klef.ai/docs/reference/subscription-tiers-and-credits.md) - [API reference](https://klef.ai/docs/api-reference/introduction.md) - [Get the current user's profile and membership in the current workspace.](https://klef.ai/docs/api-reference/users/get-the-current-users-profile-and-membership-in-the-current-workspace.md) - [Update the current user's profile.](https://klef.ai/docs/api-reference/users/update-the-current-users-profile.md) - [Upload and store the current user's avatar as a resized WebP image.](https://klef.ai/docs/api-reference/users/upload-and-store-the-current-users-avatar-as-a-resized-webp-image.md) - [Start Gusto's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-gustos-authorization-flow-for-a-workspace.md) - [Start Slack's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-slacks-authorization-flow-for-a-workspace.md) - [Start Salesforce's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-salesforces-authorization-flow-for-a-workspace.md) - [Start Salesforce Sandbox's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-salesforce-sandboxs-authorization-flow-for-a-workspace.md) - [Start HubSpot's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-hubspots-authorization-flow-for-a-workspace.md) - [Start Box's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-boxs-authorization-flow-for-a-workspace.md) - [Start Linear's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-linears-authorization-flow-for-a-workspace.md) - [Start Dropbox's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-dropboxs-authorization-flow-for-a-workspace.md) - [Start GitHub's authorization flow for a workspace.](https://klef.ai/docs/api-reference/connections/start-githubs-authorization-flow-for-a-workspace.md) - [List the workspace's connections.](https://klef.ai/docs/api-reference/connections/list-the-workspaces-connections.md) - [Create a connection to a source system.](https://klef.ai/docs/api-reference/connections/create-a-connection-to-a-source-system.md) - [Get one connection.](https://klef.ai/docs/api-reference/connections/get-one-connection.md) - [Replace a connection's name and credentials.](https://klef.ai/docs/api-reference/connections/replace-a-connections-name-and-credentials.md) - [Delete a connection.](https://klef.ai/docs/api-reference/connections/delete-a-connection.md) - [Reveal a connection's stored secrets.](https://klef.ai/docs/api-reference/connections/reveal-a-connections-stored-secrets.md) - [Validate a connection's access and granted permissions.](https://klef.ai/docs/api-reference/connections/validate-a-connections-access-and-granted-permissions.md) - [Plan dropping the record of a worker's account.](https://klef.ai/docs/api-reference/adoption/plan-dropping-the-record-of-a-workers-account.md): The target is not touched: the plan drops the record and leaves the account where it is. Set `ignoreAccount` to keep adoption from offering it again. - [Open the adoption wizard on a connection.](https://klef.ai/docs/api-reference/adoption/open-the-adoption-wizard-on-a-connection.md): Resumes the run already open on the connection when there is one, so a reviewer picks up where the last one left off. - [List a connection's accounts, as last read, against the workers its rules pair them to.](https://klef.ai/docs/api-reference/adoption/list-a-connections-accounts-as-last-read-against-the-workers-its-rules-pair-them-to.md) - [List a connection's accounts as unsaved edits would leave them.](https://klef.ai/docs/api-reference/adoption/list-a-connections-accounts-as-unsaved-edits-would-leave-them.md) - [Count a connection's accounts as unsaved edits would leave them.](https://klef.ai/docs/api-reference/adoption/count-a-connections-accounts-as-unsaved-edits-would-leave-them.md) - [Count a connection's accounts by what the match rules make of them.](https://klef.ai/docs/api-reference/adoption/count-a-connections-accounts-by-what-the-match-rules-make-of-them.md) - [List the workers a connection holds no account for.](https://klef.ai/docs/api-reference/adoption/list-the-workers-a-connection-holds-no-account-for.md): Terminated workers are left out. These are the people the next plan would create an account for, rather than adopt one. - [Accept accounts as workers', or take them back out.](https://klef.ai/docs/api-reference/adoption/accept-accounts-as-workers-or-take-them-back-out.md): Applies the listed changes to the run and leaves every other account as it was. - [Accept every matched account a filter covers, or take them back out.](https://klef.ai/docs/api-reference/adoption/accept-every-matched-account-a-filter-covers-or-take-them-back-out.md): Only accounts a rule matched are accepted; taking back covers every account the run holds within the filter. - [Turn a run's selections into a plan to approve.](https://klef.ai/docs/api-reference/adoption/turn-a-runs-selections-into-a-plan-to-approve.md): Approving the plan is a separate act, and a separate permission. A run already composed answers with the plan it was composed into. - [List the workspace's policy resources (scripts, lookup tables, secrets), filterable by kind and name search, with sort + offset paging.](https://klef.ai/docs/api-reference/policy-resources/list-the-workspaces-policy-resources-scripts-lookup-tables-secrets-filterable-by-kind-and-name-search-with-sort-+-offset-paging.md) - [List the workspace's audit events.](https://klef.ai/docs/api-reference/audit/list-the-workspaces-audit-events.md) - [Export the workspace's audit events as CSV.](https://klef.ai/docs/api-reference/audit/export-the-workspaces-audit-events-as-csv.md) - [List the available connector types with their acceptable fields.](https://klef.ai/docs/api-reference/catalog/list-the-available-connector-types-with-their-acceptable-fields.md): A connected target serves the catalog its last refresh read from it, so the fields include whatever that connection resolves — its available license SKUs, its flexfields. Anything that read could not reach is listed in readErrors. - [List the policy templates.](https://klef.ai/docs/api-reference/catalog/list-the-policy-templates.md) - [Plan or run a sync for a connection.](https://klef.ai/docs/api-reference/sync/plan-or-run-a-sync-for-a-connection.md) - [Search workers, connections, members, policies, segments, audit, and resources in the workspace.](https://klef.ai/docs/api-reference/search/search-workers-connections-members-policies-segments-audit-and-resources-in-the-workspace.md) - [List the workspace's sync plans.](https://klef.ai/docs/api-reference/syncplans/list-the-workspaces-sync-plans.md) - [Request a plan over every policy in the workspace (async).](https://klef.ai/docs/api-reference/syncplans/request-a-plan-over-every-policy-in-the-workspace-async.md) - [The distinct statuses present in the workspace's sync plans (for the runs list filters).](https://klef.ai/docs/api-reference/syncplans/the-distinct-statuses-present-in-the-workspaces-sync-plans-for-the-runs-list-filters.md) - [Get a sync plan with its operations and findings.](https://klef.ai/docs/api-reference/syncplans/get-a-sync-plan-with-its-operations-and-findings.md) - [Approve a Ready sync plan; the apply begins asynchronously.](https://klef.ai/docs/api-reference/syncplans/approve-a-ready-sync-plan;-the-apply-begins-asynchronously.md) - [Get one of your conversations with the assistant.](https://klef.ai/docs/api-reference/agent/get-one-of-your-conversations-with-the-assistant.md): A conversation belongs to whoever started it; another member's reads as absent. - [List your conversations with the assistant, most recent first.](https://klef.ai/docs/api-reference/agent/list-your-conversations-with-the-assistant-most-recent-first.md): Only your own are listed. A conversation is searched by the name it was given, so one not yet named is only reachable from the top of the list. - [Apply a change the assistant proposed.](https://klef.ai/docs/api-reference/agent/apply-a-change-the-assistant-proposed.md): Only the member the change was put on screen for may apply it, and only while they hold the permission the change itself needs. The change is carried out as it was shown and refused once the record has moved past it. - [Start OAuth login with the given provider.](https://klef.ai/docs/api-reference/auth/start-oauth-login-with-the-given-provider.md) - [Complete OAuth login from the provider's redirect.](https://klef.ai/docs/api-reference/auth/complete-oauth-login-from-the-providers-redirect.md) - [Sign the current user out.](https://klef.ai/docs/api-reference/auth/sign-the-current-user-out.md) - [Check whether a subdomain is available.](https://klef.ai/docs/api-reference/workspaces/check-whether-a-subdomain-is-available.md) - [List the current user's workspaces.](https://klef.ai/docs/api-reference/workspaces/list-the-current-users-workspaces.md) - [Create a workspace and onboard the current user as its owner.](https://klef.ai/docs/api-reference/workspaces/create-a-workspace-and-onboard-the-current-user-as-its-owner.md) - [Get one of the current user's workspaces by subdomain.](https://klef.ai/docs/api-reference/workspaces/get-one-of-the-current-users-workspaces-by-subdomain.md) - [Upload and store a new workspace's logo during onboarding as a resized WebP image.](https://klef.ai/docs/api-reference/workspaces/upload-and-store-a-new-workspaces-logo-during-onboarding-as-a-resized-webp-image.md) - [Get the current workspace's settings.](https://klef.ai/docs/api-reference/workspaces/get-the-current-workspaces-settings.md) - [Update the current workspace's settings.](https://klef.ai/docs/api-reference/workspaces/update-the-current-workspaces-settings.md) - [Upload and store the workspace's avatar as a resized WebP image.](https://klef.ai/docs/api-reference/workspaces/upload-and-store-the-workspaces-avatar-as-a-resized-webp-image.md) - [Schedule the current workspace for deletion.](https://klef.ai/docs/api-reference/workspaces/schedule-the-current-workspace-for-deletion.md): Locks the workspace and cancels its subscription immediately. The workspace can be restored until purgeAt, when its data is permanently deleted. - [Cancel the current workspace's scheduled deletion.](https://klef.ai/docs/api-reference/workspaces/cancel-the-current-workspaces-scheduled-deletion.md): Restoring does not restart the canceled subscription. - [Start exporting the current workspace's data.](https://klef.ai/docs/api-reference/workspaces/start-exporting-the-current-workspaces-data.md): The export is built in the background, and the requester is emailed a link to it when it is ready. Credentials and secret values are not included. - [Get a download link for a workspace export.](https://klef.ai/docs/api-reference/workspaces/get-a-download-link-for-a-workspace-export.md): The link is short-lived, so fetch a new one for each download. - [Get the workspace's subscription detail.](https://klef.ai/docs/api-reference/billing/get-the-workspaces-subscription-detail.md) - [Start a Stripe Checkout to subscribe the workspace to a tier.](https://klef.ai/docs/api-reference/billing/start-a-stripe-checkout-to-subscribe-the-workspace-to-a-tier.md) - [Switch the subscription to a different tier (prorated).](https://klef.ai/docs/api-reference/billing/switch-the-subscription-to-a-different-tier-prorated.md) - [Cancel the subscription at the end of the current period.](https://klef.ai/docs/api-reference/billing/cancel-the-subscription-at-the-end-of-the-current-period.md) - [Clear a scheduled cancellation, keeping the subscription active.](https://klef.ai/docs/api-reference/billing/clear-a-scheduled-cancellation-keeping-the-subscription-active.md) - [List the workspace's Stripe invoices.](https://klef.ai/docs/api-reference/billing/list-the-workspaces-stripe-invoices.md) - [Open the Stripe customer portal to manage payment method and billing.](https://klef.ai/docs/api-reference/billing/open-the-stripe-customer-portal-to-manage-payment-method-and-billing.md) - [Get the workspace's AI credit balance, with the per-member breakdown for billing managers.](https://klef.ai/docs/api-reference/billing/get-the-workspaces-ai-credit-balance-with-the-per-member-breakdown-for-billing-managers.md) - [Start a Stripe Checkout to buy a credit pack.](https://klef.ai/docs/api-reference/billing/start-a-stripe-checkout-to-buy-a-credit-pack.md) - [Preview an invitation by its token.](https://klef.ai/docs/api-reference/invitations/preview-an-invitation-by-its-token.md) - [Accept an invitation as the current user.](https://klef.ai/docs/api-reference/invitations/accept-an-invitation-as-the-current-user.md) - [List the workspace's pending invitations.](https://klef.ai/docs/api-reference/invitations/list-the-workspaces-pending-invitations.md) - [Invite a teammate to the workspace.](https://klef.ai/docs/api-reference/invitations/invite-a-teammate-to-the-workspace.md) - [Revoke a pending invitation.](https://klef.ai/docs/api-reference/invitations/revoke-a-pending-invitation.md) - [Resend a pending invitation's email.](https://klef.ai/docs/api-reference/invitations/resend-a-pending-invitations-email.md) - [Open a first sign-in link.](https://klef.ai/docs/api-reference/firstsignins/open-a-first-sign-in-link.md): Reveals nothing. - [Email a one-time code to one of a first sign-in's recipients.](https://klef.ai/docs/api-reference/firstsignins/email-a-one-time-code-to-one-of-a-first-sign-ins-recipients.md) - [Reveal a first sign-in, once.](https://klef.ai/docs/api-reference/firstsignins/reveal-a-first-sign-in-once.md) - [Prove a recipient with the code they were emailed.](https://klef.ai/docs/api-reference/firstsignins/prove-a-recipient-with-the-code-they-were-emailed.md) - [Keep a Microsoft or Google sign-in as a recipient's proof.](https://klef.ai/docs/api-reference/firstsignins/keep-a-microsoft-or-google-sign-in-as-a-recipients-proof.md) - [End the proof this browser holds.](https://klef.ai/docs/api-reference/firstsignins/end-the-proof-this-browser-holds.md) - [List the first sign-ins Klef holds or held for a worker's accounts.](https://klef.ai/docs/api-reference/firstsignins/list-the-first-sign-ins-klef-holds-or-held-for-a-workers-accounts.md) - [Reveal a worker's first sign-in, once.](https://klef.ai/docs/api-reference/firstsignins/reveal-a-workers-first-sign-in-once.md) - [Plan a new password for one of a worker's accounts, and email a link to it.](https://klef.ai/docs/api-reference/firstsignins/plan-a-new-password-for-one-of-a-workers-accounts-and-email-a-link-to-it.md) - [List a connection's accounts, as they were last read.](https://klef.ai/docs/api-reference/connection-accounts/list-a-connections-accounts-as-they-were-last-read.md) - [Count a connection's stored accounts.](https://klef.ai/docs/api-reference/connection-accounts/count-a-connections-stored-accounts.md) - [Re-read a connection's accounts.](https://klef.ai/docs/api-reference/connection-accounts/re-read-a-connections-accounts.md): The read runs on the sync worker - [Put an account out of adoption's scope, or bring it back in.](https://klef.ai/docs/api-reference/connection-accounts/put-an-account-out-of-adoptions-scope-or-bring-it-back-in.md) - [Read a connection's match rules and the fields a rule may name.](https://klef.ai/docs/api-reference/connection-accounts/read-a-connections-match-rules-and-the-fields-a-rule-may-name.md): A target field is offered only when the accounts last read carry a value for it; `populated` says how many do. - [Replace the rules a connection's accounts are matched by, in order.](https://klef.ai/docs/api-reference/connection-accounts/replace-the-rules-a-connections-accounts-are-matched-by-in-order.md) - [List the workspace's policies.](https://klef.ai/docs/api-reference/policies/list-the-workspaces-policies.md) - [Create a new policy.](https://klef.ai/docs/api-reference/policies/create-a-new-policy.md) - [The distinct categories across the workspace's policies.](https://klef.ai/docs/api-reference/policies/the-distinct-categories-across-the-workspaces-policies.md) - [Get one policy.](https://klef.ai/docs/api-reference/policies/get-one-policy.md) - [Replace a policy's document.](https://klef.ai/docs/api-reference/policies/replace-a-policys-document.md): The name, category and segment are read out of the document, so a document that does not compile is refused and nothing is written. The answer carries the warnings the document compiled with and what the next plan does differently because of the save. - [Delete a policy.](https://klef.ai/docs/api-reference/policies/delete-a-policy.md) - [List a policy's revisions, newest first.](https://klef.ai/docs/api-reference/policies/list-a-policys-revisions-newest-first.md) - [Get one revision of a policy's document.](https://klef.ai/docs/api-reference/policies/get-one-revision-of-a-policys-document.md) - [Set a policy's operational status.](https://klef.ai/docs/api-reference/policies/set-a-policys-operational-status.md): A status change advances the version, which makes any sync plan generated under the previous status stale. - [Send one notification of a policy document.](https://klef.ai/docs/api-reference/policies/send-one-notification-of-a-policy-document.md): Placeholders are filled from a made-up worker, never a real one. An email test goes to the caller's own address - [Compile a policy document.](https://klef.ai/docs/api-reference/policies/compile-a-policy-document.md): Checks the document against this workspace's catalogs and returns what it means. A document with errors still compiles to whatever was understood, so an editor can show a half-written policy; nothing is saved either way. - [Edit a policy document.](https://klef.ai/docs/api-reference/policies/edit-a-policy-document.md): Makes changes to the document where it already says each thing, leaving the rest of the text as written, and compiles the result. Nothing is saved. - [List the workspace's secret references.](https://klef.ai/docs/api-reference/secrets/list-the-workspaces-secret-references.md) - [Create a workspace secret.](https://klef.ai/docs/api-reference/secrets/create-a-workspace-secret.md) - [Get one secret's metadata.](https://klef.ai/docs/api-reference/secrets/get-one-secrets-metadata.md) - [Rename a workspace secret and/or rotate its value.](https://klef.ai/docs/api-reference/secrets/rename-a-workspace-secret-andor-rotate-its-value.md) - [Delete a workspace secret.](https://klef.ai/docs/api-reference/secrets/delete-a-workspace-secret.md) - [Reveal a workspace secret's value.](https://klef.ai/docs/api-reference/secrets/reveal-a-workspace-secrets-value.md) - [List the workspace's lookup tables.](https://klef.ai/docs/api-reference/lookup-tables/list-the-workspaces-lookup-tables.md) - [Create a lookup table.](https://klef.ai/docs/api-reference/lookup-tables/create-a-lookup-table.md) - [Get one lookup table.](https://klef.ai/docs/api-reference/lookup-tables/get-one-lookup-table.md) - [Replace a lookup table's name, options, and entries.](https://klef.ai/docs/api-reference/lookup-tables/replace-a-lookup-tables-name-options-and-entries.md) - [Delete a lookup table.](https://klef.ai/docs/api-reference/lookup-tables/delete-a-lookup-table.md) - [List the workspace's scripts.](https://klef.ai/docs/api-reference/scripts/list-the-workspaces-scripts.md) - [Create a script.](https://klef.ai/docs/api-reference/scripts/create-a-script.md) - [Get one script.](https://klef.ai/docs/api-reference/scripts/get-one-script.md) - [Replace a script's name and code.](https://klef.ai/docs/api-reference/scripts/replace-a-scripts-name-and-code.md) - [Delete a script.](https://klef.ai/docs/api-reference/scripts/delete-a-script.md) - [Run a script against a worker and return its result.](https://klef.ai/docs/api-reference/scripts/run-a-script-against-a-worker-and-return-its-result.md) - [List the workspace's segments.](https://klef.ai/docs/api-reference/segments/list-the-workspaces-segments.md): Worker counts are not included, because counting means reconciling the whole roster. Fetch them separately from `/segments/worker-counts`. - [Create a segment.](https://klef.ai/docs/api-reference/segments/create-a-segment.md) - [Count how many workers belong to each of the given segments.](https://klef.ai/docs/api-reference/segments/count-how-many-workers-belong-to-each-of-the-given-segments.md) - [Resolve an unsaved segment definition against the roster.](https://klef.ai/docs/api-reference/segments/resolve-an-unsaved-segment-definition-against-the-roster.md): Lets an editor show who a change would catch before it is saved. The body carries the definition rather than a segment id, so nothing is persisted. - [Get one segment.](https://klef.ai/docs/api-reference/segments/get-one-segment.md) - [Replace a segment.](https://klef.ai/docs/api-reference/segments/replace-a-segment.md) - [Delete a segment.](https://klef.ai/docs/api-reference/segments/delete-a-segment.md) - [List the workers the segment currently holds.](https://klef.ai/docs/api-reference/segments/list-the-workers-the-segment-currently-holds.md) - [List your API keys.](https://klef.ai/docs/api-reference/apikeys/list-your-api-keys.md) - [Create an API key; the secret is returned once.](https://klef.ai/docs/api-reference/apikeys/create-an-api-key;-the-secret-is-returned-once.md) - [Get one API key's metadata.](https://klef.ai/docs/api-reference/apikeys/get-one-api-keys-metadata.md) - [Revoke an API key.](https://klef.ai/docs/api-reference/apikeys/revoke-an-api-key.md) - [Rotate an API key's secret; the previous one stops working.](https://klef.ai/docs/api-reference/apikeys/rotate-an-api-keys-secret;-the-previous-one-stops-working.md) - [List the workspace's members.](https://klef.ai/docs/api-reference/members/list-the-workspaces-members.md) - [Get one member of the workspace.](https://klef.ai/docs/api-reference/members/get-one-member-of-the-workspace.md) - [Remove a member from the workspace.](https://klef.ai/docs/api-reference/members/remove-a-member-from-the-workspace.md) - [Change a member's role.](https://klef.ai/docs/api-reference/members/change-a-members-role.md) - [List the workspace's workers.](https://klef.ai/docs/api-reference/workers/list-the-workspaces-workers.md) - [List the distinct cost centers across the workspace's workers.](https://klef.ai/docs/api-reference/workers/list-the-distinct-cost-centers-across-the-workspaces-workers.md) - [List the licenses the workspace's accounts hold, most widely held first.](https://klef.ai/docs/api-reference/workers/list-the-licenses-the-workspaces-accounts-hold-most-widely-held-first.md) - [List the distinct values one worker field takes across the workspace.](https://klef.ai/docs/api-reference/workers/list-the-distinct-values-one-worker-field-takes-across-the-workspace.md) - [List the distinct departments across the workspace's workers.](https://klef.ai/docs/api-reference/workers/list-the-distinct-departments-across-the-workspaces-workers.md) - [List the distinct business units across the workspace's workers.](https://klef.ai/docs/api-reference/workers/list-the-distinct-business-units-across-the-workspaces-workers.md) - [List the workspace's workers as a slim reporting-tree projection.](https://klef.ai/docs/api-reference/workers/list-the-workspaces-workers-as-a-slim-reporting-tree-projection.md) - [Count the workers the workspace tracks.](https://klef.ai/docs/api-reference/workers/count-the-workers-the-workspace-tracks.md) - [Get the workspace's worker stats: lifecycle composition and the trailing 30-day headcount trend.](https://klef.ai/docs/api-reference/workers/get-the-workspaces-worker-stats:-lifecycle-composition-and-the-trailing-30-day-headcount-trend.md) - [Export the workspace's workers as CSV.](https://klef.ai/docs/api-reference/workers/export-the-workspaces-workers-as-csv.md) - [List upcoming worker lifecycle events within an optional date range.](https://klef.ai/docs/api-reference/workers/list-upcoming-worker-lifecycle-events-within-an-optional-date-range.md) - [Get one worker by id.](https://klef.ai/docs/api-reference/workers/get-one-worker-by-id.md) - [Returns the worker's current state in each external system it has an identity in.](https://klef.ai/docs/api-reference/workers/returns-the-workers-current-state-in-each-external-system-it-has-an-identity-in.md) - [List the policies whose segment includes this worker.](https://klef.ai/docs/api-reference/workers/list-the-policies-whose-segment-includes-this-worker.md) - [List the segments this worker belongs to.](https://klef.ai/docs/api-reference/workers/list-the-segments-this-worker-belongs-to.md) - [List the dates on which a worker's source or external state changed (the snapshot timeline).](https://klef.ai/docs/api-reference/workers/list-the-dates-on-which-a-workers-source-or-external-state-changed-the-snapshot-timeline.md) - [List a worker's activity: source-version bumps interleaved with the sync plans that ran against them, newest first.](https://klef.ai/docs/api-reference/workers/list-a-workers-activity:-source-version-bumps-interleaved-with-the-sync-plans-that-ran-against-them-newest-first.md) - [Get a worker's source state and external accounts as they were on a given date.](https://klef.ai/docs/api-reference/workers/get-a-workers-source-state-and-external-accounts-as-they-were-on-a-given-date.md): Reconstructs the source version effective on the date - [Get a specific historical version of a worker.](https://klef.ai/docs/api-reference/workers/get-a-specific-historical-version-of-a-worker.md) - [List the workspace's open inbox items](https://klef.ai/docs/api-reference/inbox/list-the-workspaces-open-inbox-items.md) - [The distinct kinds present across the workspace's open inbox items.](https://klef.ai/docs/api-reference/inbox/the-distinct-kinds-present-across-the-workspaces-open-inbox-items.md) - [Mark an inbox item resolved.](https://klef.ai/docs/api-reference/inbox/mark-an-inbox-item-resolved.md) - [Mark every open inbox item resolved.](https://klef.ai/docs/api-reference/inbox/mark-every-open-inbox-item-resolved.md) - [List the caller's notification channels](https://klef.ai/docs/api-reference/notifications/list-the-callers-notification-channels.md): A kind the caller has never changed is returned with every channel it supports turned on. - [Replace the caller's notification channels](https://klef.ai/docs/api-reference/notifications/replace-the-callers-notification-channels.md) ## OpenAPI Specs - [openapi-public](/docs/openapi-public.json)