HydraDB
hydradbHydraDB is a hosted context layer for ingesting, connecting, and querying data for AI applications.
Acciones disponibles (43)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Connector ResourceHYDRADB_ADD_CONNECTOR_RESOURCEAcciónAdd one discovered provider resource to an existing connector with optional routing, filters, metadata, instructions, and access control.
HYDRADB_ADD_CONNECTOR_RESOURCEAcciónAdd one discovered provider resource to an existing connector with optional routing, filters, metadata, instructions, and access control.
Parámetros de entrada
aclstring[]Principals allowed to read objects synced from this resource. Omit for unrestricted access.
filtersobjectProvider-specific sync filters, such as lookback_days.
metadataobjectDatabase-schema metadata merged into every synced object, up to 16 KiB of compact JSON.
resource_idstringObligatorioProvider resource identifier returned by Discover Connector Resources.
connector_idstringObligatorioConnector ID to receive the resource.
display_namestringHuman-readable name for this resource.
resource_typestringProvider resource type returned by discovery, such as channel, repository, or linear_team.
database_overridestringDatabase for this resource's synced objects. Omit or send an empty string to use the connector database.
additional_metadataobjectFree-form metadata merged into every synced object, up to 1 KiB of compact JSON.
collection_overridestringCollection for this resource's synced objects. Omit or send an empty string to use the connector collection.
custom_instructionsstringResource-specific ingestion and indexing instructions. An empty string inherits the connector instructions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add Metadata Schema FieldsHYDRADB_ADD_METADATA_SCHEMA_FIELDSAcciónAdd new fields to a database metadata schema; existing fields cannot be deleted, renamed, retyped, or reconfigured.
HYDRADB_ADD_METADATA_SCHEMA_FIELDSAcciónAdd new fields to a database metadata schema; existing fields cannot be deleted, renamed, retyped, or reconfigured.
Parámetros de entrada
fieldsobject[]ObligatorioNew metadata fields to add. Existing fields cannot be deleted, renamed, retyped, or reconfigured.
databasestringObligatorioDatabase whose metadata schema to extend.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Configure Connector ResourcesHYDRADB_CONFIGURE_CONNECTOR_RESOURCESAcciónActivate selected discovered resources on a connector and start their sync; unlisted existing resources remain unchanged.
HYDRADB_CONFIGURE_CONNECTOR_RESOURCESAcciónActivate selected discovered resources on a connector and start their sync; unlisted existing resources remain unchanged.
Parámetros de entrada
resourcesobject[]ObligatorioDiscovered resources to activate. Existing resources omitted from this list remain unchanged.
connector_idstringObligatorioConnector ID to configure.
lookback_daysintegerDays of history for the first sync; ranges above 30 may continue as a background backfill.
table_configsobject[]Per-table replication settings for table-sync connectors such as BigQuery; other connector types reject this field.
full_visibility_rolesstring[]HubSpot-only roles whose members can see every record. Omit to keep the setting; send an empty list to clear it.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ConnectorHYDRADB_CREATE_CONNECTORAcciónCreate a HydraDB connector and store the provider authorization required to sync one external account. Obtain the provider-specific shape from List Connector Providers.
HYDRADB_CREATE_CONNECTORAcciónCreate a HydraDB connector and store the provider authorization required to sync one external account. Obtain the provider-specific shape from List Connector Providers.
Parámetros de entrada
namestringHuman-readable connector label.
databasestringObligatorioDatabase that receives synchronized data.
providerstringObligatorioProvider ID returned by List Connector Providers.
auth_typestringProvider authentication method, such as oauth.
collectionstringDefault collection for synchronized data.
custom_instructionsstringDefault ingestion instructions.
sync_interval_secondsintegerScheduled sync interval in seconds; omit or send 0 for the provider default.
provider_account_scopestringExternal account identifier used to avoid collisions across provider accounts.
provider_authorizationobjectProvider-specific authorization object matching the credential_schema returned by List Connector Providers. Sent to HydraDB as credentials, treated as secret, and never returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DatabaseHYDRADB_CREATE_DATABASEAcciónProvision a HydraDB database asynchronously. This may create billable infrastructure; poll Get Database Status before ingestion.
HYDRADB_CREATE_DATABASEAcciónProvision a HydraDB database asynchronously. This may create billable infrastructure; poll Get Database Status before ingestion.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
databasestringObligatorioUnique database name to provision.
embeddings_dimensionintegerEmbedding vector dimension override. Omit to use HydraDB's default of 1536.
database_metadata_schemaobject[]Optional immutable metadata fields to create with the database.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete CollectionHYDRADB_DELETE_COLLECTIONAcciónPermanently delete one HydraDB collection and all of its data while leaving the database intact.
HYDRADB_DELETE_COLLECTIONAcciónPermanently delete one HydraDB collection and all of its data while leaving the database intact.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
databasestringObligatorioDatabase containing the collection.
collectionstringObligatorioCollection to permanently delete with all of its data.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ConnectorHYDRADB_DELETE_CONNECTORAcciónPermanently delete a HydraDB connector, all resource mappings, and its stored provider authorization.
HYDRADB_DELETE_CONNECTORAcciónPermanently delete a HydraDB connector, all resource mappings, and its stored provider authorization.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
connector_idstringObligatorioConnector to permanently delete with its resource mappings and stored provider authorization.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Connector ResourceHYDRADB_DELETE_CONNECTOR_RESOURCEAcciónPermanently remove one resource mapping from a HydraDB connector.
HYDRADB_DELETE_CONNECTOR_RESOURCEAcciónPermanently remove one resource mapping from a HydraDB connector.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
resource_idstringObligatorioResource mapping to permanently remove.
connector_idstringObligatorioConnector containing the resource mapping.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ContextHYDRADB_DELETE_CONTEXTAcciónPermanently delete specific HydraDB knowledge or memory contexts. Uses strict provider status handling so missing, indexing, and store failures cannot appear successful.
HYDRADB_DELETE_CONTEXTAcciónPermanently delete specific HydraDB knowledge or memory contexts. Uses strict provider status handling so missing, indexing, and store failures cannot appear successful.
Parámetros de entrada
idsstring[]ObligatorioExact context IDs to permanently delete.
typestringenumCorpus from which to delete the contexts.
knowledgememoryallconfirmbooleanObligatorioMust be true to confirm this consequential operation.
databasestringObligatorioDatabase containing the contexts.
collectionstringCollection containing the contexts; omit for the default.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DatabaseHYDRADB_DELETE_DATABASEAcciónPermanently delete a HydraDB database and all associated data. This cannot be undone.
HYDRADB_DELETE_DATABASEAcciónPermanently delete a HydraDB database and all associated data. This cannot be undone.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
databasestringObligatorioDatabase to permanently delete with all associated data.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Indexing WebhookHYDRADB_DELETE_INDEXING_WEBHOOKAcciónUnregister the account's indexing webhook and stop all future event deliveries.
HYDRADB_DELETE_INDEXING_WEBHOOKAcciónUnregister the account's indexing webhook and stop all future event deliveries.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Disable Webhook SigningHYDRADB_DISABLE_WEBHOOK_SIGNINGAcciónRemove the indexing webhook signing secret. Future deliveries remain enabled but can no longer be authenticated with HydraDB signatures.
HYDRADB_DISABLE_WEBHOOK_SIGNINGAcciónRemove the indexing webhook signing secret. Future deliveries remain enabled but can no longer be authenticated with HydraDB signatures.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Discover Connector ResourcesHYDRADB_DISCOVER_CONNECTOR_RESOURCESAcciónList resources available through an existing connector's stored provider credentials. Discovery pagination is provider-dependent (currently Notion only); other providers may return the complete list despite limit. This may call the external provider.
HYDRADB_DISCOVER_CONNECTOR_RESOURCESAcciónList resources available through an existing connector's stored provider credentials. Discovery pagination is provider-dependent (currently Notion only); other providers may return the complete list despite limit. This may call the external provider.
Parámetros de entrada
limitintegerRequested maximum resources for providers that support discovery pagination (currently Notion). Other providers may return the complete resource list.
cursorstringOpaque next_cursor from a provider-paginated response; omit for the first page or for providers that return a complete list.
connector_idstringObligatorioConnector ID whose provider resources to discover.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate or Set Webhook Signing SecretHYDRADB_GENERATE_WEBHOOK_SIGNING_SECRETAcciónGenerate or set and replace the indexing webhook signing secret. The previous secret stops working immediately and the active secret is returned only once.
HYDRADB_GENERATE_WEBHOOK_SIGNING_SECRETAcciónGenerate or set and replace the indexing webhook signing secret. The previous secret stops working immediately and the active secret is returned only once.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
signing_secretstringpasswordCaller-owned signing secret of at least 16 characters. Omit to have HydraDB generate one.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ConnectorHYDRADB_GET_CONNECTORAcciónGet one connector's configuration and lifecycle state by connector ID.
HYDRADB_GET_CONNECTORAcciónGet one connector's configuration and lifecycle state by connector ID.
Parámetros de entrada
connector_idstringObligatorioConnector ID returned by List Connectors.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Connector StatusHYDRADB_GET_CONNECTOR_STATUSAcciónCheck a connector's overall health, sync state, errors, and per-resource health in one call.
HYDRADB_GET_CONNECTOR_STATUSAcciónCheck a connector's overall health, sync state, errors, and per-resource health in one call.
Parámetros de entrada
connector_idstringObligatorioConnector ID to check.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Context RelationsHYDRADB_GET_CONTEXT_RELATIONSAcciónReturn extracted entity relations for one context or an entire collection, one page at a time.
HYDRADB_GET_CONTEXT_RELATIONSAcciónReturn extracted entity relations for one context or an entire collection, one page at a time.
Parámetros de entrada
aclstring[]Principals to answer as; only relations visible to them are returned. Omit for no access scoping.
typestringenumCorpus to read: knowledge or memory.
knowledgememorylimitintegerMaximum relation groups to return on this page.
cursoranyExact next_cursor from the previous page; pass numeric or string values back unchanged.
databasestringObligatorioDatabase to read.
collectionstringCollection to read; omit it to use the database's default collection.
context_idstringContext whose relations to return; omit it for the entire collection.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Context StatusHYDRADB_GET_CONTEXT_STATUSAcciónCheck processing status for one or more ingested or connector-synced context IDs.
HYDRADB_GET_CONTEXT_STATUSAcciónCheck processing status for one or more ingested or connector-synced context IDs.
Parámetros de entrada
databasestringObligatorioDatabase containing the contexts.
collectionstringCollection containing the contexts; omit it to use the database's default collection.
context_idsstring[]ObligatorioOne or more context IDs to check, sent as one comma-separated ids query parameter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Context SubgraphHYDRADB_GET_CONTEXT_SUBGRAPHAcciónTraverse context-level relations from one context and return reachable contexts and graph evidence up to bounded depth and size.
HYDRADB_GET_CONTEXT_SUBGRAPHAcciónTraverse context-level relations from one context and return reachable contexts and graph evidence up to bounded depth and size.
Parámetros de entrada
aclstring[]Principals to answer as; visibility is checked at every hop. Omit for no access scoping.
typestringenumCorpus to traverse: knowledge or memory.
knowledgememorydepthintegerMaximum relation hops from the starting context (1-10).
databasestringObligatorioDatabase to traverse.
collectionstringCollection to traverse; omit it to use the database's default collection.
context_idstringObligatorioStarting context ID, including an ID containing slashes.
max_sourcesintegerMaximum contexts to return (1-1000); is_truncated reports whether this cut traversal short.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Database StatsHYDRADB_GET_DATABASE_STATSAcciónGet knowledge and memory collection row counts for one database.
HYDRADB_GET_DATABASE_STATSAcciónGet knowledge and memory collection row counts for one database.
Parámetros de entrada
databasestringObligatorioDatabase whose collection statistics to return.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Database StatusHYDRADB_GET_DATABASE_STATUSAcciónCheck whether one database's scheduler, graph, and vector infrastructure is ready for ingestion.
HYDRADB_GET_DATABASE_STATUSAcciónCheck whether one database's scheduler, graph, and vector infrastructure is ready for ingestion.
Parámetros de entrada
databasestringObligatorioDatabase whose infrastructure status to check.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Indexing WebhookHYDRADB_GET_INDEXING_WEBHOOKAcciónGet the account's indexing webhook URL, subscribed event types, registration state, and whether signing is configured.
HYDRADB_GET_INDEXING_WEBHOOKAcciónGet the account's indexing webhook URL, subscribed event types, registration state, and whether signing is configured.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Metadata SchemaHYDRADB_GET_METADATA_SCHEMAAcciónGet the declared metadata fields and types for one database.
HYDRADB_GET_METADATA_SCHEMAAcciónGet the declared metadata fields and types for one database.
Parámetros de entrada
databasestringObligatorioDatabase whose metadata schema to read.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Webhook DeliveryHYDRADB_GET_WEBHOOK_DELIVERYAcciónGet one indexing webhook delivery attempt by delivery ID for failure diagnosis.
HYDRADB_GET_WEBHOOK_DELIVERYAcciónGet one indexing webhook delivery attempt by delivery ID for failure diagnosis.
Parámetros de entrada
delivery_idstringObligatorioDelivery ID returned by List Webhook Deliveries.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ingest ContextHYDRADB_INGEST_CONTEXTAcciónIngest documents, app knowledge, memories, or an explicit graph into a HydraDB database and return context IDs for asynchronous status checks.
HYDRADB_INGEST_CONTEXTAcciónIngest documents, app knowledge, memories, or an explicit graph into a HydraDB database and return context IDs for asynchronous status checks.
Parámetros de entrada
typestringenumCorpus to ingest into: knowledge for documents or app content; memory for memories. Graph payloads work with either corpus.
knowledgememoryupsertbooleanWhether to replace an existing context that has the same context ID.
databasestringObligatorioDatabase to ingest into.
memoriesstringJSON array of memory entries. Each entry requires text or user_assistant_pairs and may include id, title, infer, metadata, and additional_metadata. Requires type=memory.
documentsobject[]Document files to ingest into the knowledge corpus, in submission order.
collectionstringCollection to ingest into. Omit it to use the database's default collection.
app_knowledgestringJSON array of pre-extracted app knowledge entries. Each entry should include stable identity and searchable content.
graph_payloadstringJSON object containing an explicit graph keyed by source ID.
document_metadatastringJSON array with one metadata item per uploaded document. Each item may contain id, metadata, additional_metadata, and relations.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Inspect ContextHYDRADB_INSPECT_CONTEXTAcciónFetch one context's stored content, enrichment, and/or a time-limited download URL.
HYDRADB_INSPECT_CONTEXTAcciónFetch one context's stored content, enrichment, and/or a time-limited download URL.
Parámetros de entrada
aclstring[]Principals to answer as; the context must be visible to them. Omit for no access scoping.
modestringenumReturn stored content, a time-limited download URL, or both.
contenturlbothdatabasestringObligatorioDatabase containing the context.
collectionstringCollection containing the context; omit it to use the database's default collection.
context_idstringObligatorioContext ID to inspect.
expiry_secondsintegerLifetime of the returned download URL in seconds (60-604800).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CollectionsHYDRADB_LIST_COLLECTIONSAcciónList the collections in one HydraDB database.
HYDRADB_LIST_COLLECTIONSAcciónList the collections in one HydraDB database.
Parámetros de entrada
databasestringObligatorioDatabase whose collections to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Connector ProvidersHYDRADB_LIST_CONNECTOR_PROVIDERSAcciónList supported connector providers, or describe one provider's resource types, credential schema, and setup requirements.
HYDRADB_LIST_CONNECTOR_PROVIDERSAcciónList supported connector providers, or describe one provider's resource types, credential schema, and setup requirements.
Parámetros de entrada
providerstringProvider slug to describe in detail, such as slack or gmail. Omit to list the provider catalog.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Connector ResourcesHYDRADB_LIST_CONNECTOR_RESOURCESAcciónList the resources currently configured on a connector, including routing, filters, access controls, and per-resource health metadata.
HYDRADB_LIST_CONNECTOR_RESOURCESAcciónList the resources currently configured on a connector, including routing, filters, access controls, and per-resource health metadata.
Parámetros de entrada
connector_idstringObligatorioConnector ID whose configured resources to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ConnectorsHYDRADB_LIST_CONNECTORSAcciónList the connected data providers in the account, optionally filtered by provider, with optional health rollups.
HYDRADB_LIST_CONNECTORSAcciónList the connected data providers in the account, optionally filtered by provider, with optional health rollups.
Parámetros de entrada
providerstringProvider slug to filter by, such as github or slack.
include_healthbooleanWhether to include the health rollup keyed by connector ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ContextsHYDRADB_LIST_CONTEXTSAcciónList knowledge or memory contexts in a database or collection, one bounded page at a time.
HYDRADB_LIST_CONTEXTSAcciónList knowledge or memory contexts in a database or collection, one bounded page at a time.
Parámetros de entrada
aclstring[]Principals to answer as; only contexts visible to them are listed. Omit for no access scoping.
idsstring[]Context IDs to restrict the list to, at most 100.
pageintegerPage number to fetch, starting at 1. Pass a response next_cursor here to continue.
typestringenumCorpus to list: knowledge, memory, or all for both.
knowledgememoryallfiltersobjectExact-match metadata, additional-metadata, and built-in field filters; all supplied pairs must match.
databasestringObligatorioDatabase whose contexts to list.
page_sizeintegerMaximum contexts to return on this page.
collectionstringCollection to list; omit for the database default collection.
group_threadsbooleanWhether to nest comments and replies under their parent context instead of listing separate rows.
include_fieldsstring[]Fields to return in addition to id, database, and collection.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DatabasesHYDRADB_LIST_DATABASESAcciónList HydraDB databases and preserve per-database provisioning or failure diagnostics.
HYDRADB_LIST_DATABASESAcciónList HydraDB databases and preserve per-database provisioning or failure diagnostics.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Webhook DeliveriesHYDRADB_LIST_WEBHOOK_DELIVERIESAcciónList recent indexing webhook delivery attempts, optionally filtered by status, one page at a time.
HYDRADB_LIST_WEBHOOK_DELIVERIESAcciónList recent indexing webhook delivery attempts, optionally filtered by status, one page at a time.
Parámetros de entrada
limitintegerMaximum delivery attempts to return on this page.
cursorstringOpaque next_cursor from the previous page; omit for the first page.
statusstringDelivery status to filter by; omit to return deliveries in any status.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query ContextHYDRADB_QUERY_CONTEXTAcciónSearch a HydraDB database for ranked chunks and graph context, with optional collection, metadata, source, ACL, and retrieval controls.
HYDRADB_QUERY_CONTEXTAcciónSearch a HydraDB database for ranked chunks and graph context, with optional collection, metadata, source, ACL, and retrieval controls.
Parámetros de entrada
aclstring[]Principals to query as. Omit, use an empty list, or use ['*'] for no access scoping.
idsstring[]Source or memory IDs to search within, at most 200. If none match, the query returns no matches.
modestringenumRecall mode: fast, thinking, or auto. Thinking mode always includes graph context.
fastthinkingautotypestringenumContext corpus to search: knowledge, memory, or all.
knowledgememoryallalphaanyHybrid-search balance: auto or a numeric weight from 0 to 1.
querystringObligatorioNon-empty natural-language search query.
titlesstring[]Exact document titles to search within, matched case-insensitively and ORed. Intersects with ids when both are supplied.
databasestringObligatorioDatabase to query.
operatorstringenumHow query terms or paths are combined: or, and, or phrase.
orandphrasequery_bystringenumRetrieval method: hybrid or text.
hybridtextcollectionstringSingle collection to search; omit it to use the default collection. Do not combine with collections.
query_appsbooleanWhether to enable app-aware retrieval while searching the selected knowledge.
code_searchbooleanForce repository code search on or off; omit it to let HydraDB decide.
collectionsanyOne to 100 collection IDs, or a mapping of one to 100 collection IDs to positive ranking weights in 0.1 increments. Do not combine with collection.
max_resultsintegerMaximum number of ranked chunks to return.
recency_biasnumberRecency ranking boost from 0 to 1; zero disables it.
graph_contextbooleanWhether fast mode includes graph context. Thinking mode always includes it.
response_formatstringenumOutput format. Default returns structured results with llm_prompt; structured omits llm_prompt; markdown returns one Markdown string.
defaultstructuredmarkdownmetadata_filtersobjectANDed metadata filters. Values may be scalars, lists, or contains, contains_any, and equals objects; lists may contain at most 500 values and the complete filter may be at most 64 KiB.
additional_contextstringContext prepended to the query to improve retrieval relevance.
num_related_chunksintegerNumber of adjacent chunks to include around each matched chunk.
temporal_reasoningbooleanWhether to resolve time-based questions using dated facts.
query_forceful_relationsbooleanWhether thinking mode follows relations declared at ingestion and returns their chunks as additional context.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Register Indexing WebhookHYDRADB_REGISTER_INDEXING_WEBHOOKAcciónRegister or replace the organization's HTTPS endpoint and event subscriptions for HydraDB indexing events. This call can preserve the existing signing secret, generate and return a new one, or install a caller-supplied secret.
HYDRADB_REGISTER_INDEXING_WEBHOOKAcciónRegister or replace the organization's HTTPS endpoint and event subscriptions for HydraDB indexing events. This call can preserve the existing signing secret, generate and return a new one, or install a caller-supplied secret.
Parámetros de entrada
urlstringObligatorioHTTPS endpoint owned by the caller that will receive indexing events.
confirmbooleanObligatorioMust be true to confirm this consequential operation.
event_typesstring[]ObligatorioIndexing event types to deliver, such as indexing.status_changed.
signing_secretstringpasswordCaller-owned signing secret of at least 16 characters. Treated as secret and never echoed from the request.
generate_signing_secretbooleanGenerate a new signing secret and return it once in this response.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retry Webhook DeliveryHYDRADB_RETRY_WEBHOOK_DELIVERYAcciónQueue one failed indexing webhook delivery for another attempt. This repeats an external callback and may repeat downstream side effects.
HYDRADB_RETRY_WEBHOOK_DELIVERYAcciónQueue one failed indexing webhook delivery for another attempt. This repeats an external callback and may repeat downstream side effects.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
delivery_idstringObligatorioFailed or permanently failed delivery ID returned by List Webhook Deliveries.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Connector Paused StateHYDRADB_SET_CONNECTOR_PAUSEDAcciónPause scheduled syncs or resume a paused HydraDB connector. Resuming immediately schedules a sync from the connector's saved positions.
HYDRADB_SET_CONNECTOR_PAUSEDAcciónPause scheduled syncs or resume a paused HydraDB connector. Resuming immediately schedules a sync from the connector's saved positions.
Parámetros de entrada
pausedbooleanObligatorioTrue to pause scheduled syncs; false to resume and immediately schedule a sync from the connector's saved positions.
connector_idstringObligatorioConnector ID whose scheduling state to change.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Submit Query FeedbackHYDRADB_SUBMIT_QUERY_FEEDBACKAcciónRecord a rating, comment, or known ground truth for a prior HydraDB query. This optional signal does not change the original query result. HydraDB allows 100 feedback submissions per minute per organization; if rate limited, skip the report rather than retrying in a loop.
HYDRADB_SUBMIT_QUERY_FEEDBACKAcciónRecord a rating, comment, or known ground truth for a prior HydraDB query. This optional signal does not change the original query result. HydraDB allows 100 feedback submissions per minute per organization; if rate limited, skip the report rather than retrying in a loop.
Parámetros de entrada
ratingstringenumOptional overall judgment: positive, negative, or neutral. Omit it to submit feedback without a rating.
positivenegativeneutralsourcestringenumSubmitter type: user for human feedback or agent for agent feedback.
useragentdatabasestringOwning database when scoping this feedback.
feedbackstringSpecific explanation of what was right or wrong about the query result. Required unless ground_truth is supplied.
metadataobjectUp to 20 string key-value pairs of context, such as agent, conversation, or evaluation-run identifiers. Keys are at most 64 characters and values at most 512 characters.
collectionstringOwning collection. database is required when collection is supplied.
request_idstringObligatoriouuidmeta.request_id from the successful HydraDB query being evaluated.
ground_truthobjectKnown correct answer, context source IDs containing it, or both. Do not guess ground truth.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Test Indexing WebhookHYDRADB_TEST_INDEXING_WEBHOOKAcciónSend one test event to the currently registered indexing webhook endpoint.
HYDRADB_TEST_INDEXING_WEBHOOKAcciónSend one test event to the currently registered indexing webhook endpoint.
Parámetros de entrada
confirmbooleanObligatorioMust be true to confirm this consequential operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Trigger Connector SyncHYDRADB_TRIGGER_CONNECTOR_SYNCAcciónStart a connector sync now, causing external provider reads and HydraDB ingestion. If a sync is already running, it continues; paused connectors and connectors without active resources fail.
HYDRADB_TRIGGER_CONNECTOR_SYNCAcciónStart a connector sync now, causing external provider reads and HydraDB ingestion. If a sync is already running, it continues; paused connectors and connectors without active resources fail.
Parámetros de entrada
connector_idstringObligatorioActive connector ID to sync.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ConnectorHYDRADB_UPDATE_CONNECTORAcciónUpdate an existing HydraDB connector's sync cadence, default ingestion instructions, or provider credentials. Replacing credentials requires explicit confirmation.
HYDRADB_UPDATE_CONNECTORAcciónUpdate an existing HydraDB connector's sync cadence, default ingestion instructions, or provider credentials. Replacing credentials requires explicit confirmation.
Parámetros de entrada
connector_idstringObligatorioConnector ID to update.
custom_instructionsstringNew default ingestion instructions for resources without their own instructions. Send an empty string to clear them.
sync_interval_secondsintegerNew scheduled sync interval in seconds. Provider-specific bounds apply; send 0 to select the provider default.
provider_authorizationobjectReplacement provider authorization matching the provider credential schema. Sent to HydraDB as credentials to reconnect, treated as secret, and never returned.
confirm_credentials_replacementbooleanMust be the boolean value true when credentials are supplied, confirming that the previous provider authorization will stop working immediately.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Connector ResourceHYDRADB_UPDATE_CONNECTOR_RESOURCEAcciónReplace a HydraDB connector resource's access rules or change its ingestion instructions for subsequent syncs.
HYDRADB_UPDATE_CONNECTOR_RESOURCEAcciónReplace a HydraDB connector resource's access rules or change its ingestion instructions for subsequent syncs.
Parámetros de entrada
aclstring[]Complete replacement access list. Send an empty list to allow nobody, or ["__public__"] to allow every identified caller; omit to leave unchanged.
resource_idstringObligatorioConfigured resource ID to update.
connector_idstringObligatorioConnector ID containing the resource.
custom_instructionsstringResource-specific ingestion and indexing instructions applied from the next sync. Send an empty string to clear them back to the connector default; omit to leave unchanged.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Context MetadataHYDRADB_UPDATE_CONTEXT_METADATAAcciónMerge metadata into one HydraDB context or replace its access-control list without re-ingesting content.
HYDRADB_UPDATE_CONTEXT_METADATAAcciónMerge metadata into one HydraDB context or replace its access-control list without re-ingesting content.
Parámetros de entrada
aclstring[]Complete ACL replacement. Send an empty list or null to make the context private, or ["__public__"] to make it public; omit to leave it unchanged.
databasestringObligatorioDatabase containing the context.
collectionstringObligatorioCollection containing the context; this endpoint does not default it.
context_idstringObligatorioContext ID to update.
database_metadataobjectSchema-declared metadata values to merge, up to 16 KiB as compact JSON. Omit to leave these values unchanged.
additional_metadataobjectFree-form metadata values to merge, up to 1 KiB as compact JSON. Omit to leave these values unchanged.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not