# Arcadic v4.0.1 - Table of Contents > A lean, framework-agnostic Elixir client for ArcadeDB over the HTTP Cypher command API. ## Pages - [Home](readme.md) - [Arcadic usage rules](usage-rules.md) - [Changelog](changelog.md) - [Contributing to Arcadic](contributing.md) - [Security policy](security.md) - [LICENSE](license.md) - Tutorials - [Getting started with Arcadic](getting_started.md) - [GraphRAG with Arcadic](graphrag.md) - [Operations with Arcadic](operations.md) - [Time-series with Arcadic](timeseries.md) - Topics - [Compatibility](compatibility.md) - [Connections and transports](connections.md) - [Transactions, retries, and read consistency](reliability.md) - [Change delivery and reconciliation](change-delivery.md) - [Time-series precision and delivery](time-series.md) - How-to - [Back up and restore a database](backup-restore.md) - [Load data](load-data.md) - [Run and recover migrations](migrate-schema.md) - [Run statements and inspect their plans](run-statements.md) - [Search text and vectors](search-text-and-vectors.md) - [Stream query results](stream-results.md) - [Upgrade from the Boltx transport](upgrade-bolt.md) - [Upgrade the gRPC transport](upgrade-grpc.md) - [Verify release archives](verify-release.md) ## Modules - [Arcadic.Transport.Bolt.Types](Arcadic.Transport.Bolt.Types.md): Bolt values owned by arcadic. `Bytes` distinguishes binary data from UTF-8 strings. `Structure` preserves a PackStream signature and its fields, including unknown extensions. `Temporal` preserves nanoseconds and the wire epoch/zone without depending on a time zone database. Legacy datetime signatures use local seconds; UTC datetime signatures use UTC seconds, as defined by Bolt. - [Arcadic.Transport.Bolt.Types.Bytes](Arcadic.Transport.Bolt.Types.Bytes.md): A Bolt byte array, distinct from a UTF-8 string. - [Arcadic.Transport.Bolt.Types.Duration](Arcadic.Transport.Bolt.Types.Duration.md): A Bolt duration with calendar months/days and elapsed seconds/nanoseconds. - [Arcadic.Transport.Bolt.Types.Float](Arcadic.Transport.Bolt.Types.Float.md): An IEEE 754 non-finite value, preserved as 64 raw bits. - [Arcadic.Transport.Bolt.Types.Node](Arcadic.Transport.Bolt.Types.Node.md): A Bolt node. - [Arcadic.Transport.Bolt.Types.Path](Arcadic.Transport.Bolt.Types.Path.md): A Bolt path with unique nodes/relationships and signed traversal indices. - [Arcadic.Transport.Bolt.Types.Point](Arcadic.Transport.Bolt.Types.Point.md): A Bolt point. SRIDs: 7203/9157 (Cartesian), 4326/4979 (WGS-84). - [Arcadic.Transport.Bolt.Types.Relationship](Arcadic.Transport.Bolt.Types.Relationship.md): A Bolt relationship. - [Arcadic.Transport.Bolt.Types.Structure](Arcadic.Transport.Bolt.Types.Structure.md): A PackStream structure with a byte signature and ordered fields. - [Arcadic.Transport.Bolt.Types.Temporal](Arcadic.Transport.Bolt.Types.Temporal.md): A lossless Bolt date/time structure; see the Bolt structure semantics. - [Arcadic.Transport.Bolt.Types.UnboundRelationship](Arcadic.Transport.Bolt.Types.UnboundRelationship.md): A relationship in a Bolt path. - Core - [Arcadic](Arcadic.md): Runs queries, writes, and transactions against ArcadeDB from Elixir. HTTP is the default transport. Bolt and gRPC are optional. - [Arcadic.Conn](Arcadic.Conn.md): Connection handle for ArcadeDB — pure data, no process. - [Arcadic.Error](Arcadic.Error.md): A server-returned ArcadeDB error, normalized to a typed `reason`. - [Arcadic.Identifier](Arcadic.Identifier.md): Allowlist validation for identifiers arcadic places into a URL path or a statement (database names, labels, property names). - [Arcadic.Param](Arcadic.Param.md): Constructors for ArcadeDB's typed-JSON param **value-wrappers** — an efficient way to send a byte array or an INT8-quantized vector as a bound parameter instead of a verbose JSON number array. - [Arcadic.Result](Arcadic.Result.md): Normalizes an ArcadeDB statement response into rows or a graph. - [Arcadic.Telemetry](Arcadic.Telemetry.md): Defines the telemetry spans and events emitted by Arcadic. The wrapper checks metadata keys against `allowed_meta_keys/0`. Arcadic does not include statement text, parameters, row values, or database names. - [Arcadic.TransportError](Arcadic.TransportError.md): Represents a connection or protocol failure. The transport supplies the value-free `reason` atom. - Transport - [Arcadic.Transport](Arcadic.Transport.md): Defines the callbacks that carry Arcadic operations over a transport. HTTP, Bolt, and gRPC implement this behavior. - [Arcadic.Transport.Bolt](Arcadic.Transport.Bolt.md): Runs Cypher queries, transactions, and cursors over native Bolt v4. - [Arcadic.Transport.Grpc](Arcadic.Transport.Grpc.md): Executes queries, transactions, and data operations through ArcadeDB's optional gRPC plugin (`GrpcServerPlugin`). - [Arcadic.Transport.Grpc.ChannelPool](Arcadic.Transport.Grpc.ChannelPool.md): Caller-supervised cache of multiplexed HTTP/2 connections for unary `Arcadic.Transport.Grpc` calls. - [Arcadic.Transport.HTTP](Arcadic.Transport.HTTP.md): Runs Arcadic operations over ArcadeDB's HTTP API using Req and Finch. - Schema & data - [Arcadic.Bulk](Arcadic.Bulk.md): Bulk-creates vertices and edges already held by the client. HTTP uses ArcadeDB's NDJSON batch endpoint. gRPC uses its GraphBatchLoad stream. - [Arcadic.Export](Arcadic.Export.md): Server-side database export over ArcadeDB's `EXPORT DATABASE file://` command (symmetric to `Arcadic.Import`). The target is a bare `` written to the server's configured exports directory — a path/traversal character is rejected value-free (ArcadeDB itself rejects a directory in the target: "Export file cannot contain path change"). `with:` settings (e.g. `format: "jsonl"`, `overwrite: true`) reuse `Arcadic.Import`'s no-parens grammar: names `Arcadic.Identifier`-validated, values number/boolean/string (string values charset-allowlisted, injection-inert). Tenant-blind; rejected inputs are omitted from diagnostics. The success row (`operation`/`toUrl`/`totalRecords`/…) is top-level-`@props`-stripped by `Result.normalize` (a shallow `Map.drop` per row — correct because the export row is flat) via `command/4`. - [Arcadic.FullText](Arcadic.FullText.md): ArcadeDB full-text search — tenant-blind `FULL_TEXT` (Lucene) index DDL and `SEARCH_INDEX`/`SEARCH_FIELDS` query builders, parallel to `Arcadic.Vector`. - [Arcadic.Import](Arcadic.Import.md): Bulk load over ArcadeDB's `IMPORT DATABASE` command (imports a CSV / JSON / JSONL / GraphML / Neo4j / OrientDB / ArcadeDB export into `conn.database`, server-side). - [Arcadic.Ingest](Arcadic.Ingest.md): Document bulk-insert into a target class over a transport that supports it (gRPC `BulkInsert`). - [Arcadic.Record](Arcadic.Record.md): Creates, looks up, updates, and deletes records through ArcadeDB's gRPC record API. Use an `@rid` to address an existing record. Lookups return raw property maps. An HTTP or Bolt connection returns `:not_supported`. - [Arcadic.Schema](Arcadic.Schema.md): Read-only introspection of ArcadeDB schema metadata — types, properties, indexes, and buckets — over the SQL `SELECT FROM schema:*` surface (Cypher does not parse it). - [Arcadic.Vector](Arcadic.Vector.md): Creates dense and sparse ArcadeDB vector indexes and runs nearest-neighbor searches. Combine dense, sparse, and full-text results with `fuse/3`. - Migrations - [Arcadic.Migration](Arcadic.Migration.md): Behaviour for an ArcadeDB migration — a versioned pair of forward/backward steps. Migrations are tenant-blind schema changes; author raw DDL/DML via `Arcadic.command/4` in `up/1` and `down/1`. - [Arcadic.MigrationRegistry](Arcadic.MigrationRegistry.md): Declares an ordered list of migration modules. - [Arcadic.MigrationSource](Arcadic.MigrationSource.md): Loads trusted migration files from a directory at runtime, including in a release. - [Arcadic.Migrator](Arcadic.Migrator.md): Runs ordered ArcadeDB migrations and records their state in a durable ledger. - Admin & operations - [Arcadic.Backup](Arcadic.Backup.md): Backup and restore over ArcadeDB. `backup/2` runs `BACKUP DATABASE` on `conn.database` (optional `:to ''` single-quoted target); `list/1` runs `list backups `; `restore/3` runs `restore database `. Tenant-blind. - [Arcadic.Security](Arcadic.Security.md): Server security & auth admin: session login/logout, active sessions, and user/group/API-token management — over ArcadeDB's HTTP admin surface. Reads (`users`/`groups`/`api_tokens`/`sessions`) use the read-only REST endpoints; mutations (`create_user`/`drop_user`) use server commands (the REST paths are read-only — `POST /server/users` → 400). Tenant-blind. - [Arcadic.Server](Arcadic.Server.md): Server-level admin: create/drop/list databases, existence, readiness. Every identifier is allowlist-validated BEFORE any request reaches the wire (fixes the interpolation surface a hand-written `create database ` would open). Returns are tagged tuples — a transport failure is never swallowed into a bare boolean. Not delegated from the `Arcadic` facade: destructive admin stays namespaced. - Events & programmability - [Arcadic.Changes](Arcadic.Changes.md): Live change-events client for ArcadeDB's `/ws` WebSocket feed — arcadic's one caller-supervised process. - [Arcadic.Changes.Event](Arcadic.Changes.Event.md): A single change-feed delivery from `Arcadic.Changes`. - [Arcadic.Function](Arcadic.Function.md): ArcadeDB user-defined functions — tenant-blind `DEFINE FUNCTION` / `DELETE FUNCTION` DDL, parallel to `Arcadic.FullText`/`Arcadic.Geo`. - [Arcadic.Geo](Arcadic.Geo.md): ArcadeDB geospatial index DDL — tenant-blind `GEOSPATIAL` index create/drop, parallel to `Arcadic.FullText`'s single-property form. - [Arcadic.MaterializedView](Arcadic.MaterializedView.md): ArcadeDB materialized views — tenant-blind `CREATE MATERIALIZED VIEW` / `DROP MATERIALIZED VIEW` DDL, parallel to `Arcadic.Function`/`Arcadic.Trigger`/`Arcadic.Geo`. - [Arcadic.Trigger](Arcadic.Trigger.md): ArcadeDB triggers — tenant-blind `CREATE TRIGGER` / `DROP TRIGGER` DDL, parallel to `Arcadic.Function`/`Arcadic.Geo`. - Time-series - [Arcadic.TimeSeries](Arcadic.TimeSeries.md): Manages time-series schema and data in ArcadeDB. It writes InfluxDB line protocol and reads JSON or PromQL results through HTTP. Schema, downsampling, and continuous-aggregate commands use SQL. - Transactions - [Arcadic.Transaction](Arcadic.Transaction.md): Session transactions. `transaction/3` begins a session, runs the fun with a session-scoped conn, and commits on a normal return. On an exception it rolls back and RERAISES (postgrex semantics — unexpected failures propagate, they do not become `{:error, …}`). Use `rollback/2` for an intentional abort that yields `{:error, reason}`. Nesting raises — there is no verified HTTP savepoint contract.