MCPcopy Create free account

hub / github.com/dograh-hq/dograh / functions

Functions4,677 in github.com/dograh-hq/dograh

↓ 1,769 callersMethodget
(self, url, headers)
api/tests/test_mps_service_key_client.py:30
↓ 344 callersMethodappend
Append a feedback event to the buffer with timestamp and current node.
api/services/pipecat/in_memory_buffers.py:126
↓ 273 callersMethodexecute
(self, stmt)
api/tests/test_user_configuration_upsert.py:31
↓ 207 callersFunctioncn
(...inputs: ClassValue[])
ui/src/lib/utils.ts:8
↓ 149 callersMethodjson
()
sdk/typescript/src/client.ts:34
↓ 139 callersMethodpost
(self, url, json, headers)
api/tests/test_mps_service_key_client.py:106
↓ 126 callersMethodtext
()
sdk/typescript/src/client.ts:35
↓ 104 callersMethodadd
* Add a node of the given type. * * `type` is a spec name (e.g., "startCall", "agentNode"). Remaining * properties are validated agains
sdk/typescript/src/workflow.ts:65
↓ 98 callersMethodcommit
(self)
api/tests/test_user_configuration_upsert.py:35
↓ 71 callersFunctiononChange
()
ui/src/hooks/use-mobile.ts:10
↓ 58 callersMethodclose
Close Redis connection
api/services/campaign/rate_limiter.py:446
↓ 56 callersFunctionspec_field
( *field_args: Any, ui_type: PropertyType | str | None = None, display_name: str | None = None,
api/services/workflow/node_specs/model_spec.py:43
↓ 53 callersMethodkeys
(self, pattern: str)
api/tests/telephony/test_call_transfer_manager.py:36
↓ 50 callersMethoddelete
(self, *keys: str)
api/tests/telephony/test_call_transfer_manager.py:32
↓ 47 callersFunctionget_backend_endpoints
Get the backend endpoint URLs for external access (webhooks, callbacks, WebSocket connections). Priority: 1. BACKEND_API_ENDPOINT en
api/utils/common.py:134
↓ 45 callersFunctionuseAuth
()
ui/src/lib/auth/providers/AuthProvider.tsx:112
↓ 44 callersMethodrollback
(self)
api/tests/test_user_configuration_upsert.py:38
↓ 42 callersFunctionaddError
(node: ts.Node, message: string)
api/mcp_server/ts_validator/src/parse.ts:57
↓ 40 callersMethodupdate
(id: number | Interceptor, fn: Interceptor)
ui/src/client/client/utils.gen.ts:260
↓ 33 callersMethodget_workflow
Fetch a workflow by id, scoped to a tenant. Scoping is mandatory: pass ``organization_id`` (preferred) or ``user_id``. A fully unscop
api/db/workflow_client.py:429
↓ 32 callersMethodupdate_workflow_run
( self, run_id: int, is_completed: bool = False, recording_url: str | None = N
api/db/workflow_run_client.py:347
↓ 29 callersFunctionfetch
( *, recording_pk: Optional[int] = None, recording_id: Optional[str] = None, )
api/services/pipecat/recording_audio_cache.py:101
↓ 29 callersFunctionprovider_model_config
( title: str, *, description: str | None = None, provider_docs_url: str | None = None, )
api/services/configuration/registry.py:222
↓ 29 callersMethodsave_workflow_draft
Create or update a draft version for this workflow. If a draft already exists, it is updated in place. If no draft exists, a new one
api/db/workflow_client.py:71
↓ 28 callersMethodget_workflow_run_by_id
Get workflow run by ID without user filtering - for background tasks
api/db/workflow_run_client.py:248
↓ 27 callersFunction_make_workflow_def
Helper to build a minimal workflow definition dict.
api/tests/test_workflow_qa_masking.py:8
↓ 27 callersFunctionresolve_effective_config
Deep-merge workflow model_overrides onto global user config. - If model_overrides is None or empty, returns a copy of user_config unchanged.
api/services/configuration/resolve.py:76
↓ 26 callersFunctionparse_llm_json
Parse JSON from LLM output, handling common formatting issues. Handles the following common LLM mistakes: 1. JSON wrapped in markdown code bl
api/services/gen_ai/json_parser.py:10
↓ 26 callersFunctionrun_pipeline_worker
Run a pipeline worker through the v1.3 worker runner lifecycle.
api/services/pipecat/worker_runner.py:7
↓ 25 callersFunctiondetailFromError
(err: unknown, fallback = "Request failed")
ui/src/lib/apiError.ts:10
↓ 25 callersMethodinitialize
(self)
api/services/workflow/pipecat_engine.py:179
↓ 25 callersMethodset_node
Simplified set_node implementation according to v2 PRD.
api/services/workflow/pipecat_engine.py:549
↓ 24 callersFunction_qa_node
Helper to build a QA node.
api/tests/test_workflow_qa_masking.py:13
↓ 24 callersFunctionmask_key
Return a masked representation of *real_key*. Example: >>> mask_key("sk-1234567890abcdef") '****************cdef'
api/services/configuration/masking.py:54
↓ 23 callersFunctionis_private_ip_candidate
Check if ICE candidate contains a private IP address or CGNAT IP Address. Parses the candidate string to extract the IP address and checks if it'
api/routes/webrtc_signaling.py:110
↓ 21 callersFunctionmask_workflow_definition
Return a copy of *workflow_definition* with node secret fields masked.
api/services/configuration/masking.py:198
↓ 21 callersFunctionrun_pipeline
()
api/tests/test_pipeline_cancellation.py:57
↓ 20 callersFunctionget
Look up a registered provider by name.
api/services/telephony/registry.py:140
↓ 19 callersFunctionauthenticate_mcp_request
Resolve the authenticated Dograh user for an MCP tool invocation. Accepts either `X-API-Key: <key>` or `Authorization: Bearer <key>`, reusing
api/mcp_server/auth.py:9
↓ 19 callersMethodend_call_with_reason
Centralized method to end the call with disposition mapping
api/services/workflow/pipecat_engine.py:720
↓ 19 callersMethodverify_inbound_signature
Verify the signature of an inbound webhook for security. Each provider extracts its own signature/timestamp/nonce headers. R
api/services/telephony/base.py:292
↓ 18 callersFunction_make_service
()
api/tests/test_ultravox_realtime_wrapper.py:48
↓ 18 callersMethod_validate_service
Validate a service configuration and return any error statuses.
api/services/configuration/check_validity.py:103
↓ 18 callersFunctioncreate_tts_service
Create and return appropriate TTS service based on user configuration Args: user_config: User configuration containing TTS settings
api/services/pipecat/service_factory.py:423
↓ 18 callersMethodupdate_campaign
Update campaign with arbitrary fields
api/db/campaign_client.py:395
↓ 17 callersFunctioncreate_stt_service
Create and return appropriate STT service based on user configuration Args: user_config: User configuration containing STT settings
api/services/pipecat/service_factory.py:138
↓ 17 callersMethodexists
(id: number | Interceptor)
ui/src/client/client/utils.gen.ts:248
↓ 17 callersFunctionfixer
(reference: str, corrupted: str)
api/tests/test_aggregation_fix.py:18
↓ 17 callersFunctionget_telephony_provider_for_run
Resolve the provider for a given workflow run. Prefers ``initial_context.telephony_configuration_id`` — stamped at run creation by ``/initiat
api/services/telephony/factory.py:134
↓ 17 callersMethodget_workflow_by_id
Fetch a workflow by id WITHOUT tenant scoping. Explicit unscoped variant of ``get_workflow``. Only for system/runtime contexts that l
api/db/workflow_client.py:470
↓ 17 callersMethodrequest
( method: string, path: string, opts?: { json?: unknown; params?: Record<string, unkno
sdk/typescript/src/client.ts:140
↓ 17 callersMethodresult_callback
(self, r, *, properties=None)
api/tests/test_mcp_custom_tool_manager.py:73
↓ 16 callersMethod_get_headers
Get headers for MPS API requests. Args: organization_id: Organization ID for authenticated mode created_by:
api/services/mps_service_key_client.py:23
↓ 16 callersFunction_node
( id: str, type: str, *, name: str | None = None, x: float = 0.0, y: float = 0.0, )
api/tests/test_layout.py:8
↓ 16 callersFunctioncapture_event
Fire a PostHog event. Silently no-ops if PostHog is not configured.
api/services/posthog_client.py:42
↓ 16 callersMethodclear
()
ui/src/client/client/utils.gen.ts:237
↓ 16 callersFunctioncreate_llm_service_from_provider
Create an LLM service from explicit provider/model/api_key. Also used by create_llm_service which extracts these from user_config.
api/services/pipecat/service_factory.py:762
↓ 15 callersMethod_get_redis
Get or create Redis connection
api/services/campaign/rate_limiter.py:18
↓ 15 callersFunction_llm_hint
(text: str)
api/schemas/tool.py:34
↓ 15 callersFunctionasRecord
(value: unknown)
ui/src/components/AIModelConfigurationV2Editor.tsx:84
↓ 15 callersMethodclose
(self)
api/services/workflow/mcp_tool_session.py:222
↓ 15 callersFunctionget_recording_storage_key
(extra: dict | None, track: RecordingTrack)
api/utils/recording_artifacts.py:6
↓ 15 callersMethodrun
Main service with two concurrent tasks.
api/services/campaign/campaign_orchestrator.py:58
↓ 15 callersMethodstart
Connect, initialize, and cache the tool list. Never raises on a connect failure — a dead/unreachable MCP server leaves the session ma
api/services/workflow/mcp_tool_session.py:81
↓ 14 callersFunction_validate_runtime_service_url
(url: str, field_name: str)
api/services/pipecat/service_factory.py:128
↓ 14 callersMethodget_workflow_versions
List versions for a workflow, newest first. When `limit` is provided, returns at most `limit` rows starting from `offset` — used by t
api/db/workflow_client.py:300
↓ 14 callersMethodset_task
Set the pipeline task. This allows setting the task after the engine has been created, which is useful when the task needs to be crea
api/services/workflow/pipecat_engine.py:840
↓ 13 callersFunction_body
()
api/tests/telephony/telnyx/test_provider.py:16
↓ 13 callersFunction_process_status_update
Process status updates from telephony providers. Idempotent: handles repeated callbacks (e.g. from both webhook and CDR).
api/services/telephony/status_processor.py:113
↓ 13 callersFunction_provider
(public_key: str = "")
api/tests/telephony/telnyx/test_provider.py:35
↓ 13 callersFunction_signed_headers
(body: str, timestamp: str | None = None)
api/tests/telephony/telnyx/test_provider.py:46
↓ 13 callersMethodcreate_workflow_run
( self, name: str, workflow_id: int, mode: str, user_id: int,
api/db/workflow_run_client.py:24
↓ 13 callersMethodget_campaign
Get single campaign by ID, ensuring organization access
api/db/campaign_client.py:96
↓ 13 callersMethodget_tool_schemas
Fetch custom tools and convert them to function schemas. Args: tool_uuids: List of tool UUIDs to fetch mcp_tool_filte
api/services/workflow/pipecat_engine_custom_tools.py:144
↓ 13 callersFunctionmerge_workflow_api_keys
Preserve real node secret fields when the incoming value is masked.
api/services/configuration/masking.py:218
↓ 13 callersFunctionnormalize_telephony_address
Normalize a telephony address into a canonical form for storage/lookup. `country_hint` is an ISO-2 country code used to disambiguate non-E.164
api/utils/telephony_address.py:44
↓ 13 callersMethodpublish_workflow_draft
Promote the current draft to published. - Draft → published - Previous published → archived - Updates released_definition_id
api/db/workflow_client.py:148
↓ 13 callersMethodread
(self)
api/services/filesystem/base.py:8
↓ 13 callersMethodstop
Stop all connections and clean up.
api/services/telephony/ari_manager.py:1016
↓ 13 callersFunctiontest_client_factory
Factory fixture that creates test clients for specific users. This allows tests to create custom users and test clients on demand. Usage
api/conftest.py:329
↓ 13 callersFunctionuseAppConfig
()
ui/src/context/AppConfigContext.tsx:123
↓ 12 callersMethod_request
(self, method: str, path: str, **kwargs: Any)
sdk/python/src/dograh_sdk/client.py:133
↓ 12 callersFunctionall_specs
All registered specs, sorted by name for stable output.
api/services/workflow/node_specs/__init__.py:53
↓ 12 callersMethodcreate_workflow
( self, name: str, workflow_definition: dict, user_id: int, organizati
api/db/workflow_client.py:24
↓ 12 callersMethodfunction_schemas
Return cached FunctionSchemas, optionally filtered by raw MCP tool name. ``allowed_raw_names=None`` returns all schemas. An empty set returns
api/services/workflow/mcp_tool_session.py:179
↓ 12 callersMethodget_campaign_by_id
Get campaign by ID without organization check (for internal use)
api/db/campaign_client.py:388
↓ 12 callersFunctionmask_workflow_configurations
Mask secret fields inside workflow-level model overrides for API responses.
api/services/configuration/masking.py:147
↓ 12 callersMethodrecord_and_evaluate
Record a call outcome, and if the breaker trips, pause the campaign. This is the main entry point called from telephony status callbacks.
api/services/campaign/circuit_breaker.py:294
↓ 11 callersFunction_extract_initial_context
Pull the context variables out of a pre-call fetch response. The canonical key is ``initial_context``. The legacy ``dynamic_variables`` key i
api/services/pipecat/pre_call_fetch.py:18
↓ 11 callersFunctionasString
(value: unknown)
ui/src/components/workflow/conversation/adapters/fromTextChatTurns.ts:27
↓ 11 callersFunctionauthorize_workflow_run_start
Authorize a workflow run before any billable call/text runtime starts. The workflow organization is the billing subject for hosted v2. The workfl
api/services/quota_service.py:358
↓ 11 callersFunctionbuild_auth_header
Build authentication header based on credential type. Supports the following credential types: - bearer_token: Authorization: Bearer <token>
api/utils/credential_auth.py:15
↓ 11 callersFunctionexecute_http_tool
Execute an HTTP API tool. Args: tool: ToolModel instance arguments: Arguments passed by the LLM (parameter name -> value)
api/services/workflow/tools/custom_tool.py:208
↓ 11 callersFunctionget_call_transfer_manager
Get or create the global call transfer manager instance.
api/services/telephony/call_transfer_manager.py:248
↓ 11 callersFunctionget_function_schema
Create a FunctionSchema definition that can later be transformed into the provider-specific format (OpenAI, Gemini, etc.). The helper keeps t
api/services/workflow/pipecat_engine_custom_tools.py:60
↓ 11 callersMethodget_workflow_run
( self, run_id: int, user_id: int = None, organization_id: int = None )
api/db/workflow_run_client.py:220
↓ 11 callersFunctionparse_code
Parse LLM-authored TS back into a workflow JSON. Returns the raw validator response — `{"ok": True, "workflow": {...}}` on success, `{"ok": F
api/mcp_server/ts_bridge.py:85
↓ 11 callersFunctionrunning_mcp_server
Yield the base streamable-HTTP URL of a live mock MCP server.
api/tests/support/mcp_mock_server.py:66
↓ 11 callersFunctionvalidate_user_configured_service_url
Restrict user-configured service URLs in hosted deployments. OSS deployments commonly point model services at localhost or private LAN hosts.
api/utils/url_security.py:10
↓ 10 callersFunction_create_user_and_workflow
( db_session, async_session, *, workflow_definition: dict, suffix: str, )
api/tests/test_workflow_text_chat.py:70
next →1–100 of 4,677, ranked by callers