MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions10,856 in github.com/OpenHands/OpenHands

↓ 5 callersFunctionformatTimeDelta
(date: Date | string)
frontend/src/utils/format-time-delta.ts:38
↓ 5 callersMethodforward_event
Forward a Git provider webhook event to the automation service. This is designed to be called as a fire-and-forget background task.
enterprise/server/services/automation_event_service.py:94
↓ 5 callersMethodfrom_org_member
Create a MeResponse from an OrgMember, Role, and user email.
enterprise/server/routes/org_models.py:564
↓ 5 callersMethodfrom_value
Factory method to create a ProviderToken from various input types
openhands/app_server/integrations/provider.py:89
↓ 5 callersFunctiongenerate_byor_key
Generate a new BYOR key for a user in a specific org.
enterprise/server/routes/api_keys.py:65
↓ 5 callersMethodgenerate_token
Generate a secure invitation token. Uses cryptographically secure random generation for tokens. Pattern from api_key_store.py.
enterprise/storage/org_invitation_store.py:28
↓ 5 callersMethodgetConversationHeaders
()
frontend/src/api/conversation-service/conversation-service.api.ts:43
↓ 5 callersMethodgetSettings
* Get the settings from the server or use the default settings if not found
frontend/src/api/settings-service/settings-service.api.ts:11
↓ 5 callersFunctionget_api_key_org_id_from_request
Get the org_id bound to the API key used for authentication. Returns None if: - Not authenticated via API key (cookie auth), or - The API
enterprise/server/auth/authorization.py:386
↓ 5 callersMethodget_app_conversation
Get a single sandboxed conversation info. Return None if missing.
openhands/app_server/app_conversation/app_conversation_service.py:65
↓ 5 callersMethodget_async_session_maker
(self)
openhands/app_server/services/db_session_injector.py:263
↓ 5 callersMethodget_authenticated_git_url
Get an authenticated git URL for a repository. Args: repo_name: Repository name (owner/repo) is_optional: If True, lo
openhands/app_server/integrations/provider.py:500
↓ 5 callersFunctionget_current_user_git_info
Get the current authenticated user's metadata from the git provider.
openhands/app_server/user/user_router.py:45
↓ 5 callersFunctionget_current_workspace_link
Get current user's Jira integration details.
enterprise/server/routes/integration/jira.py:607
↓ 5 callersMethodget_event
Given an id, retrieve an event.
openhands/app_server/event/event_service.py:22
↓ 5 callersFunctionget_event_callback_service
( state: InjectorState, request: Request | None = None )
openhands/app_server/config.py:444
↓ 5 callersFunctionget_file_store
( file_store_type: str, file_store_path: str | None = None, )
openhands/app_server/file_store/__init__.py:8
↓ 5 callersMethodget_full_path
(self, path: str)
openhands/app_server/file_store/local.py:21
↓ 5 callersFunctionget_gitlab_resources
Get all GitLab projects and groups where the user has admin access. Returns a list of resources with their webhook installation status.
enterprise/server/routes/integration/gitlab.py:136
↓ 5 callersMethodget_installations
Get installations for the service; repos live underneath these installations
openhands/app_server/integrations/service_types.py:232
↓ 5 callersMethodget_me
Get the current user's membership record for an organization. Retrieves the authenticated user's role, status, email, and LLM override
enterprise/server/services/org_member_service.py:31
↓ 5 callersMethodget_or_create_active_email_link
Return the user's active link for this workspace, reactivating a prior inactive link or creating one if none exists. Used by email-ma
enterprise/storage/jira_dc_integration_store.py:220
↓ 5 callersFunctionget_org_creator_user_id
Dependency that authorizes a user to create an organization. Behavior is gated by the ``OPEN_ORG_CREATION_ENABLED`` feature switch: - W
enterprise/server/email_validation.py:72
↓ 5 callersFunctionget_org_members_count
Get count of organization members with optional email filter. This endpoint returns the total count of organization members matching the filt
enterprise/server/routes/orgs.py:953
↓ 5 callersMethodget_org_members_count
Get total count of organization members, optionally filtered by email. Args: org_id: Organization UUID. email_filter:
enterprise/storage/org_member_store.py:171
↓ 5 callersFunctionget_org_team_alias
Human-readable LiteLLM team_alias for an org's team. Personal orgs (org_id == user_id) get "Personal Workspace"; team orgs use their display
enterprise/storage/lite_llm_manager.py:78
↓ 5 callersMethodget_pending_messages
Get pending messages with ownership validation. Args: conversation_id: The conversation ID to get messages for Returns:
enterprise/server/utils/saas_pending_message_injector.py:139
↓ 5 callersFunctionget_provider_tokens
(request: Request)
openhands/app_server/user_auth/__init__.py:13
↓ 5 callersFunctionget_secret_value
Return a single secret value as plain text. Called by ``LookupSecret`` inside the sandbox. Checks custom secrets first, then falls back to pr
openhands/app_server/sandbox/sandbox_router.py:189
↓ 5 callersMethodget_secrets
Get the user's secrets
openhands/app_server/user_auth/user_auth.py:116
↓ 5 callersMethodget_store
(self)
tests/unit/app_server/file_store/test_file_store.py:170
↓ 5 callersMethodget_user_email
(self)
openhands/app_server/user/auth_user_context.py:43
↓ 5 callersMethodget_user_info_from_user_id
(self, user_id: str)
enterprise/server/auth/token_manager.py:916
↓ 5 callersMethodget_user_settings
Get the user settings for the current user. The default is the PERSISTED settings view (memoized in ``_settings``) — what settings ro
openhands/app_server/user_auth/user_auth.py:72
↓ 5 callersMethodget_webhook_by_resource_only
Get a webhook by resource without filtering by user_id. This allows any admin user in the organization to manage webhooks, not just t
enterprise/storage/gitlab_webhook_store.py:222
↓ 5 callersMethodgroup_identify
Associate a group with properties (SaaS-only). No-op in OSS mode or when ctx.consented=False.
openhands/analytics/analytics_service.py:121
↓ 5 callersMethodhandle_slack_error
Handle a SlackError by logging and sending user message. This is the centralized error handler for all SlackErrors, used by both the
enterprise/integrations/slack/slack_manager.py:622
↓ 5 callersMethodhit
Raises RateLimitException when limit is hit. Logs and swallows exceptions and logs if lookup fails.
enterprise/server/rate_limit.py:58
↓ 5 callersMethodinit
* Load and initialize the Reo.dev tracking script from CDN
frontend/src/utils/reo.ts:31
↓ 5 callersFunctioninit_tavily_proxy
Initialize the Tavily MCP proxy if API key is configured. This mounts a proxy to Tavily's MCP server under the 'tavily' namespace, allowing s
openhands/app_server/mcp/mcp_router.py:49
↓ 5 callersMethodinject
( self, state: InjectorState, request: Request | None = None )
openhands/app_server/sandbox/docker_sandbox_spec_service.py:68
↓ 5 callersMethodinject
( self, state: InjectorState, request: Request | None = None )
enterprise/server/sharing/aws_shared_event_service.py:142
↓ 5 callersFunctionisACPToolCallEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:236
↓ 5 callersFunctionisBillingHidden
( config: WebClientConfig | undefined, hasViewBillingPermission: boolean, )
frontend/src/utils/org/billing-visibility.ts:13
↓ 5 callersFunctionisConversationStateUpdateEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:174
↓ 5 callersMethodis_configured
Whether transactional email delivery is configured. Mirrors the checks in _get_resend_client without logging, so callers can surface
enterprise/server/services/email_service.py:41
↓ 5 callersMethodlist_api_keys
List user-visible API keys for a user. Returns keys that are either bound to ``org_id`` **or** unbound (``org_id IS NULL`` -- visible
enterprise/storage/api_key_store.py:342
↓ 5 callersMethodlist_super_admins
List all users that currently hold the instance-level super-admin role. A super admin is a user whose ``user.role_id`` references the
enterprise/storage/user_store.py:906
↓ 5 callersMethodload
Load session init data. By default returns the PERSISTED (user-authored) settings — the view every load() -> store() round-trip must
openhands/app_server/settings/settings_store.py:23
↓ 5 callersFunctionmake_mock_request
Create a mock FastAPI Request with a state object and headers dict.
enterprise/tests/unit/test_posthog_session_middleware.py:14
↓ 5 callersMethodmark_onboarding_completed
Mark the user's onboarding as completed. Args: user_id: The user's ID (Keycloak user ID) Returns: User: The
enterprise/storage/user_store.py:859
↓ 5 callersMethodmark_upload_failed
Mark this metrics record as having failed upload. Args: error_message: Description of the upload failure
enterprise/storage/telemetry_metrics.py:89
↓ 5 callersFunctionmerge_conversation_tags
Merge conversation tags with incoming tags overriding existing ones. Args: existing_tags: Tags from the existing conversation (may be Non
openhands/app_server/event_callback/webhook_router.py:108
↓ 5 callersFunctionmock_session_maker
Mock session maker.
enterprise/tests/unit/storage/test_resend_synced_user_store.py:21
↓ 5 callersMethodopen_conversation_export
Prepare a streaming conversation trajectory export. Implementations may override this to acquire locks or stream zip data. The defaul
openhands/app_server/app_conversation/app_conversation_service.py:176
↓ 5 callersMethodpause_sandbox
(self, sandbox_id: str)
tests/unit/app_server/test_sandbox_service.py:64
↓ 5 callersMethodpersist_org_with_owner
Persist organization and optional owner membership in a single transaction. Args: org: Organization entity to persist
enterprise/storage/org_store.py:496
↓ 5 callersMethodreset_webhook_for_reinstallation_by_resource
Reset webhook for reinstallation without filtering by user_id. This allows any admin user to reset webhooks, and updates the user_id
enterprise/storage/gitlab_webhook_store.py:289
↓ 5 callersMethodrevoke_invitation
Revoke a pending invitation, invalidating its token/link. Returns None when the invitation doesn't exist or belongs to a different or
enterprise/server/services/org_invitation_service.py:535
↓ 5 callersFunctionrun_tasks
()
enterprise/run_maintenance_tasks.py:34
↓ 5 callersFunctionsaas_user_auth_from_signed_token
(signed_token: str)
enterprise/server/auth/saas_user_auth.py:819
↓ 5 callersFunctionsave_pr_metadata
( user_id: str | None, conversation_id: str, tool_result: str )
openhands/app_server/mcp/mcp_router.py:98
↓ 5 callersMethodsearch_providers
( self, *, query: str | None = None, verified_eq: bool | None = None,
openhands/app_server/config_api/default_llm_model_service.py:217
↓ 5 callersFunctionselectOrganization
({ orgIndex, }: { orgIndex: number; })
frontend/test-utils.tsx:101
↓ 5 callersMethodsend_invitation_email
Send an organization invitation email. Args: to_email: Recipient's email address org_name: Name of the organization
enterprise/server/services/email_service.py:68
↓ 5 callersMethodsend_message
( self, message: str, bitbucket_view: ResolverViewInterface )
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:325
↓ 5 callersFunctionsend_welcome_email
Send a welcome email to a new contact. Args: email: The email address of the contact. first_name: The first name of the contact.
enterprise/sync/resend_keycloak.py:246
↓ 5 callersFunctionsetSelectedOrg
(orgId: string)
frontend/src/utils/local-storage.ts:43
↓ 5 callersFunctionsetup_json_logger
Configure logger instance to output json for Google Cloud. Existing filters should stay in place for sensitive content.
enterprise/server/logger.py:65
↓ 5 callersMethodstart
(self, message: str = '')
openhands/app_server/utils/logger.py:200
↓ 5 callersMethodstore
Store secrets.
openhands/app_server/secrets/secrets_store.py:27
↓ 5 callersMethodstore_projects
Store repositories in database (async version) 1. Make sure to store repositories if its ID doesn't exist 2. If repository I
enterprise/storage/repository_store.py:9
↓ 5 callersMethodswitch_org
Switch user's current organization to the specified organization. This method: 1. Validates that the organization exists
enterprise/storage/org_service.py:880
↓ 5 callersFunctiontoSdkMcpConfig
( config: MCPConfig, )
frontend/src/utils/mcp-config.ts:223
↓ 5 callersMethodto_settings
(self)
enterprise/storage/user_settings.py:96
↓ 5 callersFunctiontrackError
( details: ErrorDetails, // eslint-disable-line @typescript-eslint/no-unused-vars )
frontend/src/utils/error-handler.ts:12
↓ 5 callersFunctiontrack_frontend_event
Capture a frontend-initiated analytics event. ``body.event_type`` selects the PostHog event name; the remaining fields on the validated model
enterprise/server/routes/analytics_events.py:85
↓ 5 callersMethodtrack_user_logged_in
Track 'user logged in' event. Fired when an existing user authenticates.
openhands/analytics/analytics_service.py:173
↓ 5 callersFunctionunlink_workspace
Unlink user from Jira integration by setting status to inactive.
enterprise/server/routes/integration/jira.py:666
↓ 5 callersMethodupdate_user_integration_status
Update Jira user integration status.
enterprise/storage/jira_integration_store.py:178
↓ 5 callersMethodupdated_fields
Return the public field names explicitly present on the update.
enterprise/server/routes/org_models.py:357
↓ 5 callersFunctionuseOrgTypeAndAccess
()
frontend/src/hooks/use-org-type-and-access.ts:4
↓ 5 callersFunctionuseSendMessage
()
frontend/src/hooks/use-send-message.ts:15
↓ 5 callersFunctionvalidate_session_key_ownership
Validate session key and verify it belongs to a sandbox owned by the caller. This combines session key validation with ownership verification, en
openhands/app_server/sandbox/session_auth.py:103
↓ 5 callersFunctionvalidate_workspace_integration
Validate if the workspace has an active Jira DC integration.
enterprise/server/routes/integration/jira_dc.py:1311
↓ 5 callersMethodverify_owner_authorization
Verify that the user is the owner of the organization. Args: user_id: User ID to check org_id: Organization
enterprise/storage/org_service.py:749
↓ 4 callersMethod_acquire_user_creation_lock
Attempt to acquire a distributed lock for user creation. Returns True if the lock was acquired or if Redis is unavailable (fallback to no loc
enterprise/storage/user_store.py:226
↓ 4 callersMethod_add_acknowledgement_reaction
Acknowledge the @openhands mention with a best-effort reaction. Reactions are non-essential, so failures are logged, never raised.
enterprise/integrations/jira_dc/jira_dc_manager.py:849
↓ 4 callersFunction_agent_profiles_transaction
Yield ``(session, org, agent_profiles)`` for a single locked mutation. Mirrors ``org_profiles._org_profiles_transaction``: ``SELECT ... FOR UPDAT
enterprise/server/routes/agent_profiles.py:159
↓ 4 callersMethod_apply_server_agent_overrides
Apply server-only fields that have no place in ``AgentSettings``. * System-prompt filename / kwargs (planning vs default agent). * LL
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1403
↓ 4 callersMethod_apply_suggested_task
Apply suggested task defaults to the start request.
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1077
↓ 4 callersMethod_ask_question
Send a message to the agent server via the V1 API and return response text.
enterprise/integrations/jira/jira_v1_callback_processor.py:154
↓ 4 callersMethod_build_app_conversations
( self, app_conversation_infos: Sequence[AppConversationInfo | None] )
openhands/app_server/app_conversation/live_status_app_conversation_service.py:624
↓ 4 callersMethod_compute_plan_path
Compute the PLAN.md path based on provider type. Args: working_dir: The workspace working directory git_provider: The
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1104
↓ 4 callersMethod_create_condenser
Create a condenser based on user settings and agent type. Args: llm: The LLM instance to use for condensation agent_t
openhands/app_server/app_conversation/app_conversation_service_base.py:614
↓ 4 callersMethod_create_security_analyzer_from_string
Convert security analyzer string from settings to SecurityAnalyzerBase instance. Args: security_analyzer_str: String value from s
openhands/app_server/app_conversation/app_conversation_service_base.py:650
↓ 4 callersFunction_ctx
(obj)
tests/unit/app_server/test_set_title_callback_processor.py:49
↓ 4 callersMethod_current_cycle
(self, settings: OrgBudgetSettings)
enterprise/server/services/org_budget_service.py:298
↓ 4 callersMethod_delete_user
( client: httpx.AsyncClient, keycloak_user_id: str, )
enterprise/storage/lite_llm_manager.py:1072
↓ 4 callersMethod_deps
(self, conversation_count: int, archived: bool = True)
tests/unit/app_server/test_app_conversation_router.py:1096
← previousnext →701–800 of 10,856, ranked by callers