Skip to content
Dymini Panel
v0.16.0-main.8d0b6a9
Menu
These are the docs of a prerelease (v0.16.0-main.8d0b6a9).Go to the latest version

Auth

On this page

Setup, sessions, users, tokens, and audit

OAuth authorization-server metadata for agent login

GET/.well-known/oauth-authorization-server

Responses

  • 200 OAuth authorization-server metadata for agent login

OAuth authorization-server metadata for agent login

GET/.well-known/oauth-authorization-server/mcp

Responses

  • 200 OAuth authorization-server metadata for agent login

OAuth protected-resource metadata for the MCP server

GET/.well-known/oauth-protected-resource

Responses

  • 200 OAuth protected-resource metadata for the MCP server

OAuth protected-resource metadata for the MCP server

GET/.well-known/oauth-protected-resource/mcp

Responses

  • 200 OAuth protected-resource metadata for the MCP server

Recent audit events

GET/api/v1/audit

Responses

  • 200 Recent audit eventsAuditView[]
    • actionstringrequired
    • actor_user_idstring | null (uuid)
    • created_atstring (date-time)required
    • idinteger (int64)required
    • ipstring | null
    • metadataobjectrequired
    • resource_idstring | null
    • resource_typestringrequired

Send an email sign-in factor after verifying the password

POST/api/v1/auth/mfa/email/send

Request bodyapplication/json

PasskeyVerify

  • emailstringrequired
  • passwordstringrequired

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/finish

Request bodyapplication/json

MfaFinish

  • challenge_idstringrequired
  • credentialanyrequired

Responses

  • 200 Complete discoverable passkey sign-in and issue a browser sessionSessionResponse
    • csrf_tokenstring | null
    • userUserViewrequired
      UserView
      • display_namestringrequired
      • emailstringrequired
      • idstring (uuid)required
      • is_ownerbooleanrequired
      • rolestringrequired
      • totp_enabledbooleanrequired

Begin discoverable passkey sign-in

POST/api/v1/auth/passkeys/login/start

Responses

  • 200 Begin discoverable passkey sign-inMfaChallenge
    • challenge_idstringrequired
    • optionsanyrequired

Complete passkey verification; return a single-use five-minute factor proof

POST/api/v1/auth/passkeys/verify/finish

Request bodyapplication/json

MfaFinish

  • challenge_idstringrequired
  • credentialanyrequired

Responses

  • 200 Complete passkey verification; return a single-use five-minute factor proofMfaProof
    • mfa_proofstringrequired

Begin a passkey second-factor or re-authentication ceremony

POST/api/v1/auth/passkeys/verify/start

Request bodyapplication/json

PasskeyVerify

  • emailstringrequired
  • passwordstringrequired

Responses

  • 200 Begin a passkey second-factor or re-authentication ceremonyMfaChallenge
    • challenge_idstringrequired
    • optionsanyrequired

Approve a dymini-panel CLI browser callback or 8-character device code login

POST/api/v1/cli/auth/approve

Request bodyapplication/json

CliAuthApproveRequest

  • device_codestring | null
  • namestring | null
  • request_idstring | null (uuid)

Responses

  • 200 Approve a dymini-panel CLI browser callback or 8-character device code loginCliAuthApproveResponse
    • callback_urlstring | null
    • client_namestringrequired
    • methodstringrequired
    • request_idstring (uuid)required
    • tokenstring | null
    • token_idstring (uuid)required

Poll a dymini-panel CLI login request for the issued API token

POST/api/v1/cli/auth/poll

Request bodyapplication/json

CliAuthPollRequest

  • poll_secretstringrequired
  • request_idstring (uuid)required

Responses

  • 200 Poll a dymini-panel CLI login request for the issued API tokenCliAuthPollResponse
    • statusstringrequired
    • tokenstring | null
    • token_idstring | null (uuid)

Inspect a pending dymini-panel CLI login request before approving it

GET/api/v1/cli/auth/requests/{id}

Responses

  • 200 Inspect a pending dymini-panel CLI login request before approving itCliAuthRequestView
    • callback_urlstring | null
    • client_namestringrequired
    • created_atstring (date-time)required
    • device_codestring | null
    • expires_atstring (date-time)required
    • idstring (uuid)required
    • methodstringrequired
    • scopesstring[]required
    • statusstringrequired

Start a browser or 8-character device-code login flow for dymini-panel CLI

POST/api/v1/cli/auth/start

Request bodyapplication/json

CliAuthStartRequest

  • callback_urlstring | null
  • client_namestring | null
  • methodstringrequired
  • scopesstring[]

Responses

  • 201 Start a browser or 8-character device-code login flow for dymini-panel CLICliAuthStartResponse
    • device_codestring | null
    • expires_atstring (date-time)required
    • interval_secondsinteger (int32)required
    • methodstringrequired
    • poll_secretstringrequired
    • request_idstring (uuid)required
    • verification_pathstringrequired

Sign in

POST/api/v1/login

Request bodyapplication/json

LoginRequest

  • emailstringrequired
  • email_codestring | null
  • mfa_proofstring | null
  • passwordstringrequired
  • totp_codestring | null

Responses

  • 200 Sign inSessionResponse
    • csrf_tokenstring | null
    • userUserViewrequired
      UserView
      • display_namestringrequired
      • emailstringrequired
      • idstring (uuid)required
      • is_ownerbooleanrequired
      • rolestringrequired
      • totp_enabledbooleanrequired

Sign out

POST/api/v1/logout

Responses

  • 204 Sign out

Agent permission scopes and ready-made templates (admin)

GET/api/v1/mcp/catalog

Responses

  • 200 Agent permission scopes and ready-made templates (admin)McpCatalog
    • scopesMcpScopeView[]required
      McpScopeView[]
      • groupstringrequired
      • idstringrequired
      • summarystringrequired
      • writebooleanrequired
    • templatesMcpTemplateView[]required
      McpTemplateView[]
      • idstringrequired
      • namestringrequired
      • scopesstring[]required
      • summarystringrequired
    • toolsMcpToolView[]required
      McpToolView[]
      • descriptionstringrequired
      • namestringrequired
      • scopestringrequired

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)McpClientView
    • client_idstringrequired
    • client_namestringrequired
    • redirect_urisstring[]required

Approve an agent from a signed-in browser and return the redirect (admin)

POST/api/v1/mcp/consent

Request bodyapplication/json

McpConsentRequest

  • allowed_toolsstring[]
  • client_idstringrequired
  • code_challengestringrequired
  • code_challenge_methodstringrequired
  • namestring
  • redirect_uristringrequired
  • resourcestring | null
  • scopesstring[]
  • statestringrequired
  • templatestringrequired

    full, read-all, operator, observer, or custom.

Responses

  • 200 Approve an agent from a signed-in browser and return the redirect (admin)McpConsentResponse
    • redirectstringrequired

      Send the browser here. It carries the one-time code.

Active agent approvals (admin)

GET/api/v1/mcp/grants

Responses

  • 200 Active agent approvals (admin)McpGrantView[]
    • allowed_toolsstring[]
    • client_idstringrequired
    • client_namestringrequired
    • created_atstring (date-time)required
    • idstring (uuid)required
    • last_used_atstring | null (date-time)
    • namestringrequired
    • scopesstring[]required
    • templatestringrequired

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/info

Responses

  • 200 MCP path to append to the panel address (admin)McpInfo
    • pathstringrequired

      Path to append to the panel address. The browser adds the origin.

Current session

GET/api/v1/me

Responses

  • 200 Current sessionSessionResponse
    • csrf_tokenstring | null
    • userUserViewrequired
      UserView
      • display_namestringrequired
      • emailstringrequired
      • idstring (uuid)required
      • is_ownerbooleanrequired
      • rolestringrequired
      • totp_enabledbooleanrequired

List enabled MFA methods and availability

GET/api/v1/me/mfa

Responses

  • 200 List enabled MFA methods and availabilityMfaMethods
    • emailbooleanrequired
    • email_availablebooleanrequired
    • passkey_originstring | null
    • passkeysinteger (int64)required
    • totpbooleanrequired

Disable email MFA with password and a current factor

POST/api/v1/me/mfa/email/disable

Request bodyapplication/json

MfaReauth

  • email_codestring | null
  • mfa_proofstring | null
  • totp_codestring | null
  • passwordstringrequired

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/enable

Request bodyapplication/json

EmailMfaEnable

  • codestringrequired
  • passwordstringrequired

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/send

Request bodyapplication/json

EmailMfaSend

  • purposestringrequired

Responses

  • 204 Send an enrollment or re-authentication email code

List your registered passkeys

GET/api/v1/me/passkeys

Responses

  • 200 List your registered passkeysPasskeyView[]
    • counterinteger (int64)required
    • created_atstring (date-time)required
    • idstring (uuid)required
    • last_used_atstring | null (date-time)
    • namestringrequired

Complete a single-use passkey registration

POST/api/v1/me/passkeys/register/finish

Request bodyapplication/json

MfaFinish

  • challenge_idstringrequired
  • credentialanyrequired

Responses

  • 204 Complete a single-use passkey registration

Begin resident passkey registration after re-authentication

POST/api/v1/me/passkeys/register/start

Request bodyapplication/json

PasskeyRegister

  • namestringrequired

Responses

  • 200 Begin resident passkey registration after re-authenticationMfaChallenge
    • challenge_idstringrequired
    • optionsanyrequired

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 | null
  • mfa_proofstring | null
  • totp_codestring | null
  • passwordstringrequired

Responses

  • 204 Delete your passkey with password and a current factor

Change password

POST/api/v1/me/password

Request bodyapplication/json

PasswordChange

  • current_passwordstringrequired
  • new_passwordstringrequired

Responses

  • 204 Change password

Disable authenticator

POST/api/v1/me/totp/disable

Request bodyapplication/json

TotpDisable

  • codestringrequired
  • email_codestring | null
  • mfa_proofstring | null
  • passwordstringrequired

Responses

  • 204 Disable authenticator

Enable authenticator and show recovery codes once

POST/api/v1/me/totp/enable

Request bodyapplication/json

TotpEnable

  • codestringrequired

Responses

  • 200 Enable authenticator and show recovery codes onceRecoveryCodes
    • recovery_codesstring[]required

Start authenticator setup

POST/api/v1/me/totp/setup

Request bodyapplication/json

MfaReauth

  • email_codestring | null
  • mfa_proofstring | null
  • totp_codestring | null
  • passwordstringrequired

Responses

  • 200 Start authenticator setupTotpSetupResponse
    • otpauth_urlstringrequired
    • secretstringrequired

Create the owner

POST/api/v1/setup

Request bodyapplication/json

SetupRequest

  • display_namestring | null
  • emailstringrequired
  • passwordstringrequired
  • setup_tokenstringrequired

    One-time token from setup-token in the data directory, or DYMINI_PANEL_SETUP_TOKEN.

Responses

  • 200 Create the ownerSessionResponse
    • csrf_tokenstring | null
    • userUserViewrequired
      UserView
      • display_namestringrequired
      • emailstringrequired
      • idstring (uuid)required
      • is_ownerbooleanrequired
      • rolestringrequired
      • totp_enabledbooleanrequired

Setup status

GET/api/v1/setup/status

Responses

  • 200 Setup statusSetupStatus
    • needs_setupbooleanrequired

List API tokens

GET/api/v1/tokens

Responses

  • 200 List API tokensTokenView[]
    • agent_scopesstring[]
    • allowed_toolsstring[]
    • auth_methodstringrequired
    • created_atstring (date-time)required
    • created_by_mcp_clientstring | null
    • expires_atstring | null (date-time)
    • idstring (uuid)required
    • last_used_atstring | null (date-time)
    • namestringrequired
    • scopesstring[]required

Create an API token

POST/api/v1/tokens

Request bodyapplication/json

CreateToken

  • agent_scopesstring[]
  • allowed_toolsstring[]
  • expires_atstring | null (date-time)
  • namestringrequired
  • scopesstring[]required

Responses

  • 201 Create an API tokenCreatedToken
    • agent_scopesstring[]
    • allowed_toolsstring[]
    • auth_methodstringrequired
    • created_by_mcp_clientstring | null
    • expires_atstring | null (date-time)
    • idstring (uuid)required
    • namestringrequired
    • scopesstring[]required
    • tokenstringrequired

Revoke an API token

DELETE/api/v1/tokens/{id}

Responses

  • 204 Revoke an API token

List users

GET/api/v1/users

Responses

  • 200 List usersUserView[]
    • display_namestringrequired
    • emailstringrequired
    • idstring (uuid)required
    • is_ownerbooleanrequired
    • rolestringrequired
    • totp_enabledbooleanrequired

Create user

POST/api/v1/users

Request bodyapplication/json

CreateUser

  • display_namestring | null
  • emailstringrequired
  • passwordstringrequired
  • rolestringrequired

Responses

  • 201 Create userUserView
    • display_namestringrequired
    • emailstringrequired
    • idstring (uuid)required
    • is_ownerbooleanrequired
    • rolestringrequired
    • totp_enabledbooleanrequired

Change a user's role

PATCH/api/v1/users/{id}

Request bodyapplication/json

UpdateUser

  • rolestringrequired

Responses

  • 200 Change a user's roleUserView
    • display_namestringrequired
    • emailstringrequired
    • idstring (uuid)required
    • is_ownerbooleanrequired
    • rolestringrequired
    • totp_enabledbooleanrequired

Delete a user

DELETE/api/v1/users/{id}

Responses

  • 204 Delete a user

MCP SSE is not offered; use POST

GET/mcp

Responses

  • 405 MCP SSE is not offered; use POST

MCP JSON-RPC. Agents call panel actions here after approval

POST/mcp

Responses

  • 200 MCP JSON-RPC. Agents call panel actions here after approval

End an MCP HTTP session

DELETE/mcp

Responses

  • 204 End an MCP HTTP session

Start agent approval. Redirects to sign-in, then to the consent page

GET/oauth/authorize

Responses

  • 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/register

Responses

  • 201 Register an OAuth client for an agent (dynamic client registration)

Revoke an agent access or refresh token

POST/oauth/revoke

Responses

  • 200 Revoke an agent access or refresh token

Exchange an authorization code or refresh token for an agent access token

POST/oauth/token

Responses

  • 200 Exchange an authorization code or refresh token for an agent access token