Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
10,856 in github.com/OpenHands/OpenHands
⨍
Functions
10,856
◇
Types & classes
2,162
↳
Endpoints
725
↓ 3 callers
Method
get_sandbox_by_session_api_key
( self, session_api_key: str )
tests/unit/app_server/test_sandbox_service.py:46
↓ 3 callers
Method
get_session_maker
(self)
openhands/app_server/services/db_session_injector.py:256
↓ 3 callers
Function
get_shared_event
Get a single event from a shared conversation by conversation_id and event_id.
enterprise/server/sharing/shared_event_router.py:189
↓ 3 callers
Method
get_sub_conversation_ids
Get all sub-conversation IDs for a given parent conversation. Args: parent_conversation_id: The ID of the parent conversation
openhands/app_server/app_conversation/app_conversation_info_service.py:75
↓ 3 callers
Function
get_super_role_permissions
Get the permissions for a "super" role. A super role is the same role row (``owner`` / ``admin`` / ``member``) referenced via ``user.rol
enterprise/server/auth/authorization.py:315
↓ 3 callers
Method
get_user_email
Get the email for the current user
openhands/app_server/user_auth/user_auth.py:57
↓ 3 callers
Method
get_user_groups
Get list of GitLab group paths that the user is a member of.
openhands/app_server/integrations/gitlab/service/repos.py:174
↓ 3 callers
Method
get_user_info
( self, *, resolve_agent_profile: bool = False, override_agent_profile_id: str
enterprise/integrations/resolver_context.py:39
↓ 3 callers
Method
get_user_organizations
Get list of organization logins that the user is a member of.
openhands/app_server/integrations/github/service/repos.py:157
↓ 3 callers
Method
get_web_client_config
Get the current web client configuration.
openhands/app_server/web_client/web_client_config_injector.py:9
↓ 3 callers
Method
get_webhook_by_id
(self, webhook_id: int)
enterprise/storage/bitbucket_dc_webhook_store.py:35
↓ 3 callers
Method
get_webhook_by_repo
( self, project_key: str, repo_slug: str )
enterprise/storage/bitbucket_dc_webhook_store.py:97
↓ 3 callers
Method
get_webhook_user_id
Return the keycloak ``user_id`` of the installer for ``webhook_uuid``, or None. Used by :class:`BitbucketManager` to resolve "who ins
enterprise/storage/bitbucket_webhook_store.py:30
↓ 3 callers
Function
gitClaimsQueryKey
(organizationId: string | null)
frontend/src/hooks/query/use-git-organizations.ts:6
↓ 3 callers
Function
handleStatusMessage
(message: StatusMessage)
frontend/src/services/actions.ts:57
↓ 3 callers
Function
has_real_api_key
Return True iff ``api_key`` carries a non-empty value. A ``SecretStr('')`` should report as *not set* — otherwise the UI tells the user a key
openhands/app_server/settings/llm_profiles.py:22
↓ 3 callers
Method
inject
Inject an object. The state object may be used to store variables for reuse by other injectors, as injection operations may be nested.
openhands/app_server/services/injector.py:16
↓ 3 callers
Function
isHookExecutionEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:228
↓ 3 callers
Function
isPlanningFileEditorObservationEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:137
↓ 3 callers
Function
isSkillReadyEvent
(event: unknown)
frontend/src/components/v1/chat/event-content-helpers/create-skill-ready-event.ts:24
↓ 3 callers
Function
isTaskTrackingObservation
( event: OpenHandsParsedEvent, )
frontend/src/types/core/guards.ts:97
↓ 3 callers
Function
isUserMessage
( event: OpenHandsParsedEvent, )
frontend/src/types/core/guards.ts:39
↓ 3 callers
Function
isV1Event
( event: OpenHandsEvent | OpenHandsParsedEvent, )
frontend/src/types/v1/type-guards.ts:261
↓ 3 callers
Method
is_access_token_valid
Check if the access token is still valid. Returns: True if the access token exists and is not expired, False otherwise
enterprise/storage/auth_token_store.py:253
↓ 3 callers
Method
is_expired
Check if the device code has expired.
enterprise/storage/device_code.py:60
↓ 3 callers
Method
is_issue_comment
(message: Message)
enterprise/integrations/github/github_view.py:567
↓ 3 callers
Method
is_user_synced
Check if a user has been synced to a specific audience. Args: email: The email address to check. audience_id: The Res
enterprise/storage/resend_synced_user_store.py:19
↓ 3 callers
Method
is_work_item_comment
(message: Message)
enterprise/integrations/azure_devops/azure_devops_view.py:398
↓ 3 callers
Function
iterate
Iterate over paged result sets. Assumes that the results sets contain an array of result objects, and a next_page_id
openhands/app_server/utils/search_utils.py:19
↓ 3 callers
Method
list
Profile "filenames" (``<name>.json``) — used only for emptiness checks.
openhands/app_server/settings/agent_profiles.py:130
↓ 3 callers
Method
list_blobs
(self, prefix: str | None = None)
tests/unit/app_server/file_store/test_file_store.py:41
↓ 3 callers
Method
list_objects_v2
(self, Bucket: str, Prefix: str = '')
tests/unit/app_server/file_store/test_file_store.py:123
↓ 3 callers
Function
list_secret_names
List available secret names (no raw values). Includes both custom secrets and provider tokens (e.g. github_token).
openhands/app_server/sandbox/sandbox_router.py:158
↓ 3 callers
Method
list_service_hook_subscriptions
(self)
enterprise/tests/unit/server/routes/test_azure_devops_integration_routes.py:45
↓ 3 callers
Function
load_composed_marketplaces
Gather instance + org + user marketplaces and compose them. ``settings_store`` must expose ``get_org_marketplaces(user_id)`` (all ``SettingsS
openhands/app_server/settings/marketplace_composition.py:254
↓ 3 callers
Method
load_token
Load an offline token from the database.
enterprise/storage/offline_token_store.py:35
↓ 3 callers
Function
looks_like_jwt
(token_value: str)
openhands/app_server/utils/auth.py:1
↓ 3 callers
Function
make_claim
Factory to create mock OrgGitClaim objects.
enterprise/tests/unit/server/routes/test_org_git_claims.py:41
↓ 3 callers
Method
make_system_key_name
Create a system key name with the appropriate prefix. Format: __SYSTEM__:<name>
enterprise/storage/api_key_store.py:73
↓ 3 callers
Method
mark_expired_if_needed
Check if invitation is expired and update status if needed. Args: invitation: The invitation to check Returns:
enterprise/storage/org_invitation_store.py:266
↓ 3 callers
Function
materialize_agent_profile
Dry-run resolve a profile's LLM/MCP references into a diagnostics report. Dangling refs are reported in the body (``valid=False``), not raised; t
enterprise/server/routes/agent_profiles.py:431
↓ 3 callers
Method
name_for_id
(self, profile_id: str | UUID)
openhands/app_server/settings/agent_profiles.py:218
↓ 3 callers
Function
normalize_db_ssl_mode
(db_ssl_mode: str | None)
openhands/db/ssl.py:6
↓ 3 callers
Function
offset_to_page_id
(offset: int, has_next: bool)
openhands/app_server/utils/search_utils.py:5
↓ 3 callers
Function
onboarding_status
Return whether the current user must still complete onboarding. Kept as a dedicated endpoint instead of riding on ``GET /api/v1/settings`` (t
enterprise/server/routes/auth.py:984
↓ 3 callers
Function
page_id_to_offset
(page_id: str | None)
openhands/app_server/utils/search_utils.py:12
↓ 3 callers
Function
parseMaxBudgetPerTask
(value: string)
frontend/src/utils/settings-utils.ts:24
↓ 3 callers
Method
receive_message
(self, message: Message)
enterprise/integrations/github/github_manager.py:254
↓ 3 callers
Method
receive_message
(self, message: Message)
enterprise/integrations/bitbucket/bitbucket_manager.py:91
↓ 3 callers
Function
refresh_conversation
Refresh a conversation. Grab ConversationInfo and all events from the agent server and make sure they exist in the app server. IMPORTANT
openhands/app_server/sandbox/remote_sandbox_service.py:950
↓ 3 callers
Method
register_webhook
Create or update the OpenHands webhook in Jira DC via the admin API. Uses Jira Data Center's ``jira-webhook`` plugin REST API (the same one t
enterprise/integrations/jira_dc/jira_dc_manager.py:875
↓ 3 callers
Function
remove_candidate_label
( repository: str, issue_number: int, *, dry_run: bool )
scripts/auto_close_duplicate_issues.py:257
↓ 3 callers
Method
renameProfile
(name: string, newName: string)
frontend/src/api/settings-service/profiles-service.api.ts:58
↓ 3 callers
Function
requireOrgDefaultsRedirect
(redirectPath: string = FALLBACK_REDIRECT_PATH)
frontend/src/utils/org/saas-redirect-to-org-defaults-guard.ts:30
↓ 3 callers
Function
resolveSchemaFieldDescription
( t: TFunction, fieldKey: string, schemaValue?: string | null, )
frontend/src/utils/sdk-settings-field-metadata.ts:125
↓ 3 callers
Function
resolveSchemaFieldLabel
( t: TFunction, fieldKey: string, schemaValue: string, )
frontend/src/utils/sdk-settings-field-metadata.ts:113
↓ 3 callers
Function
resolveSchemaFieldText
* Common resolver for schema field text (labels and descriptions). * Uses the i18n fallback chain: * 1. If schema provides an explicit translation k
frontend/src/utils/sdk-settings-field-metadata.ts:78
↓ 3 callers
Function
resolve_profile_llm
Resolve a saved profile's LLM for activation on the agent server. Fills the provider-default ``base_url`` when the profile saved none, and fa
openhands/app_server/settings/llm_profiles.py:37
↓ 3 callers
Function
resolve_sandbox_spec
Return the SandboxSpecInfo to use for a new sandbox. Resolution order: 1. ``sandbox_spec_id`` (caller-explicit) — not found is a hard error.
openhands/app_server/sandbox/sandbox_spec_service.py:83
↓ 3 callers
Function
resourceKey
(resource: BitbucketDCResource)
frontend/src/components/features/settings/git-settings/bitbucket-dc-webhook-manager.tsx:16
↓ 3 callers
Method
resume_sandbox
Begin the process of resuming a sandbox. Return True if the sandbox exists and is being resumed or is already running. Return False i
openhands/app_server/sandbox/sandbox_service.py:86
↓ 3 callers
Method
retrieve_api_key_by_name
Retrieve an API key by name for a specific user.
enterprise/storage/api_key_store.py:413
↓ 3 callers
Method
retrieve_mcp_api_key
( self, user_id: str, org_id: UUID | None = None )
enterprise/storage/api_key_store.py:391
↓ 3 callers
Method
run_budget_maintenance
(self, org_id: UUID)
enterprise/server/services/org_budget_service.py:136
↓ 3 callers
Function
sanitizeReturnTo
(raw: string | null)
frontend/src/routes/onboarding-form.tsx:36
↓ 3 callers
Method
save_app_conversation_start_task
( self, task: AppConversationStartTask )
openhands/app_server/app_conversation/sql_app_conversation_start_task_service.py:235
↓ 3 callers
Function
search_app_conversations
Search / List sandboxed conversations.
openhands/app_server/app_conversation/app_conversation_router.py:224
↓ 3 callers
Method
search_app_conversations
Search for sandboxed conversations.
openhands/app_server/app_conversation/app_conversation_service.py:37
↓ 3 callers
Method
search_providers
Search providers with optional filtering and pagination. Args: query: Case-insensitive substring match on the provider name.
openhands/app_server/config_api/llm_model_service.py:41
↓ 3 callers
Function
search_suggested_tasks
Get suggested tasks for the user. Returns a paginated list of suggested tasks including: - PRs owned by the user - Issues assigned to the
openhands/app_server/git/git_router.py:280
↓ 3 callers
Function
sendToClient
* @param {Client} client * @param {any} message * @param {Array<Transferable>} transferrables * @returns {Promise<any>}
frontend/public/mockServiceWorker.js:288
↓ 3 callers
Method
send_message
Send message to integration from OpenHands server. Args: message: The message content to send (plain text string).
enterprise/integrations/manager.py:19
↓ 3 callers
Method
send_message
Send message/comment to Jira DC issue. Args: message: The message content to send (plain text string) issue_key: The
enterprise/integrations/jira_dc/jira_dc_manager.py:800
↓ 3 callers
Method
send_message
( self, message: str, bitbucket_view: ResolverViewInterface )
enterprise/integrations/bitbucket/bitbucket_manager.py:131
↓ 3 callers
Method
send_message
Send a message to Slack. Args: message: The message content. Can be a string (for simple text) or a dict wit
enterprise/integrations/slack/slack_manager.py:669
↓ 3 callers
Function
setOrganizationId
( newOrganizationId: string | null, options?: SetOrganizationIdOptions, )
frontend/src/context/use-selected-organization.ts:14
↓ 3 callers
Function
setSelectedTab
(tab: ConversationTab | null)
frontend/__tests__/components/features/conversation/conversation-tab-content.test.tsx:81
↓ 3 callers
Function
set_chunked_cookie
Set ``key`` to ``value``, splitting across sibling cookies if needed. Always clears trailing chunk indices that this write does not use, so a
enterprise/server/auth/cookie_chunking.py:55
↓ 3 callers
Method
set_customer_info
Update customer and instance identification information. Args: customer_id: Unique identifier for the customer instan
enterprise/storage/telemetry_identity.py:71
↓ 3 callers
Function
set_stale_task_error
()
enterprise/run_maintenance_tasks.py:23
↓ 3 callers
Method
shutdown
Flush and shut down the PostHog client. Safe to call multiple times. SDK errors are logged, not raised.
openhands/analytics/analytics_service.py:526
↓ 3 callers
Method
store_idp_tokens
( self, idp: ProviderType, user_id: str, keycloak_access_token: str, )
enterprise/server/auth/token_manager.py:175
↓ 3 callers
Method
store_offline_token
(self, user_id: str, offline_token: str)
enterprise/server/auth/token_manager.py:1030
↓ 3 callers
Function
store_repositories_in_db
Store repositories in DB and create user-repository mappings Args: repos: List of Repository objects to store user_id: User
enterprise/integrations/store_repo_utils.py:10
↓ 3 callers
Method
store_token
Store an offline token in the database.
enterprise/storage/offline_token_store.py:16
↓ 3 callers
Function
syncState
()
frontend/src/utils/conversation-local-storage.ts:172
↓ 3 callers
Function
sync_users_to_resend
Sync OpenHands users to Resend. This function syncs users from the OpenHands database to a Resend audience. It tracks which users have been s
enterprise/sync/resend_keycloak.py:375
↓ 3 callers
Function
tokenizeCommand
(value: string)
frontend/src/utils/shell-tokenize.ts:10
↓ 3 callers
Function
trackEnterpriseCTAClicked
({ location }: { location: string })
frontend/src/hooks/use-client-analytics.ts:15
↓ 3 callers
Method
track_conversation_created
Track 'conversation created' event. Fired when a new conversation is started.
openhands/analytics/analytics_service.py:193
↓ 3 callers
Function
transformVSCodeUrl
(vsCodeUrl: string | null)
frontend/src/utils/vscode-url-helper.ts:10
↓ 3 callers
Method
trigger
(self, signalnum: Signals)
tests/unit/utils/test_shutdown_listener.py:33
↓ 3 callers
Function
updateConversationSandboxStatusInCache
( queryClient: QueryClient, conversationId: string, sandbox_status: V1SandboxStatus, )
frontend/src/hooks/mutation/conversation-mutation-utils.ts:95
↓ 3 callers
Method
update_conversation_id
Update conversation_id when task-id transitions to real conversation-id. Returns the number of messages updated.
openhands/app_server/pending_messages/pending_message_service.py:66
↓ 3 callers
Function
update_org_defaults_settings
Update org-default settings for a specific organization.
enterprise/server/routes/orgs.py:300
↓ 3 callers
Method
update_poll_time
Update the last poll time and optionally increase the interval. Args: increase_interval: If True, increase the current interval f
enterprise/storage/device_code.py:121
↓ 3 callers
Method
update_repository_webhook
Update an existing webhook via ``PUT .../webhooks/{id}``. BBDC requires the full payload on PUT (not partial), so we send the same bo
openhands/app_server/integrations/bitbucket_data_center/service/webhooks.py:83
↓ 3 callers
Method
update_team_and_users_budget
( team_id: str, max_budget: float, )
enterprise/storage/lite_llm_manager.py:630
↓ 3 callers
Method
update_user_app_settings
Update user app settings. Only updates fields that are explicitly provided in update_data. Uses flush() - commit happens at request e
enterprise/storage/user_app_settings_store.py:34
↓ 3 callers
Method
update_user_role_in_org
Update user's role in an organization.
enterprise/storage/org_member_store.py:111
← previous
next →
1,201–1,300 of 10,856, ranked by callers