Auth
On this page
- OAuth authorization-server metadata for agent login
- OAuth authorization-server metadata for agent login
- OAuth protected-resource metadata for the MCP server
- OAuth protected-resource metadata for the MCP server
- Recent audit events
- Send an email sign-in factor after verifying the password
- Complete discoverable passkey sign-in and issue a browser session
- Begin discoverable passkey sign-in
- Complete passkey verification; return a single-use five-minute factor proof
- Begin a passkey second-factor or re-authentication ceremony
- Approve a rudder CLI browser callback or 8-character device code login
- Poll a rudder CLI login request for the issued API token
- Inspect a pending rudder CLI login request before approving it
- Start a browser or 8-character device-code login flow for rudder CLI
- Sign in
- Sign out
- Agent permission scopes and ready-made templates (admin)
- Registered agent client name and redirect URLs (admin)
- Approve an agent from a signed-in browser and return the redirect (admin)
- Active agent approvals (admin)
- Edit an MCP grant's scopes and individual tools (admin, write)
- Revoke an agent approval (admin, write)
- MCP path to append to the panel address (admin)
- Current session
- List enabled MFA methods and availability
- Disable email MFA with password and a current factor
- Enable email MFA with the enrollment code and password
- Send an enrollment or re-authentication email code
- List your registered passkeys
- Complete a single-use passkey registration
- Begin resident passkey registration after re-authentication
- Rename your passkey
- Delete your passkey with password and a current factor
- Change password
- Disable authenticator
- Enable authenticator and show recovery codes once
- Start authenticator setup
- Create the owner
- Setup status
- List API tokens
- Create an API token
- Revoke an API token
- List users
- Create user
- Change a user's role
- Delete a user
- MCP SSE is not offered; use POST
- MCP JSON-RPC. Agents call panel actions here after approval
- End an MCP HTTP session
- Start agent approval. Redirects to sign-in, then to the consent page
- Register an OAuth client for an agent (dynamic client registration)
- Revoke an agent access or refresh token
- Exchange an authorization code or refresh token for an agent access token
Setup, sessions, users, tokens, and audit
OAuth authorization-server metadata for agent login
GET
/.well-known/oauth-authorization-serverResponses
- 200 OAuth authorization-server metadata for agent login
OAuth authorization-server metadata for agent login
GET
/.well-known/oauth-authorization-server/mcpResponses
- 200 OAuth authorization-server metadata for agent login
OAuth protected-resource metadata for the MCP server
GET
/.well-known/oauth-protected-resourceResponses
- 200 OAuth protected-resource metadata for the MCP server
OAuth protected-resource metadata for the MCP server
GET
/.well-known/oauth-protected-resource/mcpResponses
- 200 OAuth protected-resource metadata for the MCP server
Recent audit events
GET
/api/v1/auditResponses
200 Recent audit events
AuditView[]actionstringrequiredactor_user_idstring | null (uuid)created_atstring (date-time)requiredidinteger (int64)requiredipstring | nullmetadataobjectrequiredresource_idstring | nullresource_typestringrequired
Send an email sign-in factor after verifying the password
POST
/api/v1/auth/mfa/email/sendRequest bodyapplication/json
PasskeyVerify
emailstringrequiredpasswordstringrequired
Responses
- 204 Send an email sign-in factor after verifying the password
Complete discoverable passkey sign-in and issue a browser session
POST
/api/v1/auth/passkeys/login/finishRequest bodyapplication/json
MfaFinish
challenge_idstringrequiredcredentialanyrequired
Responses
200 Complete discoverable passkey sign-in and issue a browser session
SessionResponsecsrf_tokenstring | nulluserUserViewrequiredUserView
display_namestringrequiredemailstringrequiredidstring (uuid)requiredis_ownerbooleanrequiredrolestringrequiredtotp_enabledbooleanrequired
Begin discoverable passkey sign-in
POST
/api/v1/auth/passkeys/login/startResponses
200 Begin discoverable passkey sign-in
MfaChallengechallenge_idstringrequiredoptionsanyrequired
Complete passkey verification; return a single-use five-minute factor proof
POST
/api/v1/auth/passkeys/verify/finishRequest bodyapplication/json
MfaFinish
challenge_idstringrequiredcredentialanyrequired
Responses
200 Complete passkey verification; return a single-use five-minute factor proof
MfaProofmfa_proofstringrequired
Begin a passkey second-factor or re-authentication ceremony
POST
/api/v1/auth/passkeys/verify/startRequest bodyapplication/json
PasskeyVerify
emailstringrequiredpasswordstringrequired
Responses
200 Begin a passkey second-factor or re-authentication ceremony
MfaChallengechallenge_idstringrequiredoptionsanyrequired
Approve a rudder CLI browser callback or 8-character device code login
POST
/api/v1/cli/auth/approveRequest bodyapplication/json
CliAuthApproveRequest
device_codestring | nullnamestring | nullrequest_idstring | null (uuid)
Responses
200 Approve a rudder CLI browser callback or 8-character device code login
CliAuthApproveResponsecallback_urlstring | nullclient_namestringrequiredmethodstringrequiredrequest_idstring (uuid)requiredtokenstring | nulltoken_idstring (uuid)required
Poll a rudder CLI login request for the issued API token
POST
/api/v1/cli/auth/pollRequest bodyapplication/json
CliAuthPollRequest
poll_secretstringrequiredrequest_idstring (uuid)required
Responses
200 Poll a rudder CLI login request for the issued API token
CliAuthPollResponsestatusstringrequiredtokenstring | nulltoken_idstring | null (uuid)
Inspect a pending rudder CLI login request before approving it
GET
/api/v1/cli/auth/requests/{id}Responses
200 Inspect a pending rudder CLI login request before approving it
CliAuthRequestViewcallback_urlstring | nullclient_namestringrequiredcreated_atstring (date-time)requireddevice_codestring | nullexpires_atstring (date-time)requiredidstring (uuid)requiredmethodstringrequiredscopesstring[]requiredstatusstringrequired
Start a browser or 8-character device-code login flow for rudder CLI
POST
/api/v1/cli/auth/startRequest bodyapplication/json
CliAuthStartRequest
callback_urlstring | nullclient_namestring | nullmethodstringrequiredscopesstring[]
Responses
201 Start a browser or 8-character device-code login flow for rudder CLI
CliAuthStartResponsedevice_codestring | nullexpires_atstring (date-time)requiredinterval_secondsinteger (int32)requiredmethodstringrequiredpoll_secretstringrequiredrequest_idstring (uuid)requiredverification_pathstringrequired
Sign in
POST
/api/v1/loginRequest bodyapplication/json
LoginRequest
emailstringrequiredemail_codestring | nullmfa_proofstring | nullpasswordstringrequiredtotp_codestring | null
Responses
200 Sign in
SessionResponsecsrf_tokenstring | nulluserUserViewrequiredUserView
display_namestringrequiredemailstringrequiredidstring (uuid)requiredis_ownerbooleanrequiredrolestringrequiredtotp_enabledbooleanrequired
Sign out
POST
/api/v1/logoutResponses
- 204 Sign out
Agent permission scopes and ready-made templates (admin)
GET
/api/v1/mcp/catalogResponses
200 Agent permission scopes and ready-made templates (admin)
McpCatalogscopesMcpScopeView[]requiredMcpScopeView[]
groupstringrequiredidstringrequiredsummarystringrequiredwritebooleanrequired
templatesMcpTemplateView[]requiredMcpTemplateView[]
idstringrequirednamestringrequiredscopesstring[]requiredsummarystringrequired
toolsMcpToolView[]requiredMcpToolView[]
descriptionstringrequirednamestringrequiredscopestringrequired
Registered agent client name and redirect URLs (admin)
GET
/api/v1/mcp/clients/{client_id}Responses
200 Registered agent client name and redirect URLs (admin)
McpClientViewclient_idstringrequiredclient_namestringrequiredredirect_urisstring[]required
Approve an agent from a signed-in browser and return the redirect (admin)
POST
/api/v1/mcp/consentRequest bodyapplication/json
McpConsentRequest
allowed_toolsstring[]client_idstringrequiredcode_challengestringrequiredcode_challenge_methodstringrequirednamestringredirect_uristringrequiredresourcestring | nullscopesstring[]statestringrequiredtemplatestringrequiredfull,read-all,operator,observer, orcustom.
Responses
200 Approve an agent from a signed-in browser and return the redirect (admin)
McpConsentResponseredirectstringrequiredSend the browser here. It carries the one-time code.
Active agent approvals (admin)
GET
/api/v1/mcp/grantsResponses
200 Active agent approvals (admin)
McpGrantView[]allowed_toolsstring[]client_idstringrequiredclient_namestringrequiredcreated_atstring (date-time)requiredidstring (uuid)requiredlast_used_atstring | null (date-time)namestringrequiredscopesstring[]requiredtemplatestringrequired
Edit an MCP grant's scopes and individual tools (admin, write)
PUT
/api/v1/mcp/grants/{id}Request bodyapplication/json
McpGrantUpdate
allowed_toolsstring[]scopesstring[]templatestringrequired
Responses
- 204 Edit an MCP grant's scopes and individual tools (admin, write)
Revoke an agent approval (admin, write)
DELETE
/api/v1/mcp/grants/{id}Responses
- 204 Revoke an agent approval (admin, write)
MCP path to append to the panel address (admin)
GET
/api/v1/mcp/infoResponses
200 MCP path to append to the panel address (admin)
McpInfopathstringrequiredPath to append to the panel address. The browser adds the origin.
Current session
GET
/api/v1/meResponses
200 Current session
SessionResponsecsrf_tokenstring | nulluserUserViewrequiredUserView
display_namestringrequiredemailstringrequiredidstring (uuid)requiredis_ownerbooleanrequiredrolestringrequiredtotp_enabledbooleanrequired
List enabled MFA methods and availability
GET
/api/v1/me/mfaResponses
200 List enabled MFA methods and availability
MfaMethodsemailbooleanrequiredemail_availablebooleanrequiredpasskey_originstring | nullpasskeysinteger (int64)requiredtotpbooleanrequired
Disable email MFA with password and a current factor
POST
/api/v1/me/mfa/email/disableRequest bodyapplication/json
MfaReauth
email_codestring | nullmfa_proofstring | nulltotp_codestring | nullpasswordstringrequired
Responses
- 204 Disable email MFA with password and a current factor
Enable email MFA with the enrollment code and password
POST
/api/v1/me/mfa/email/enableRequest bodyapplication/json
EmailMfaEnable
codestringrequiredpasswordstringrequired
Responses
- 204 Enable email MFA with the enrollment code and password
Send an enrollment or re-authentication email code
POST
/api/v1/me/mfa/email/sendRequest bodyapplication/json
EmailMfaSend
purposestringrequired
Responses
- 204 Send an enrollment or re-authentication email code
List your registered passkeys
GET
/api/v1/me/passkeysResponses
200 List your registered passkeys
PasskeyView[]counterinteger (int64)requiredcreated_atstring (date-time)requiredidstring (uuid)requiredlast_used_atstring | null (date-time)namestringrequired
Complete a single-use passkey registration
POST
/api/v1/me/passkeys/register/finishRequest bodyapplication/json
MfaFinish
challenge_idstringrequiredcredentialanyrequired
Responses
- 204 Complete a single-use passkey registration
Begin resident passkey registration after re-authentication
POST
/api/v1/me/passkeys/register/startRequest bodyapplication/json
PasskeyRegister
namestringrequired
Responses
200 Begin resident passkey registration after re-authentication
MfaChallengechallenge_idstringrequiredoptionsanyrequired
Rename your passkey
PATCH
/api/v1/me/passkeys/{id}Request bodyapplication/json
PasskeyName
namestringrequired
Responses
- 204 Rename your passkey
Delete your passkey with password and a current factor
DELETE
/api/v1/me/passkeys/{id}Request bodyapplication/json
MfaReauth
email_codestring | nullmfa_proofstring | nulltotp_codestring | nullpasswordstringrequired
Responses
- 204 Delete your passkey with password and a current factor
Change password
POST
/api/v1/me/passwordRequest bodyapplication/json
PasswordChange
current_passwordstringrequirednew_passwordstringrequired
Responses
- 204 Change password
Disable authenticator
POST
/api/v1/me/totp/disableRequest bodyapplication/json
TotpDisable
codestringrequiredemail_codestring | nullmfa_proofstring | nullpasswordstringrequired
Responses
- 204 Disable authenticator
Enable authenticator and show recovery codes once
POST
/api/v1/me/totp/enableRequest bodyapplication/json
TotpEnable
codestringrequired
Responses
200 Enable authenticator and show recovery codes once
RecoveryCodesrecovery_codesstring[]required
Start authenticator setup
POST
/api/v1/me/totp/setupRequest bodyapplication/json
MfaReauth
email_codestring | nullmfa_proofstring | nulltotp_codestring | nullpasswordstringrequired
Responses
200 Start authenticator setup
TotpSetupResponseotpauth_urlstringrequiredsecretstringrequired
Create the owner
POST
/api/v1/setupRequest bodyapplication/json
SetupRequest
display_namestring | nullemailstringrequiredpasswordstringrequiredsetup_tokenstringrequiredOne-time token from
setup-tokenin the data directory, orRUDDER_SETUP_TOKEN.
Responses
200 Create the owner
SessionResponsecsrf_tokenstring | nulluserUserViewrequiredUserView
display_namestringrequiredemailstringrequiredidstring (uuid)requiredis_ownerbooleanrequiredrolestringrequiredtotp_enabledbooleanrequired
Setup status
GET
/api/v1/setup/statusResponses
200 Setup status
SetupStatusneeds_setupbooleanrequired
List API tokens
GET
/api/v1/tokensResponses
200 List API tokens
TokenView[]agent_scopesstring[]allowed_toolsstring[]auth_methodstringrequiredcreated_atstring (date-time)requiredcreated_by_mcp_clientstring | nullexpires_atstring | null (date-time)idstring (uuid)requiredlast_used_atstring | null (date-time)namestringrequiredscopesstring[]required
Create an API token
POST
/api/v1/tokensRequest bodyapplication/json
CreateToken
agent_scopesstring[]allowed_toolsstring[]expires_atstring | null (date-time)namestringrequiredscopesstring[]required
Responses
201 Create an API token
CreatedTokenagent_scopesstring[]allowed_toolsstring[]auth_methodstringrequiredcreated_by_mcp_clientstring | nullexpires_atstring | null (date-time)idstring (uuid)requirednamestringrequiredscopesstring[]requiredtokenstringrequired
Revoke an API token
DELETE
/api/v1/tokens/{id}Responses
- 204 Revoke an API token
List users
GET
/api/v1/usersResponses
200 List users
UserView[]display_namestringrequiredemailstringrequiredidstring (uuid)requiredis_ownerbooleanrequiredrolestringrequiredtotp_enabledbooleanrequired
Create user
POST
/api/v1/usersRequest bodyapplication/json
CreateUser
display_namestring | nullemailstringrequiredpasswordstringrequiredrolestringrequired
Responses
201 Create user
UserViewdisplay_namestringrequiredemailstringrequiredidstring (uuid)requiredis_ownerbooleanrequiredrolestringrequiredtotp_enabledbooleanrequired
Change a user's role
PATCH
/api/v1/users/{id}Request bodyapplication/json
UpdateUser
rolestringrequired
Responses
200 Change a user's role
UserViewdisplay_namestringrequiredemailstringrequiredidstring (uuid)requiredis_ownerbooleanrequiredrolestringrequiredtotp_enabledbooleanrequired
Delete a user
DELETE
/api/v1/users/{id}Responses
- 204 Delete a user
MCP SSE is not offered; use POST
GET
/mcpResponses
- 405 MCP SSE is not offered; use POST
MCP JSON-RPC. Agents call panel actions here after approval
POST
/mcpResponses
- 200 MCP JSON-RPC. Agents call panel actions here after approval
End an MCP HTTP session
DELETE
/mcpResponses
- 204 End an MCP HTTP session
Start agent approval. Redirects to sign-in, then to the consent page
GET
/oauth/authorizeResponses
- 302 Start agent approval. Redirects to sign-in, then to the consent page
Register an OAuth client for an agent (dynamic client registration)
POST
/oauth/registerResponses
- 201 Register an OAuth client for an agent (dynamic client registration)
Revoke an agent access or refresh token
POST
/oauth/revokeResponses
- 200 Revoke an agent access or refresh token
Exchange an authorization code or refresh token for an agent access token
POST
/oauth/tokenResponses
- 200 Exchange an authorization code or refresh token for an agent access token