Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TracecatHQ/tracecat
/ functions
Functions
13,198 in github.com/TracecatHQ/tracecat
⨍
Functions
13,198
◇
Types & classes
2,545
↳
Endpoints
665
↓ 8 callers
Function
createTemplateRegex
()
frontend/src/lib/expressions.ts:67
↓ 8 callers
Method
create_group_role_assignment
Create a group assignment. Args: group_id: Group to assign role_id: Role to assign to the group workspace
packages/tracecat-ee/tracecat_ee/rbac/service.py:535
↓ 8 callers
Method
create_token
(self, params: AgentChannelTokenCreate)
tracecat/agent/channels/service.py:458
↓ 8 callers
Method
create_workflow_from_dsl
Create a new workflow from a Tracecat DSL data object.
tracecat/workflow/management/management.py:786
↓ 8 callers
Method
delete_case
Delete a case and optionally its associated field data. Args: case: The case object to delete delete_fields: Whether
tracecat/cases/service.py:1105
↓ 8 callers
Method
delete_comment
Delete a comment. Args: case: The case the comment belongs to comment_id: The ID of the comment to delete Ra
tracecat/cases/service.py:2106
↓ 8 callers
Method
delete_secret
Delete a workspace secret.
tracecat/secrets/service.py:286
↓ 8 callers
Method
done
(self)
tracecat/agent/executor/loopback.py:159
↓ 8 callers
Function
download
( name: Annotated[str, Doc("The name of the table to download.")], format: Annotated[ Literal[
packages/tracecat-registry/tracecat_registry/core/table.py:340
↓ 8 callers
Function
encrypt_value
Encrypt a string using Fernet encryption. Args: value: The string to encrypt key: The encryption key Returns: str: T
tracecat/secrets/encryption.py:37
↓ 8 callers
Function
ensure_bucket_exists
Ensure the storage bucket exists, creating it if necessary. Args: bucket: Bucket name (required)
tracecat/storage/blob.py:62
↓ 8 callers
Method
execute_action_activity
Execute an action on the ExecutorWorker. This activity runs on 'shared-action-queue' and handles: - Rate limit retries (tenacity)
tracecat/executor/activities.py:78
↓ 8 callers
Function
findNodePosition
(props: { editor: Editor | null node?: TiptapNode | null nodePos?: number | null })
frontend/src/lib/tiptap-utils.ts:208
↓ 8 callers
Method
get_activities
Get all temporal activities in the class.
tracecat/service.py:112
↓ 8 callers
Method
get_case_or_raise
(self, case_id: uuid.UUID)
tracecat/cases/rows/service.py:340
↓ 8 callers
Method
get_column
Get a column by ID.
tracecat/tables/service.py:499
↓ 8 callers
Function
get_db_encryption_key
Get TRACECAT__DB_ENCRYPTION_KEY. Raises ValueError if not set.
tracecat/auth/secrets.py:17
↓ 8 callers
Method
get_github_client_for_repo
Get authenticated PyGithub client for a specific repository. Args: repo_url: Git repository URL Returns: Aut
tracecat/vcs/github/app.py:487
↓ 8 callers
Method
get_index
Get columns that have unique constraints.
tracecat/tables/service.py:320
↓ 8 callers
Method
get_preset_by_slug
Get an agent preset by slug with proper error handling.
tracecat/agent/preset/service.py:772
↓ 8 callers
Method
get_provider_config
Get decrypted client credentials for a provider.
tracecat/integrations/service.py:915
↓ 8 callers
Function
get_service_key
Get TRACECAT__SERVICE_KEY. Raises ValueError if not set.
tracecat/auth/secrets.py:31
↓ 8 callers
Method
get_variable
(self, variable_id: VariableID)
tracecat/variables/service.py:89
↓ 8 callers
Method
getvalue
(self)
tracecat/executor/minimal_runner.py:95
↓ 8 callers
Function
groupEventsByActionRef
( events: WorkflowExecutionEventCompact[] )
frontend/src/lib/event-history.ts:170
↓ 8 callers
Method
instantiate
Instantiate MCP providers without blocking the event loop.
tracecat/integrations/providers/base.py:1049
↓ 8 callers
Function
invalidateTableDetailQuery
( queryClient: ReturnType<typeof useQueryClient>, workspaceId: string, tableId: string )
frontend/src/lib/hooks.tsx:2958
↓ 8 callers
Function
is_org_entitled
Check if an organization has a specific entitlement.
tracecat/tiers/access.py:51
↓ 8 callers
Function
key2loc
(key: str)
tracecat/dsl/common.py:118
↓ 8 callers
Method
list_approvals_for_session
List all approvals for a given session.
packages/tracecat-ee/tracecat_ee/agent/approvals/service.py:179
↓ 8 callers
Method
list_fields
List all custom fields for the workspace.
tracecat/custom_fields/service.py:162
↓ 8 callers
Function
new_sandbox_runner
()
tracecat/dsl/worker.py:52
↓ 8 callers
Function
normalizeSecretEnvironment
( environment: string | null | undefined )
frontend/src/components/workspaces/credentials-utils.ts:41
↓ 8 callers
Method
observe
()
frontend/tests/tags-input.test.tsx:7
↓ 8 callers
Method
parse_stored_channel_config
( cls, *, channel_type: ChannelType, config_payload: dict[str, Any] | SlackCha
tracecat/agent/channels/service.py:401
↓ 8 callers
Method
refresh_token_if_needed
Refresh the access token if it's expired or about to expire.
tracecat/integrations/service.py:516
↓ 8 callers
Method
remove_case_tag
Remove a tag from a case by ID or ref.
tracecat/cases/tags/service.py:317
↓ 8 callers
Method
revoke_invitation
Revoke a pending workspace invitation. Args: workspace_id: The workspace the invitation belongs to. invitation_id: Th
tracecat/workspaces/service.py:530
↓ 8 callers
Function
search_rows
Search rows in a table with optional filters.
tracecat/tables/internal_router.py:247
↓ 8 callers
Method
then
( onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: unknow
frontend/src/client/core/CancelablePromise.ts:87
↓ 8 callers
Method
to_read
(self, token: AgentChannelToken)
tracecat/agent/channels/service.py:613
↓ 8 callers
Function
truncate_tool_name
Deterministically shorten tool names to OpenAI's length limit.
tracecat/agent/llm_proxy/tool_compat.py:38
↓ 8 callers
Function
undoSlugify
(value: string, delimiter: string = "-")
frontend/src/lib/utils.ts:76
↓ 8 callers
Function
unescape_string
Convert string escape sequences to their actual characters. Handles common escape sequences: - "\\n" becomes a newline - "\\t" becomes a
tracecat/parse.py:98
↓ 8 callers
Method
update_audit_settings
(self, params: AuditSettingsUpdate)
tracecat/settings/service.py:300
↓ 8 callers
Method
upsert_case_trigger
( self, workflow_id: WorkflowID, params: CaseTriggerConfig, *, create_
tracecat/workflow/case_triggers/service.py:66
↓ 8 callers
Function
useAppInfo
(_orgSlug?: string | null)
frontend/src/lib/hooks.tsx:379
↓ 8 callers
Function
useBuilderRegistryActions
( options?: UseBuilderRegistryActionsOptions )
frontend/src/lib/hooks.tsx:1840
↓ 8 callers
Function
useContextValue
()
frontend/src/components/ai-elements/context.tsx:30
↓ 8 callers
Function
validate_dsl
Validate the DSL at commit time. This function calls and combines all results from each validation tier.
tracecat/validation/service.py:653
↓ 8 callers
Function
verify_auth_type
Verify if an auth type is enabled and properly configured. Args: auth_type: The authentication type to verify role: Optional role
tracecat/auth/dependencies.py:61
↓ 7 callers
Method
__init__
(self, tier_id: uuid.UUID)
tracecat/tiers/exceptions.py:47
↓ 7 callers
Function
_build_role
(workspace_id: uuid.UUID)
tests/unit/test_case_trigger_consumer.py:61
↓ 7 callers
Method
_compute_cache_key
Compute a cache key from dependencies and optional workspace ID. The key is a SHA256 hash of the sorted, normalized dependencies, opt
tracecat/sandbox/service.py:132
↓ 7 callers
Method
_create_part_state
Register a fresh part and return its tracking record.
tracecat/agent/adapter/vercel.py:761
↓ 7 callers
Method
_decrypt_token
Decrypt a token using the service's encryption key.
tracecat/integrations/service.py:760
↓ 7 callers
Method
_ensure_case_trigger_exists
( self, workflow_id: WorkflowID, *, commit: bool = True )
tracecat/workflow/case_triggers/service.py:21
↓ 7 callers
Function
_has_tool_call
Check if message has a tool call.
tracecat/agent/context.py:104
↓ 7 callers
Method
_is_custom_origin
(origin: str)
tracecat/registry/actions/service.py:218
↓ 7 callers
Function
_make_manifest
Create a test manifest with given action names.
tests/unit/test_registry_version_promotion.py:25
↓ 7 callers
Method
_normalize_required_entitlements
(options: dict)
tracecat/registry/actions/service.py:196
↓ 7 callers
Function
_qualified_table
Return a properly quoted schema-qualified table reference.
alembic/versions/b5fc4168fe22_apply_model_a_rls_to_dynamic_workspace_.py:51
↓ 7 callers
Function
_require_remote_mcp_context
Require the tool to be called over Tracecat's remote MCP transport.
tracecat/mcp/server.py:714
↓ 7 callers
Method
_resolve_case
(self, case: Case | uuid.UUID)
tracecat/cases/durations/service.py:574
↓ 7 callers
Function
_safe_error_type
Return only the exception class name for log-safe reporting.
tracecat/agent/mcp/trusted_server.py:61
↓ 7 callers
Function
_validate_path
Validate path is safe for protobuf config interpolation. Args: path: Path to validate. name: Human-readable name for error messag
tracecat/agent/sandbox/config.py:174
↓ 7 callers
Function
action_result
Unwrap StoredObject action result from workflow context.
tests/temporal/test_scatter_interval.py:30
↓ 7 callers
Method
append
(self, event: UnifiedStreamEvent)
tracecat/agent/executor/loopback.py:153
↓ 7 callers
Function
baseStatusMeta
( status: AgentTemporalStatus, priority: number, tone: AgentStatusTone )
frontend/src/lib/agents.ts:99
↓ 7 callers
Method
build_agent_args_activity
Build an AgentActionArgs from a dictionary of arguments. Resolves the effective environment, fetches workspace VARS, materializes any
tracecat/dsl/action.py:626
↓ 7 callers
Function
casesUpdateCase
( data: CasesUpdateCaseData )
frontend/src/client/services.gen.ts:7294
↓ 7 callers
Method
catch
( onRejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null )
frontend/src/client/core/CancelablePromise.ts:94
↓ 7 callers
Method
client
(self, *, service_name: str)
tests/unit/test_db_engine.py:32
↓ 7 callers
Method
consume
Try to consume tokens from the bucket. Args: tokens: The number of tokens to consume Returns: True
tracecat/middleware/rate_limit.py:32
↓ 7 callers
Function
create_activities_with_mock_executor
Create a full activity list with mocked agent executor. Args: response_callback: Function for mock run_agent_activity. tool_exec_
tests/temporal/test_durable_agent_workflow.py:224
↓ 7 callers
Method
create_db_workflow_from_dsl
Create a new workflow and associated actions in the database from a DSLInput.
tracecat/workflow/management/management.py:919
↓ 7 callers
Method
delete_schedule
Delete a schedule. Parameters ---------- schedule_id : AnyScheduleID The ID of the schedule to be delete
tracecat/workflow/schedules/service.py:231
↓ 7 callers
Function
dispatch_action
Dispatch action for execution. This function handles dispatching actions to be executed. It supports both single action execution and paralle
tracecat/executor/service.py:814
↓ 7 callers
Method
email
()
frontend/src/lib/auth.ts:60
↓ 7 callers
Function
filter_allowed_model_settings
Keep only model settings supported by the selected provider family.
tracecat/agent/llm_proxy/requests.py:99
↓ 7 callers
Method
from_dict
Construct from dict (orjson parsed).
tracecat/agent/common/types.py:79
↓ 7 callers
Function
generate_api_key
Generate and hash a secure API key. Args: prefix: Prefix to prepend to the key. Defaults to ``"tc_sk_"``. length: Number of
tracecat/auth/api_keys.py:61
↓ 7 callers
Function
generate_presigned_download_url
Generate a presigned URL for downloading a file with enhanced security. Args: key: The S3 object key bucket: Bucket name (require
tracecat/storage/blob.py:194
↓ 7 callers
Function
getDisplayName
( user: Pick<UserRead, "email" | "first_name" | "last_name"> )
frontend/src/lib/auth.ts:38
↓ 7 callers
Function
get_collection_page
Get a page of items from a collection. Args: collection: CollectionObject handle. offset: Starting index (0-indexed). lim
tracecat/storage/collection.py:270
↓ 7 callers
Method
get_current_version_for_preset
Return the current version for a preset.
tracecat/agent/preset/service.py:901
↓ 7 callers
Method
get_data
Get the raw data from the StoredObject. For InlineObject, returns the data directly. For ExternalObject, raises an error (must be mat
tracecat/dsl/schemas.py:221
↓ 7 callers
Method
get_definition
Get a single dropdown definition by ID.
tracecat/cases/dropdowns/service.py:50
↓ 7 callers
Function
get_effective_environment
Determine the effective environment for an action statement. Args: stmt: Action statement that may have an environment override d
tracecat/validation/service.py:60
↓ 7 callers
Function
get_env
()
tracecat/contexts.py:54
↓ 7 callers
Function
get_missing_scopes
Get the scopes that are required but not granted. Args: user_scopes: The set of scopes granted to the user required_scopes: The s
tracecat/authz/controls.py:149
↓ 7 callers
Method
get_repository
Get a registry by origin.
tracecat/registry/repositories/service.py:32
↓ 7 callers
Method
get_session
Get a session by ID.
packages/tracecat-ee/tracecat_ee/agent/approvals/service.py:285
↓ 7 callers
Method
get_ssh_key
( self, key_name: str | None = None, environment: str | None = None, target: S
tracecat/secrets/service.py:415
↓ 7 callers
Method
get_tag
(self, tag_id: TagID)
tracecat/tags/service.py:25
↓ 7 callers
Method
handle
( self, *, payload: dict[str, Any], token: ValidatedChannelToken )
tracecat/agent/channels/handlers/slack.py:854
↓ 7 callers
Method
handle_event
Processes a stream event and yields Vercel SDK SSE events. Handles both unified stream events (when ENABLE_UNIFIED_AGENT_STREAMING=true)
tracecat/agent/adapter/vercel.py:826
↓ 7 callers
Function
import_and_reload
Safely import and reload a module. Uses a process-wide lock and avoids removing entries from sys.modules to prevent races with concurrent imp
tracecat/registry/repository.py:824
↓ 7 callers
Method
init_default_settings
(self)
tracecat/settings/service.py:72
↓ 7 callers
Method
initialize_workspace_schema
Create the workspace schema and base table if absent.
tracecat/custom_fields/service.py:116
← previous
next →
501–600 of 13,198, ranked by callers