authentik integration
authentik is a self-hosted identity provider. An agent can manage the directory and the access rules around it: create, read, update and delete users (including service accounts, password sets, recovery links and account lockdown), groups and their memberships, RBAC roles and the permissions assigned to them, API tokens and their key values, applications and the check that says whether a user may open one, authentication flows and their stage bindings, policies (the generic registry plus expression policies) and the bindings that attach them to a flow or application, OAuth2 providers with their setup URLs and claim preview, the read side of every provider and source type, certificate key pairs including generation and certificate or private-key retrieval, brands, and the event log with its statistics and export. This is a curated core: authenticator and stage type families, per-provider and per-source property mappings, source user and group connections, endpoint and agent management, outposts, blueprints, tenants and enterprise licensing are not included, and neither are the browser-driven flow executor and impersonation routes. The credential is an authentik API token created under Directory then Tokens, sent as a bearer token. The host is part of the credential because every install is its own deployment.
Say what should happen.
The workflow builds itself.
What you can do with authentik
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Used by, 15 operations
list_application_usagesList application usagesGETAgents: ask firstGet a list of all objects that use this object.list_brand_usagesList brand usagesGETAgents: ask firstGet a list of all objects that use this object.list_certificate_keypair_usagesList certificate keypair usagesGETAgents: ask firstGet a list of all objects that use this object.list_expression_policy_usagesList expression policy usagesGETAgents: ask firstGet a list of all objects that use this object.list_flow_stage_binding_usagesList flow stage binding usagesGETAgents: ask firstGet a list of all objects that use this object.list_flow_usagesList flow usagesGETAgents: ask firstGet a list of all objects that use this object.list_group_usagesList group usagesGETAgents: ask firstGet a list of all objects that use this object.list_oauth2_provider_usagesList oauth2 provider usagesGETAgents: ask firstGet a list of all objects that use this object.list_policy_binding_usagesList policy binding usagesGETAgents: ask firstGet a list of all objects that use this object.list_policy_usagesList policy usagesGETAgents: ask firstGet a list of all objects that use this object.list_provider_usagesList provider usagesGETAgents: ask firstGet a list of all objects that use this object.list_role_usagesList role usagesGETAgents: ask firstGet a list of all objects that use this object.list_source_usagesList source usagesGETAgents: ask firstGet a list of all objects that use this object.list_token_usagesList token usagesGETAgents: ask firstGet a list of all objects that use this object.list_user_usagesList user usagesGETAgents: ask firstGet a list of all objects that use this object.
All, 9 operations
delete_policyDelete policyDELETEAgents: ask firstPolicy Viewset.delete_providerDelete providerDELETEAgents: ask firstProvider Viewset.delete_sourceDelete sourceDELETEAgents: ask firstPrevent deletion of built-in sources.get_policyGet policyGETAgents: ask firstPolicy Viewset.get_providerGet providerGETAgents: ask firstProvider Viewset.get_sourceGet sourceGETAgents: ask firstSource Viewset.list_policiesList policiesGETAgents: ask firstPolicy Viewset.list_providersList providersGETAgents: ask firstProvider Viewset.list_sourcesList sourcesGETAgents: ask firstSource Viewset.
Binding, 9 operations
create_flow_stage_bindingCreate flow stage bindingPOSTAgents: ask firstFlowStageBinding Viewset.create_policy_bindingCreate policy bindingPOSTAgents: ask firstPolicyBinding Viewset.delete_flow_stage_bindingDelete flow stage bindingDELETEAgents: ask firstFlowStageBinding Viewset.delete_policy_bindingDelete policy bindingDELETEAgents: ask firstPolicyBinding Viewset.get_flow_stage_bindingGet flow stage bindingGETAgents: ask firstFlowStageBinding Viewset.get_policy_bindingGet policy bindingGETAgents: ask firstPolicyBinding Viewset.list_flow_stage_bindingsList flow stage bindingsGETAgents: ask firstFlowStageBinding Viewset.list_policy_bindingsList policy bindingsGETAgents: ask firstPolicyBinding Viewset.replace_flow_stage_bindingReplace flow stage bindingPUTAgents: ask firstFlowStageBinding Viewset.
Application, 5 operations
create_applicationCreate applicationPOSTAgents: ask firstApplication Viewset.delete_applicationDelete applicationDELETEAgents: ask firstApplication Viewset.get_applicationGet applicationGETAgents: ask firstApplication Viewset.list_applicationsList applicationsGETAgents: ask firstCustom list method that checks Policy based access instead of guardian.replace_applicationReplace applicationPUTAgents: ask firstApplication Viewset.
Brand, 5 operations
create_brandCreate brandPOSTAgents: ask firstBrand Viewset.delete_brandDelete brandDELETEAgents: ask firstBrand Viewset.get_brandGet brandGETAgents: ask firstBrand Viewset.list_brandsList brandsGETAgents: ask firstBrand Viewset.replace_brandReplace brandPUTAgents: ask firstBrand Viewset.
Certificatekeypair, 5 operations
create_certificate_keypairCreate certificate keypairPOSTAgents: ask firstCertificateKeyPair Viewset.delete_certificate_keypairDelete certificate keypairDELETEAgents: ask firstCertificateKeyPair Viewset.get_certificate_keypairGet certificate keypairGETAgents: ask firstCertificateKeyPair Viewset.list_certificate_keypairsList certificate keypairsGETAgents: ask firstCertificateKeyPair Viewset.replace_certificate_keypairReplace certificate keypairPUTAgents: ask firstCertificateKeyPair Viewset.
Event, 5 operations
create_eventCreate eventPOSTAgents: ask firstEvent Read-Only Viewset.delete_eventDelete eventDELETEAgents: ask firstEvent Read-Only Viewset.get_eventGet eventGETAgents: ask firstEvent Read-Only Viewset.list_eventsList eventsGETAgents: ask firstEvent Read-Only Viewset.replace_eventReplace eventPUTAgents: ask firstEvent Read-Only Viewset.
Expression, 5 operations
create_expression_policyCreate expression policyPOSTAgents: ask firstSource Viewset.delete_expression_policyDelete expression policyDELETEAgents: ask firstSource Viewset.get_expression_policyGet expression policyGETAgents: ask firstSource Viewset.list_expression_policiesList expression policiesGETAgents: ask firstSource Viewset.replace_expression_policyReplace expression policyPUTAgents: ask firstSource Viewset.
Instance, 5 operations
create_flowCreate flowPOSTAgents: ask firstFlow Viewset.delete_flowDelete flowDELETEAgents: ask firstFlow Viewset.get_flowGet flowGETAgents: ask firstFlow Viewset.list_flowsList flowsGETAgents: ask firstFlow Viewset.replace_flowReplace flowPUTAgents: ask firstFlow Viewset.
Role, 5 operations
create_roleCreate rolePOSTAgents: ask firstRole viewset.delete_roleDelete roleDELETEAgents: ask firstRole viewset.get_roleGet roleGETAgents: ask firstRole viewset.list_role_permissionsList role permissionsGETAgents: ask firstGet a role's assigned object permissions.list_rolesList rolesGETAgents: ask firstRole viewset.
Group, 4 operations
create_groupCreate groupPOSTAgents: ask firstGroup Viewset.delete_groupDelete groupDELETEAgents: ask firstGroup Viewset.get_groupGet groupGETAgents: ask firstGroup Viewset.list_groupsList groupsGETAgents: ask firstGroup Viewset.
Oauth2, 4 operations
create_oauth2_providerCreate oauth2 providerPOSTAgents: ask firstOAuth2Provider Viewset.delete_oauth2_providerDelete oauth2 providerDELETEAgents: ask firstOAuth2Provider Viewset.get_oauth2_providerGet oauth2 providerGETAgents: ask firstOAuth2Provider Viewset.list_oauth2_providersList oauth2 providersGETAgents: ask firstOAuth2Provider Viewset.
Token, 4 operations
create_tokenCreate tokenPOSTAgents: ask firstToken Viewset.delete_tokenDelete tokenDELETEAgents: ask firstToken Viewset.get_tokenGet tokenGETAgents: ask firstToken Viewset.list_tokensList tokensGETAgents: ask firstToken Viewset.
User, 4 operations
create_userCreate userPOSTAgents: ask firstUser Viewset.delete_userDelete userDELETEAgents: ask firstUser Viewset.get_userGet userGETAgents: ask firstUser Viewset.list_usersList usersGETAgents: ask firstUser Viewset.
Export, 3 operations
export_eventsExport eventsPOSTAgents: ask firstCreate a data export for this data type. Note that the export is generated asynchronously: this method returns a `DataExport` object that will initially have `completed=false` as.export_flowExport flowGETAgents: ask firstExport flow to .yaml file.export_usersExport usersPOSTAgents: ask firstCreate a data export for this data type. Note that the export is generated asynchronously: this method returns a `DataExport` object that will initially have `completed=false` as.
Type, 3 operations
list_policy_typesList policy typesGETAgents: ask firstGet all creatable types.list_provider_typesList provider typesGETAgents: ask firstGet all creatable types.list_source_typesList source typesGETAgents: ask firstGet all creatable types.
Add user, 2 operations
add_user_to_groupAdd user to groupPOSTAgents: ask firstAdd user to group.add_user_to_roleAdd user to rolePOSTAgents: ask firstAdd user to role.
Cache info, 2 operations
get_flow_cache_infoGet flow cache infoGETAgents: ask firstInfo about cached flows.get_policy_cache_infoGet policy cache infoGETAgents: ask firstInfo about cached policies.
History, 2 operations
get_version_history_entryGet version history entryGETAgents: ask firstVersionHistory Viewset.list_version_historyList version historyGETAgents: ask firstVersionHistory Viewset.
Permission, 2 operations
get_permissionGet permissionGETAgents: ask firstRead-only list of all permissions, filterable by model and app.list_permissionsList permissionsGETAgents: ask firstRead-only list of all permissions, filterable by model and app.
Remove user, 2 operations
remove_user_from_groupRemove user from groupPOSTAgents: ask firstRemove user from group.remove_user_from_roleRemove user from rolePOSTAgents: ask firstRemove user from role.
Account lockdown, 1 operation
lock_down_user_accountLock down user accountPOSTAgents: ask firstChoose the target account, then return a flow link.
Action, 1 operation
list_event_actionsList event actionsGETAgents: ask firstGet all actions.
Assign, 1 operation
assign_role_permissionAssign role permissionPOSTAgents: ask firstAssign permission(s) to role. When `object_pk` is set, the permissions are only assigned to the specific object, otherwise they are assigned globally.
Assigned by role, 1 operation
list_permissions_assigned_by_rolesList permissions assigned by rolesGETAgents: ask firstGet assigned object permissions for a single object.
Check acces, 1 operation
check_application_accessCheck application accessGETAgents: ask firstCheck access to a single application by slug.
Current, 1 operation
get_current_brandGet current brandGETAgents: ask firstGet current brand.
Diagram, 1 operation
get_flow_diagramGet flow diagramGETAgents: ask firstReturn diagram for flow with slug `slug`, in the format used by flowchart.js.
Generate, 1 operation
generate_certificate_keypairGenerate certificate keypairPOSTAgents: ask firstGenerate a new, self-signed certificate-key pair.
Me, 1 operation
get_current_userGet current userGETAgents: ask firstGet information about current user.
Path, 1 operation
list_user_pathsList user pathsGETAgents: ask firstGet all user paths.
Preview user, 1 operation
preview_oauth2_provider_userPreview oauth2 provider userGETAgents: ask firstPreview user data for provider.
Recovery, 1 operation
create_user_recovery_linkCreate user recovery linkPOSTAgents: ask firstCreate a temporary link that a user can use to recover their account.
Requestable, 1 operation
list_requestable_applicationsList requestable applicationsGETAgents: ask firstList applications which the current user can request access to.
Service account, 1 operation
create_service_accountCreate service accountPOSTAgents: ask firstCreate a new user account that is marked as a service account.
Setup url, 1 operation
get_oauth2_provider_setup_urlsGet oauth2 provider setup urlsGETAgents: ask firstGet Providers setup URLs.
Stat, 1 operation
get_event_statsGet event statsGETAgents: ask firstGet event stats for specified filters and count steps.
Top per user, 1 operation
list_top_events_per_userList top events per userGETAgents: ask firstGet the top_n events grouped by user count.
User setting, 1 operation
list_source_user_settingsList source user settingsGETAgents: ask firstGet all sources the user can configure.
Version, 1 operation
get_versionGet versionGETAgents: ask firstGet running and latest version.
Volume, 1 operation
list_event_volumeList event volumeGETAgents: ask firstGet event volume for specified filters and timeframe.
Showing the first 120 of 148 endpoints. The rest are in the product, searchable from the workflow builder and from chat.
Use authentik from Claude Code, Cursor or Codex
Connect authentik in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its authentik operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect authentik
- Create your workspace
Sign up free. Nothing to install.
- Connect authentik once
Add your authentik connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
authentik integration FAQ
What can you do with the authentik integration?
LiveContext exposes 148 operations on authentik, covering used by, all, binding and application.
