originchaindb
The OriginChain database HTTP API. Generated from the engine's routes; do not edit by hand.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.1.0
- Package version: 0.1.22
- Generator version: 7.26.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.10+
Packaging uses standard [project] metadata and [dependency-groups] (PEP 621/735).
Install the package with python -m pip install .; install development dependencies
with Poetry 2.2 or newer using poetry install, or pip 25.1 or newer using
python -m pip install --group dev. The latter installs the group, not the package.
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import originchaindb
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import originchaindb
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import originchaindb
from originchaindb.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = originchaindb.Configuration(
host = "https://localhost:8080"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: bearerAuth
configuration = originchaindb.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with originchaindb.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = originchaindb.AskApi(api_client)
tenant = 'tenant_example' # str |
ask_request = originchaindb.AskRequest() # AskRequest |
explain = 'explain_example' # str | (optional)
x_oc_db_user = 'x_oc_db_user_example' # str | Acting database user (role, grant and row-policy checks). Send with x-oc-db-key. (optional)
x_oc_db_key = 'x_oc_db_key_example' # str | API key of the x-oc-db-user user. (optional)
try:
# Answers a natural-language question by compiling it to a query plan and running it.
api_response = api_instance.ask(tenant, ask_request, explain=explain, x_oc_db_user=x_oc_db_user, x_oc_db_key=x_oc_db_key)
print("The response of AskApi->ask:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AskApi->ask: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://localhost:8080
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AskApi | ask | POST /v1/tenants/{tenant}/ask | Answers a natural-language question by compiling it to a query plan and running it. |
| AuditApi | audit_export | GET /v1/tenants/{tenant}/audit/export | Exports the tenant's complete audit log as newline-delimited JSON, oldest first, for ingestion into a security monitoring system. |
| AuditApi | audit_list | GET /v1/tenants/{tenant}/audit | Returns the most recent entries of the tenant's tamper-evident audit log, newest first. |
| AuditApi | audit_verify | GET /v1/tenants/{tenant}/audit/verify | Verifies the integrity of the tenant's hash-chained audit log and reports the first entry that fails, if any. |
| CypherApi | cypher_exec | POST /v1/tenants/{tenant}/cypher | Runs an openCypher query, read or write, and returns its rows or write counts. |
| DbApi | create_role | POST /v1/tenants/{tenant}/db/roles | Creates a database role, optionally inheriting the privileges of existing roles. |
| DbApi | create_user | POST /v1/tenants/{tenant}/db/users | Creates a database user that authenticates with either a password or a generated API key. |
| DbApi | delete_rls | DELETE /v1/tenants/{tenant}/db/rls | Deletes the row-level security policy for a role on a table. |
| DbApi | delete_role | DELETE /v1/tenants/{tenant}/db/roles/{name} | Deletes a database role, refusing while grants, policies, members or inheriting roles still reference it unless cascade=true is passed. |
| DbApi | delete_user | DELETE /v1/tenants/{tenant}/db/users/{username} | Deletes a database user and all of its credentials. |
| DbApi | list_grants | GET /v1/tenants/{tenant}/db/grants | Lists every privilege grant in the tenant with the privileges and masked columns each role holds on each object. |
| DbApi | list_rls | GET /v1/tenants/{tenant}/db/rls | Lists every row-level security policy in the tenant. |
| DbApi | list_roles | GET /v1/tenants/{tenant}/db/roles | Lists the tenant's database roles, including the built-in system roles. |
| DbApi | list_users | GET /v1/tenants/{tenant}/db/users | Lists the tenant's database users with their authentication method, roles and number of API keys. |
| DbApi | matrix | GET /v1/tenants/{tenant}/db/matrix | Returns the effective privilege matrix: for each table, the privileges and masked columns every role resolves to, including inherited roles. |
| DbApi | put_grant | POST /v1/tenants/{tenant}/db/grants | Grants a role privileges on a table, or on every table with the object *, optionally masking columns, and replaces any existing grant for that role and object. |
| DbApi | put_rls | POST /v1/tenants/{tenant}/db/rls | Creates or replaces the row-level security policy that limits which rows of a table a role can read. |
| DbApi | revoke_grant | DELETE /v1/tenants/{tenant}/db/grants | Revokes a role's grant on an object, removing every privilege and column mask it carried. |
| DbApi | rls_effective | GET /v1/tenants/{tenant}/db/rls/effective | Shows which row-level security policies apply to a given database user on a table, without running a query as that user. |
| DbApi | rotate_user_key | POST /v1/tenants/{tenant}/db/users/{username}/api-key | Issues an additional API key for a database user; keys issued earlier remain valid. |
| DiagnosticsApi | report_client_diagnostics | POST /v1/tenants/{tenant}/diagnostics | Reports the SDK's own opt-in diagnostics for its calls to this database; the engine relays them into its telemetry. |
| FtsApi | fts_aggs | POST /v1/tenants/{tenant}/fts/{table}/_aggs | Runs an aggregation tree over the documents a full-text query matches, or over every document indexed under the field. |
| FtsApi | fts_delete_doc | POST /v1/tenants/{tenant}/fts/{table}/{field}/delete | Removes a document from a table field's full-text index, including its stored text and facet values. |
| FtsApi | fts_dsl_search | POST /v1/tenants/{tenant}/fts/{table}/_search | Runs a structured full-text query against a table's index and returns ranked document ids with the total match count. |
| FtsApi | fts_index | POST /v1/tenants/{tenant}/fts/{table}/{field} | Indexes the text of one document for full-text search on a table field. |
| FtsApi | fts_index_json | POST /v1/tenants/{tenant}/fts/{table}/{field}/json | Indexes the string content of a JSON document for full-text search on a table field, optionally limited to the given paths. |
| FtsApi | fts_install_stopwords | POST /v1/tenants/{tenant}/fts/{table}/{field}/stopwords | Replaces the stopword list for a table field's full-text index. |
| FtsApi | fts_install_synonyms | POST /v1/tenants/{tenant}/fts/{table}/{field}/synonyms | Replaces the synonym map for a table field's full-text index. |
| FtsApi | fts_list | GET /v1/tenants/{tenant}/fts | Lists every full-text indexed field in the tenant with its document count and average document length. |
| FtsApi | fts_search | GET /v1/tenants/{tenant}/fts/{table}/{field} | Searches the full-text index of a table field by boolean match, phrase or BM25 relevance ranking. |
| FtsApi | fts_set_doc | POST /v1/tenants/{tenant}/fts/{table}/{field}/doc | Stores a document's original text and optional facet values on a full-text field for highlighting and faceting. |
| FtsApi | fts_suggest | POST /v1/tenants/{tenant}/fts/{table}/_suggest | Returns completion, spelling-correction or phrase-correction suggestions from a full-text field's term dictionary. |
| GeoApi | geo_config_get | GET /v1/tenants/{tenant}/geo/{schema} | Returns a schema's declared geospatial indexes with live point and index counts per field. |
| GeoApi | geo_search | GET /v1/tenants/{tenant}/geo/{schema}/{field} | Searches a geospatial field by bounding box, radius or nearest neighbours. |
| GraphApi | graph_all_simple_paths | GET /v1/tenants/{tenant}/graph/{schema}/all_simple_paths | Lists the simple paths from one node to another along a relation, up to a depth and path-count limit. |
| GraphApi | graph_all_simple_paths_bidir | GET /v1/tenants/{tenant}/graph/{schema}/all_simple_paths_bidir | Lists the simple paths between two nodes when each hop may follow a relation edge in either direction. |
| GraphApi | graph_betweenness | GET /v1/tenants/{tenant}/graph/{schema}/betweenness | Scores every node of a graph schema by betweenness centrality, exactly or by sampling. |
| GraphApi | graph_bfs | GET /v1/tenants/{tenant}/graph/{schema}/bfs | Walks a relation breadth-first from a node and returns each node reached with its depth. |
| GraphApi | graph_components | GET /v1/tenants/{tenant}/graph/{schema}/components | Labels every node in a graph schema with its connected component, treating a self-relation as undirected. |
| GraphApi | graph_dangling | GET /v1/tenants/{tenant}/graph/{schema}/dangling | Reports edges whose endpoint rows no longer exist for a relation, in bounded, resumable pages. |
| GraphApi | graph_dijkstra | GET /v1/tenants/{tenant}/graph/{schema}/dijkstra | Returns the lowest total weight of a path between two nodes, using caller-supplied edge weights. |
| GraphApi | graph_eigenvector_centrality | GET /v1/tenants/{tenant}/graph/{schema}/eigenvector_centrality | Scores every node of a graph schema by eigenvector centrality. |
| GraphApi | graph_graphsage | POST /v1/tenants/{tenant}/graph/{schema}/graphsage | Trains attribute-aware GraphSAGE node embeddings over a graph schema and optionally persists them for similarity search. |
| GraphApi | graph_graphsage_topk | GET /v1/tenants/{tenant}/graph/{schema}/graphsage/{rel}/topk | Returns the nodes most similar to a given node using the persisted GraphSAGE embeddings. |
| GraphApi | graph_k_shortest | GET /v1/tenants/{tenant}/graph/{schema}/k-shortest | Returns up to k loop-free shortest paths between two nodes, ranked by cost. |
| GraphApi | graph_label_propagation | GET /v1/tenants/{tenant}/graph/{schema}/label_propagation | Groups the nodes of a graph schema into communities by label propagation. |
| GraphApi | graph_louvain | GET /v1/tenants/{tenant}/graph/{schema}/louvain | Detects communities in a graph schema with the Louvain modularity algorithm. |
| GraphApi | graph_neighbors | GET /v1/tenants/{tenant}/graph/{schema}/neighbors | Returns the one-hop neighbours of a node along a relation. |
| GraphApi | graph_node2vec | POST /v1/tenants/{tenant}/graph/{schema}/node2vec | Trains Node2Vec node embeddings over a graph schema and optionally persists them for similarity search. |
| GraphApi | graph_node2vec_topk | GET /v1/tenants/{tenant}/graph/{schema}/node2vec/{rel}/topk | Returns the nodes most similar to a given node using the persisted Node2Vec embeddings. |
| GraphApi | graph_pagerank | GET /v1/tenants/{tenant}/graph/{schema}/pagerank | Scores a set of nodes by PageRank over a relation. |
| GraphApi | graph_path | GET /v1/tenants/{tenant}/graph/{schema}/path | Reports whether one node can reach another along a relation within a depth limit. |
| GraphApi | graph_random_walk | GET /v1/tenants/{tenant}/graph/{schema}/random-walk | Performs a seeded random walk from a start node, optionally Node2Vec-biased. |
| GraphApi | graph_reverse | GET /v1/tenants/{tenant}/graph/{schema}/reverse | Returns the nodes that point to a node along a relation (its inbound edges). |
| GraphApi | graph_triangles | GET /v1/tenants/{tenant}/graph/{schema}/triangles | Enumerates every triangle in a graph schema's self-relation. |
| IngestApi | ingest_file | POST /v1/tenants/{tenant}/ingest/files/{schema} | Uploads a CSV or NDJSON file as multipart form data and loads its rows into an existing table. |
| IngestApi | mysql_ingest_sync | POST /v1/tenants/{tenant}/ingest/mysql/sync | Copies one or more tables from a MySQL database into the tenant, creating each destination table if it does not exist, in full or incremental mode. |
| IngestApi | pg_ingest_sync | POST /v1/tenants/{tenant}/ingest/postgres/sync | Copies tables from an allow-listed external PostgreSQL database into the tenant, as a full copy or an incremental sync. |
| IngestApi | s3_ingest_sync | POST /v1/tenants/{tenant}/ingest/s3/sync | Loads every CSV and NDJSON object under a prefix of an S3-compatible object storage bucket into an existing table. |
| MigrationsApi | migrations_abort | POST /v1/tenants/{tenant}/migrations/{id}/abort | Aborts an in-progress migration and restores the table's previous shape. |
| MigrationsApi | migrations_audit | GET /v1/tenants/{tenant}/migrations/_audit | Returns the audit log of migration state transitions for the tenant. |
| MigrationsApi | migrations_cutover | POST /v1/tenants/{tenant}/migrations/{id}/cutover | Switches a table over to its migrated shape and completes the migration. |
| MigrationsApi | migrations_get | GET /v1/tenants/{tenant}/migrations/{id} | Returns the state and progress of one online schema migration. |
| MigrationsApi | migrations_list | GET /v1/tenants/{tenant}/migrations | Lists the tenant's online schema migrations that the caller may see. |
| MigrationsApi | migrations_submit | POST /v1/tenants/{tenant}/migrations | Starts an online schema migration that rewrites a table to its new shape in the background. |
| QueryApi | query_exec | POST /v1/tenants/{tenant}/query | Executes a read query plan and returns the matching rows. |
| QueryStatsApi | query_stats | GET /v1/tenants/{tenant}/query-stats | Returns per-fingerprint statistics for the tenant's read queries (call count, latency percentiles, average rows and cache-hit rate), collected in memory since the server last started. |
| RowsApi | row_delete | DELETE /v1/tenants/{tenant}/rows/{schema}/{pk} | Deletes one row by primary key outside a transaction; deleting a missing row succeeds with deleted set to false. |
| RowsApi | row_get | GET /v1/tenants/{tenant}/rows/{schema}/{pk} | Fetches one row by its primary key. |
| RowsApi | row_put_cas | PUT /v1/tenants/{tenant}/rows/{schema}/{pk} | Writes one row by primary key, optionally as a compare-and-set against the row version given in If-Match. |
| RowsApi | rows_put | POST /v1/tenants/{tenant}/rows/{schema} | Writes one row, inserting it or replacing the row that has the same primary key. |
| RowsApi | rows_put_batch | POST /v1/tenants/{tenant}/rows/{schema}/_batch | Writes many rows in one request, from a JSON array or a newline-delimited JSON stream. |
| SchemasApi | schemas_delete | DELETE /v1/tenants/{tenant}/schemas/{id} | Deletes one table and irreversibly purges all of its rows, indexes and related data. |
| SchemasApi | schemas_delete_all | DELETE /v1/tenants/{tenant}/schemas | Deletes every table in the tenant and irreversibly purges all of their data. |
| SchemasApi | schemas_get | GET /v1/tenants/{tenant}/schemas/{id} | Returns the registered TOML manifest for one table. |
| SchemasApi | schemas_list | GET /v1/tenants/{tenant}/schemas | Lists the table ids registered for the tenant that the caller may see. |
| SchemasApi | schemas_register | POST /v1/tenants/{tenant}/schemas | Registers a new table from a TOML manifest. |
| SlowQueriesApi | slow_queries | GET /v1/tenants/{tenant}/slow-queries | Returns the tenant's most recent read-query executions with their text and latency, newest first, optionally filtered to those at or above a latency threshold. |
| SqlApi | mv_drop | DELETE /v1/tenants/{tenant}/sql/materialized-views/{name} | Drops a materialized view and everything stored for it. |
| SqlApi | mv_install | POST /v1/tenants/{tenant}/sql/materialized-views | Creates a materialized view from a SQL SELECT and materializes its initial contents. |
| SqlApi | mv_list | GET /v1/tenants/{tenant}/sql/materialized-views | Lists the materialized views installed for the tenant with their refresh mode and base table. |
| SqlApi | mv_read | GET /v1/tenants/{tenant}/sql/materialized-views/{name} | Returns the rows of a materialized view, filtered and masked by the caller's row-level policies. |
| SqlApi | mv_refresh | POST /v1/tenants/{tenant}/sql/materialized-views/{name}/refresh | Recomputes a materialized view from its base table and replaces its stored rows. |
| SqlApi | sql_exec | POST /v1/tenants/{tenant}/sql | Executes a SQL statement or a semicolon-separated batch and returns rows for queries or a result summary for writes and DDL. |
| SystemApi | capabilities | GET /v1/capabilities | Returns the live support matrix of features, index kinds, SQL constructs and wire protocols this engine serves. |
| SystemApi | health | GET /health | Reports that the engine process is alive, with a constant JSON body. |
| SystemApi | ready | GET /ready | Reports whether the engine can serve traffic, including write and read readiness and any pressure conditions. |
| SystemApi | version | GET /v1/version | Returns the engine's version, build stamps and storage health. |
| TxApi | tx_begin | POST /v1/tenants/{tenant}/tx/begin | Opens a multi-statement transaction at snapshot or serializable isolation and returns its id. |
| TxApi | tx_commit | POST /v1/tenants/{tenant}/tx/{tx_id}/commit | Atomically commits every write buffered in the transaction, enforcing foreign-key, check and unique constraints. |
| TxApi | tx_query | POST /v1/tenants/{tenant}/tx/{tx_id}/query | Runs a read-only query plan inside the transaction at its snapshot, including the transaction's own buffered writes. |
| TxApi | tx_rollback | POST /v1/tenants/{tenant}/tx/{tx_id}/rollback | Discards every write buffered in the transaction and closes it. |
| TxApi | tx_row_delete | DELETE /v1/tenants/{tenant}/tx/{tx_id}/rows/{schema}/{pk} | Buffers the deletion of one row, addressed by primary key, in the transaction. |
| TxApi | tx_row_get | GET /v1/tenants/{tenant}/tx/{tx_id}/rows/{schema}/{pk} | Reads one row by primary key at the transaction's snapshot, seeing the transaction's own buffered writes first. |
| TxApi | tx_row_put | POST /v1/tenants/{tenant}/tx/{tx_id}/rows/{schema} | Buffers an insert-or-replace of one row in the transaction; it becomes visible to others only after commit. |
| TxApi | tx_status | GET /v1/tenants/{tenant}/tx/{tx_id} | Returns the current state, snapshot tick and isolation level of a transaction. |
| UsageApi | usage | GET /v1/tenants/{tenant}/usage | Returns the tenant's configuration, limits and live usage counters. |
| VectorApi | create_ivf_pq_index | POST /v1/tenants/{tenant}/vector/{table}/create-ivf-pq-index | Builds a compressed IVF-PQ vector index for a table from a named preset, training it on the table's stored vectors. |
| VectorApi | vector_delete | DELETE /v1/tenants/{tenant}/vector/{table}/{vec_id} | Deletes one vector from a vector table by id; deleting an id that does not exist still succeeds with deleted set to false. |
| VectorApi | vector_delete_bulk | POST /v1/tenants/{tenant}/vector/{table}/delete-bulk | Deletes up to 10,000 vectors from a vector table in one request and reports how many were deleted and how many were not found. |
| VectorApi | vector_put | POST /v1/tenants/{tenant}/vector/{table}/put | Stores one dense vector, with optional metadata, in a vector collection. |
| VectorApi | vector_put_bulk | POST /v1/tenants/{tenant}/vector/{table}/put_bulk | Stores up to 100,000 dense vectors in a vector collection as one atomic batch. |
| VectorApi | vector_put_sparse | POST /v1/tenants/{tenant}/vector/{table}/put_sparse | Stores one sparse vector (indices, values and dimension), with optional metadata, in a vector collection. |
| VectorApi | vector_topk | POST /v1/tenants/{tenant}/vector/{table}/topk | Returns the k stored vectors nearest to a query vector, optionally filtered by metadata. |
| VectorApi | vector_topk_explain | POST /v1/tenants/{tenant}/vector/{table}/topk_explain | Runs a vector similarity search and returns its hits together with the resolved search configuration. |
| VectorApi | vector_topk_hybrid | POST /v1/tenants/{tenant}/vector/{table}/topk_hybrid | Runs a dense and a sparse nearest-neighbour search in one request and returns a single list fused by Reciprocal Rank Fusion. |
| VectorApi | vector_topk_sparse | POST /v1/tenants/{tenant}/vector/{table}/topk_sparse | Returns the k stored sparse vectors most similar to a sparse query vector, optionally filtered by metadata. |
| VectorIndexesApi | configure_index | PATCH /v1/tenants/{tenant}/vector-indexes/{index} | Updates the deletion protection and tags of a vector index. |
| VectorIndexesApi | configure_namespace | POST /v1/tenants/{tenant}/vector-indexes/{index}/namespaces/configure | Sets or removes the declared record capacity of a namespace. |
| VectorIndexesApi | count | POST /v1/tenants/{tenant}/vector-indexes/{index}/records/count | Counts the records of a namespace, exactly, optionally matching a metadata filter. |
| VectorIndexesApi | create_index | POST /v1/tenants/{tenant}/vector-indexes | Creates a vector index with its dense, sparse and text configuration, holding an empty default namespace. |
| VectorIndexesApi | create_namespace | POST /v1/tenants/{tenant}/vector-indexes/{index}/namespaces/create | Creates a namespace in a vector index, optionally with a declared record capacity. |
| VectorIndexesApi | delete | POST /v1/tenants/{tenant}/vector-indexes/{index}/records/delete | Deletes records by id, or every record of a namespace with all: true. |
| VectorIndexesApi | delete_index | DELETE /v1/tenants/{tenant}/vector-indexes/{index} | Deletes a vector index; its namespaces are erased in the background. |
| VectorIndexesApi | delete_namespace | POST /v1/tenants/{tenant}/vector-indexes/{index}/namespaces/delete | Deletes a namespace and erases its records in the background. |
| VectorIndexesApi | describe_index | GET /v1/tenants/{tenant}/vector-indexes/{index} | Returns the configuration of a vector index, addressed by its id or name. |
| VectorIndexesApi | describe_namespace | POST /v1/tenants/{tenant}/vector-indexes/{index}/namespaces/describe | Returns a namespace of a vector index with its record counts. |
| VectorIndexesApi | fetch | POST /v1/tenants/{tenant}/vector-indexes/{index}/records/fetch | Fetches up to 1,000 records of a namespace by id. |
| VectorIndexesApi | fetch_by_filter | POST /v1/tenants/{tenant}/vector-indexes/{index}/records/fetch-by-filter | Fetches the records of a namespace that match a metadata filter, one page at a time. |
| VectorIndexesApi | index_stats | GET /v1/tenants/{tenant}/vector-indexes/{index}/stats | Returns per-namespace record counts and totals for a vector index. |
| VectorIndexesApi | list_ids | POST /v1/tenants/{tenant}/vector-indexes/{index}/records/list-ids | Lists the record ids of a namespace in byte order, optionally under a prefix, one page at a time. |
| VectorIndexesApi | list_indexes | POST /v1/tenants/{tenant}/vector-indexes/list | Lists the vector indexes the caller can see, in name order, with cursor pagination. |
| VectorIndexesApi | list_namespaces | POST /v1/tenants/{tenant}/vector-indexes/{index}/namespaces/list | Lists the namespaces of a vector index in name order, with record counts and cursor pagination. |
| VectorIndexesApi | search | POST /v1/tenants/{tenant}/vector-indexes/{index_id}/search | Searches a namespace of a vector index with dense, sparse, lexical or hybrid ranking and an optional metadata filter. |
| VectorIndexesApi | update | POST /v1/tenants/{tenant}/vector-indexes/{index}/records/update | Updates one record by id: metadata, dense or sparse values, and text, optionally conditional on a revision token. |
| VectorIndexesApi | upsert | POST /v1/tenants/{tenant}/vector-indexes/{index}/records/upsert | Inserts or replaces up to 1,000 records in a namespace, creating the namespace if it does not exist. |
| VectorsApi | vectors_list | GET /v1/tenants/{tenant}/vectors | Lists the tenant's vector tables with their live vector counts. |
| WatchApi | watch_sse | GET /v1/tenants/{tenant}/watch | Streams the live result of a natural-language query as Server-Sent Events, re-sending it whenever the data changes. |
| WebhooksApi | webhook_delete | DELETE /v1/tenants/{tenant}/webhooks/{hook_id} | Deletes a webhook registration, so later deliveries to that hook are refused. |
| WebhooksApi | webhook_get | GET /v1/tenants/{tenant}/webhooks/{hook_id} | Returns a registered webhook's configuration, including the name of its signing-secret setting but never the secret itself. |
| WebhooksApi | webhook_put | PUT /v1/tenants/{tenant}/webhooks/{hook_id} | Registers or replaces a webhook that maps incoming JSON payloads onto rows of an existing table, with optional HMAC signature verification. |
| WebhooksApi | webhook_receive | POST /v1/tenants/{tenant}/webhooks/{hook_id} | Receives a delivery for a registered webhook: when the hook has a signature block, the request must carry an HMAC-SHA256 signature of the raw body in the configured header (a missing or invalid signature returns 401), the JSON payload is mapped through the hook's field mapping, and the resulting rows are written to the destination table; the request also passes the standard bearer-token check. |
Documentation For Models
- Ask200Response
- Ask200ResponseExplain
- AskRequest
- AuditExport200Response
- AuditList200Response
- AuditList200ResponseEntriesInner
- AuditVerify200Response
- Capabilities200Response
- ConfigureIndexRequest
- ConfigureNamespace200Response
- ConfigureNamespace200ResponsePosition
- ConfigureNamespaceRequest
- Count200Response
- CountRequest
- CreateIndex201Response
- CreateIndex201ResponseEmbedding
- CreateIndexRequest
- CreateIndexRequestTextFieldsInner
- CreateIvfPqIndex200Response
- CreateIvfPqIndexRequest
- CreateNamespace201Response
- CreateNamespaceRequest
- CreateRole200Response
- CreateRoleRequest
- CreateUser200Response
- CreateUserRequest
- CypherExec200Response
- CypherExecRequest
- Delete200Response
- DeleteIndex202Response
- DeleteNamespace202Response
- DeleteNamespace202ResponseReceipt
- DeleteNamespace202ResponseReceiptRecordsInner
- DeleteNamespace202ResponseReceiptRestoreEpoch
- DeleteNamespaceRequest
- DeleteRequest
- DeleteRls200Response
- DeleteRole200Response
- DeleteRole200ResponseCascaded
- DeleteUser200Response
- DescribeNamespaceRequest
- Error
- ErrorDetail
- ErrorError
- Fetch200Response
- Fetch200ResponseRecords
- Fetch200ResponseRecordsText
- FetchByFilter200Response
- FetchByFilterRequest
- FetchRequest
- FtsAggs200Response
- FtsAggsRequest
- FtsAggsRequestSearch
- FtsAggsRequestSearchParams
- FtsAggsRequestSearchSearchAfter
- FtsAggsRequestSearchSortInner
- FtsDeleteDocRequest
- FtsDslSearch200Response
- FtsDslSearch200ResponseHitsInner
- FtsDslSearchRequest
- FtsIndexJsonRequest
- FtsIndexRequest
- FtsInstallStopwordsRequest
- FtsInstallSynonymsRequest
- FtsList200Response
- FtsList200ResponseFieldsInner
- FtsSetDocRequest
- FtsSuggest200Response
- FtsSuggest200ResponseCompletionsInner
- FtsSuggest200ResponseEntriesInner
- FtsSuggest200ResponseEntriesInnerOptionsInner
- FtsSuggest200ResponseOptionsInner
- FtsSuggestRequest
- GeoConfigGet200Response
- GeoConfigGet200ResponseFieldsInner
- GeoSearch200Response
- GeoSearch200ResponseHitsInner
- GraphAllSimplePaths200ResponseInner
- GraphBetweenness200ResponseInner
- GraphBfs200ResponseInner
- GraphComponents200ResponseInner
- GraphDangling200Response
- GraphDangling200ResponseDanglingInner
- GraphDangling200ResponseDanglingInnerMissingInner
- GraphDangling200ResponseEndpointsInner
- GraphDijkstra200Response
- GraphEigenvectorCentrality200ResponseInner
- GraphGraphsage200Response
- GraphGraphsageRequest
- GraphGraphsageTopk200ResponseInner
- GraphKShortest200Response
- GraphKShortest200ResponsePathsInner
- GraphLabelPropagation200ResponseInner
- GraphLouvain200Response
- GraphLouvain200ResponseCommunitiesInner
- GraphNode2vec200Response
- GraphNode2vecRequest
- GraphPath200Response
- GraphRandomWalk200Response
- GraphTriangles200ResponseInner
- Health200Response
- IndexStats200Response
- IndexStats200ResponseNamespacesInner
- IngestFile200Response
- ListGrants200Response
- ListGrants200ResponseGrantsInner
- ListIds200Response
- ListIdsRequest
- ListIndexes200Response
- ListIndexes200ResponseIndexesInner
- ListIndexesRequest
- ListNamespaces200Response
- ListNamespacesRequest
- ListRls200Response
- ListRls200ResponsePoliciesInner
- ListRoles200Response
- ListRoles200ResponseRolesInner
- ListUsers200Response
- ListUsers200ResponseUsersInner
- Matrix200Response
- Matrix200ResponseObjectsInner
- Matrix200ResponseObjectsInnerRoles
- MigrationsAbort200Response
- MigrationsAudit200ResponseInner
- MigrationsList200ResponseInner
- MigrationsList200ResponseInnerDiffInner
- MigrationsList200ResponseInnerDiffInnerAddColumn
- MigrationsList200ResponseInnerDiffInnerChangeColumnType
- MigrationsList200ResponseInnerDiffInnerChangeExtractionPath
- MigrationsList200ResponseInnerDiffInnerDropColumn
- MigrationsList200ResponseInnerDiffInnerRenameColumn
- MigrationsList200ResponseInnerDiffInnerSetColumnDefault
- MigrationsList200ResponseInnerDiffInnerSetColumnNullability
- MigrationsList200ResponseInnerProgress
- MigrationsSubmitRequest
- MvDrop200Response
- MvInstall200Response
- MvInstallRequest
- MvList200ResponseInner
- MvRead200Response
- MvRefresh200Response
- MysqlIngestSync200Response
- MysqlIngestSync200ResponseResultsInner
- MysqlIngestSyncRequest
- MysqlIngestSyncRequestTablesInner
- PgIngestSync200Response
- PgIngestSync200ResponseResultsInner
- PgIngestSyncRequest
- PgIngestSyncRequestTablesInner
- PutGrant200Response
- PutGrantRequest
- PutRls200Response
- PutRlsRequest
- QueryExecRequest
- QueryStats200Response
- QueryStats200ResponseFingerprintsInner
- Ready200Response
- Ready200ResponseStorage
- ReportClientDiagnostics202Response
- ReportClientDiagnosticsRequest
- ReportClientDiagnosticsRequestEventsInner
- RevokeGrant200Response
- RevokeGrantRequest
- RlsEffective200Response
- RlsEffective200ResponsePoliciesInner
- RotateUserKey200Response
- RowDelete200Response
- RowPutCas200Response
- RowsPut200Response
- RowsPutBatch200Response
- S3IngestSync200Response
- S3IngestSync200ResponsePerObjectInner
- S3IngestSyncRequest
- SchemasDelete200Response
- SchemasDeleteAll200Response
- SchemasRegister200Response
- Search200Response
- Search200ResponseCompleteness
- Search200ResponseFusion
- Search200ResponseHitsInner
- Search200ResponseHitsInnerComponentsInner
- Search200ResponseHitsInnerSparseValues
- Search200ResponseLegsInner
- Search200ResponseLegsInnerAnalysis
- Search200ResponseRead
- Search200ResponseReadPosition
- Search200ResponseReadRestoreEpoch
- SearchRequest
- SearchRequestDense
- SearchRequestFusion
- SearchRequestFusionWeights
- SearchRequestLexical
- SearchRequestSparse
- SlowQueries200Response
- SlowQueries200ResponseEntriesInner
- SqlExec200Response
- SqlExec200ResponseCommitPointsInner
- SqlExec200ResponseReclaim
- SqlExec200ResponseResultsInner
- SqlExecRequest
- TxBegin200Response
- TxBeginRequest
- TxCommit200Response
- TxCommit200ResponseLsn
- TxQuery200Response
- TxQueryRequest
- TxRollback200Response
- TxRowDelete200Response
- TxRowGet200Response
- TxRowPut200Response
- TxStatus200Response
- Update200Response
- UpdateRequest
- UpdateRequestSparseValues
- Upsert200Response
- UpsertRequest
- UpsertRequestRecordsInner
- Usage200Response
- Usage200ResponseAddonCallsInner
- Usage200ResponseConfiguration
- Usage200ResponseLimits
- Usage200ResponseMeter
- Usage200ResponseSchemasInner
- Usage200ResponseUsed
- VectorDelete200Response
- VectorDeleteBulk200Response
- VectorDeleteBulkRequest
- VectorPutBulk200Response
- VectorPutBulkRequest
- VectorPutBulkRequestVectorsInner
- VectorPutRequest
- VectorPutSparseRequest
- VectorTopk200ResponseInner
- VectorTopkExplain200Response
- VectorTopkExplain200ResponseCompleteness
- VectorTopkExplain200ResponseConfig
- VectorTopkExplainRequest
- VectorTopkHybridRequest
- VectorTopkRequest
- VectorTopkSparseRequest
- VectorsList200Response
- VectorsList200ResponseTablesInner
- Version200Response
- Version200ResponseDisk
- Version200ResponseLicence
- WebhookDelete200Response
- WebhookGet200Response
- WebhookGet200ResponseConfig
- WebhookGet200ResponseConfigSignature
- WebhookPut200Response
- WebhookPut200ResponseSignature
- WebhookPutRequest
- WebhookPutRequestSignature
- WebhookReceive200Response
Documentation For Authorization
Authentication schemes defined for the API:
bearerAuth
- Type: Bearer authentication
Author
Metadata
Release files for originchaindb 0.1.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| originchaindb-0.1.22.tar.gz | 234.6 kB | Without provenance | Details for originchaindb-0.1.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| originchaindb-0.1.22-py3-none-any.whl | Python 3 | none | any | Details for originchaindb-0.1.22-py3-none-any.whl |
Total release size: 732.9 kB
Release files / originchaindb-0.1.22.tar.gz
| Download URL | originchaindb-0.1.22.tar.gz |
|---|---|
| Size | 234.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c1d8cac6a61e2eca21bdd5d20172e9a3d15f423c1ff2b9dcf8452a7d6ae4e3a
|
|
BLAKE2b-256 checksum How to use checksums |
eb3c2ad49a04dced0109ec03beb1e42f8fe601168f63eb5b11072a44660040e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / originchaindb-0.1.22-py3-none-any.whl
| Download URL | originchaindb-0.1.22-py3-none-any.whl |
|---|---|
| Size | 498.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01751e6d81ff607d6e73f487821fe2eb1020652598f5d00e8a8269e18b844bdc
|
|
BLAKE2b-256 checksum How to use checksums |
21359c212b9dfdf9868834cd7fac8fb70f08490c9240368cdf93ab8926f5d8f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Security for originchaindb 0.1.22
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.