ArangoDB v4.x is under development and not released yet.
This documentation is not final and potentially incomplete.
Administration HTTP API
You can get information about ArangoDB servers, toggle the maintenance mode, shut down server nodes, and start actions like compaction
Information
Get the server version
details boolean (default:
false)If set to
trueand if the user account you authenticate with has administrate access to the_systemdatabase, the response contains adetailsattribute with additional information about included components and their versions. The attribute names and internals of thedetailsobject may vary depending on platform and ArangoDB version.
Examples
Return the version information
curl --header 'accept: application/json' --dump - http://localhost:8529/_api/versionShow output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 78
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"server" : "arango",
"license" : "enterprise",
"version" : "3.12.0-nightly.20240305"
}Return the version information with details
curl --header 'accept: application/json' --dump - http://localhost:8529/_api/version?details=trueShow output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 1689
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"server" : "arango",
"license" : "enterprise",
"version" : "3.12.0-nightly.20240305",
"details" : {
"architecture" : "64bit",
"arm" : "false",
"asan" : "false",
"assertions" : "false",
"avx" : "true",
"avx2" : "false",
"boost-version" : "1.78.0",
"build-date" : "OFF",
"build-id" : "944ae87f180ccec0fabe78f549bf43202100e001",
"build-repository" : "refs/head/3.12 9b0f5c5d58c",
"compiler" : "clang [Ubuntu Clang 16.0.6 (15)]",
"coverage" : "false",
"cplusplus" : "202002",
"curl-version" : "none",
"debug" : "false",
"endianness" : "little",
"enterprise-build-repository" : "refs/head/3.12 734205bb",
"enterprise-version" : "enterprise",
"failure-tests" : "false",
"fd-client-event-handler" : "poll",
"fd-setsize" : "1024",
"full-version-string" : "ArangoDB 3.12.0-nightly.20240305 enterprise [linux] 64bit, using jemalloc, build refs/head/3.12 9b0f5c5d58c, VPack 0.2.1, RocksDB 7.2.0, ICU 73.1, V8 12.1.165, OpenSSL 3.2.1 30 Jan 2024",
"icu-version" : "73.1",
"ipo" : "true",
"iresearch-version" : "1.3.0.0",
"jemalloc" : "true",
"libunwind" : "true",
"license" : "enterprise",
"maintainer-mode" : "false",
"memory-profiler" : "true",
"ndebug" : "true",
"openssl-version-compile-time" : "OpenSSL 3.2.1 30 Jan 2024",
"openssl-version-run-time" : "OpenSSL 3.2.1 30 Jan 2024",
"optimization-flags" : "-mfxsr -mmmx -msse -msse2 -mcx16 -msahf -mpopcnt -msse3 -msse4.1 -msse4.2 -mssse3 -mpclmul -mavx -mxsave",
"pic" : "2",
"pie" : "2",
"platform" : "linux",
"reactor-type" : "epoll",
"replication2-enabled" : "false",
"rocksdb-version" : "7.2.0",
"server-version" : "3.12.0-nightly.20240305",
"sizeof int" : "4",
"sizeof long" : "8",
"sizeof void*" : "8",
"sse42" : "true",
"tsan" : "false",
"unaligned-access" : "false",
"v8-version" : "12.1.165",
"vpack-version" : "0.2.1",
"zlib-version" : "1.2.13",
"mode" : "server",
"role" : "SINGLE",
"host" : "localhost"
}
}Get the storage engine type
Examples
Return the active storage engine:
curl --header 'accept: application/json' --dump - http://localhost:8529/_api/engineShow output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 245
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"name" : "rocksdb",
"supports" : {
"indexes" : [
"primary",
"edge",
"hash",
"skiplist",
"ttl",
"persistent",
"geo",
"fulltext",
"mdi",
"mdi-prefixed",
"inverted"
],
"aliases" : {
"indexes" : {
"hash" : "persistent",
"skiplist" : "persistent",
"zkd" : "mdi"
}
}
},
"endianness" : "big"
}Get the storage engine statistics
Get the system time
time attribute. This contains the
current system time as a Unix timestamp with microsecond precision.Get server status information
200 OK
Status information was returned successfully.
serverInfo object
Information about the server status.
progress object
Startup and recovery information.
You can check for changes to determine whether progress was made between two calls, but you should not rely on specific values as they may change between ArangoDB versions. The values are only expected to change during the startup and shutdown, i.e. while
maintenanceistrue.You need to start arangod with the
--server.early-connectionsstartup option enabled to be able to query the endpoint during the startup process. If authentication is enabled, then you need to use the super-user JWT for the request because the user management is not available during the startup.
Response Body application/json object
Examples
curl --header 'accept: application/json' --dump - http://localhost:8529/_admin/statusShow output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 726
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"server" : "arango",
"version" : "3.12.0-nightly.20240305",
"pid" : 230,
"license" : "enterprise",
"mode" : "server",
"operationMode" : "server",
"foxxApi" : true,
"host" : "localhost",
"hostname" : "b375e6be5d10",
"serverInfo" : {
"progress" : {
"phase" : "in wait",
"feature" : "",
"recoveryTick" : 0
},
"maintenance" : false,
"role" : "COORDINATOR",
"writeOpsEnabled" : true,
"readOnly" : false,
"persistedId" : "CRDN-085d1776-5a95-496c-9b09-7382e9db7327",
"rebootId" : 1,
"address" : "tcp://localhost:8529",
"serverId" : "CRDN-085d1776-5a95-496c-9b09-7382e9db7327",
"state" : "SERVING"
},
"coordinator" : {
"foxxmaster" : "CRDN-7c96e96b-2f14-42ca-98d7-5595548c4649",
"isFoxxmaster" : false
},
"agency" : {
"agencyComm" : {
"endpoints" : [
"tcp://localhost:8541",
"tcp://localhost:8551",
"tcp://localhost:8531"
]
}
}
}Return whether or not a server is available
Return availability information about a server.
The response is a JSON object with an attribute “mode”. The “mode” can either be “readonly”, if the server is in read-only mode, or “default”, if it is not. Please note that the JSON object with “mode” is only returned in case the server does not respond with HTTP response code 503.
This is a public API so it does not require authentication. It is meant to be used only in the context of server monitoring.
503 Service Unavailable
HTTP 503 will be returned during startup and shutdown, and in case the server is set to read-only mode.
In addition, HTTP 503 will be returned in case the fill grade of the scheduler queue exceeds the configured high-water mark (adjustable via startup option
--server.unavailability-queue-fill-grade), which by default is set to 75 % of the maximum queue length.
Get information about the deployment
Retrieves deployment information for support purposes. The endpoint returns data about the ArangoDB version used, the host (operating system, server ID, CPU and storage capacity, current utilization, a few metrics) and the other servers in the deployment (in case of cluster deployments).
As this API may reveal sensitive data about the deployment, it can only be
accessed from inside the _system database. In addition, there is a policy
control startup option --server.support-info-api that controls if and to whom
the API is made available.
200 OK
deployment object
An object with at least a
typeattribute, indicating the deployment mode.In case of a
"single"server, additional information is provided in the top-levelhostattribute.In case of a
"cluster", there is aserversobject that contains a nested object for each Coordinator and DB-Server, using the server ID as key. Each object holds information about the ArangoDB instance as well as the host machine. There are additional attributes for the number ofagents,coordinators,dbServers, andshards.
Response Body application/json object
Examples
Query support information from a single server
curl --header 'accept: application/json' --dump - 'http://localhost:8529/_db/_system/_admin/support-info'Show output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 1200
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"deployment" : {
"type" : "single"
},
"host" : {
"role" : "SINGLE",
"maintenance" : false,
"readOnly" : false,
"version" : "3.12.5-nightly.20250419",
"build" : "refs/head/3.12 2624a86a2e6",
"license" : "enterprise",
"os" : "Linux version 6.8.0-1019-aws (buildd@lcy02-amd64-058) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 7 17:33:30 UTC 2024",
"platform" : "linux",
"physicalMemory" : {
"value" : 33089757184,
"overridden" : false
},
"numberOfCores" : {
"value" : 8,
"overridden" : false
},
"processStats" : {
"processUptime" : 171.0257532596588,
"numberOfThreads" : 72,
"virtualSize" : 2574700544,
"residentSetSize" : 238465024,
"fileDescrtors" : 29,
"fileDescrtorsLimit" : 1048576
},
"cpuStats" : {
"userPercent" : 14.020245071923283,
"systemPercent" : 7.037187000532765,
"idlePercent" : 75.82567927543953,
"iowaitPercent" : 2.7980820458177944
},
"engineStats" : {
"cache.limit" : 7735568384,
"cache.allocated" : 1281056,
"rocksdb.estimate-num-keys" : 1654,
"rocksdb.estimate-live-data-size" : 0,
"rocksdb.live-sst-files-size" : 0,
"rocksdb.block-cache-capacity" : 9282682060,
"rocksdb.block-cache-usage" : 96,
"rocksdb.free-disk-space" : 135842553856,
"rocksdb.total-disk-space" : 155897610240
}
},
"date" : "2025-04-25T14:55:31Z"
}Query support information from a cluster
curl --header 'accept: application/json' --dump - 'http://localhost:8529/_db/_system/_admin/support-info'Show output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 6980
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"deployment" : {
"type" : "cluster",
"servers" : {
"CRDN-a6266e75-0d92-4cff-9fe1-8a15761f64e5" : {
"id" : "CRDN-a6266e75-0d92-4cff-9fe1-8a15761f64e5",
"alias" : "Coordinator0002",
"endpoint" : "tcp://localhost:8529",
"role" : "COORDINATOR",
"maintenance" : false,
"readOnly" : false,
"version" : "3.12.5-nightly.20250419",
"build" : "refs/head/3.12 2624a86a2e6",
"license" : "enterprise",
"os" : "Linux version 6.8.0-1019-aws (buildd@lcy02-amd64-058) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 7 17:33:30 UTC 2024",
"platform" : "linux",
"physicalMemory" : {
"value" : 33089757184,
"overridden" : false
},
"numberOfCores" : {
"value" : 8,
"overridden" : false
},
"processStats" : {
"processUptime" : 170.92322444915771,
"numberOfThreads" : 48,
"virtualSize" : 2240577536,
"residentSetSize" : 126996480,
"fileDescrtors" : 42,
"fileDescrtorsLimit" : 1048576
},
"cpuStats" : {
"userPercent" : 14.034408199400708,
"systemPercent" : 7.042529283573958,
"idlePercent" : 75.79848815036775,
"iowaitPercent" : 2.8057749931898663
}
},
"CRDN-c0f10e91-835d-45f7-aeca-d782bb65e1ab" : {
"id" : "CRDN-c0f10e91-835d-45f7-aeca-d782bb65e1ab",
"alias" : "Coordinator0003",
"endpoint" : "tcp://localhost:8549",
"role" : "COORDINATOR",
"maintenance" : false,
"readOnly" : false,
"version" : "3.12.5-nightly.20250419",
"build" : "refs/head/3.12 2624a86a2e6",
"license" : "enterprise",
"os" : "Linux version 6.8.0-1019-aws (buildd@lcy02-amd64-058) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 7 17:33:30 UTC 2024",
"platform" : "linux",
"physicalMemory" : {
"value" : 33089757184,
"overridden" : false
},
"numberOfCores" : {
"value" : 8,
"overridden" : false
},
"processStats" : {
"processUptime" : 171.83917713165283,
"numberOfThreads" : 48,
"virtualSize" : 2247917568,
"residentSetSize" : 125345792,
"fileDescrtors" : 40,
"fileDescrtorsLimit" : 1048576
},
"cpuStats" : {
"userPercent" : 14.034774096065037,
"systemPercent" : 7.042499308348763,
"idlePercent" : 75.79816552810232,
"iowaitPercent" : 2.8057630509268128
}
},
"PRMR-39e7f402-a7d3-4a45-bed0-6942368b7e29" : {
"id" : "PRMR-39e7f402-a7d3-4a45-bed0-6942368b7e29",
"alias" : "DBServer0002",
"endpoint" : "tcp://localhost:8540",
"role" : "PRIMARY",
"maintenance" : false,
"readOnly" : false,
"version" : "3.12.5-nightly.20250419",
"build" : "refs/head/3.12 2624a86a2e6",
"license" : "enterprise",
"os" : "Linux version 6.8.0-1019-aws (buildd@lcy02-amd64-058) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 7 17:33:30 UTC 2024",
"platform" : "linux",
"physicalMemory" : {
"value" : 33089757184,
"overridden" : false
},
"numberOfCores" : {
"value" : 8,
"overridden" : false
},
"processStats" : {
"processUptime" : 171.8409948348999,
"numberOfThreads" : 77,
"virtualSize" : 2089103360,
"residentSetSize" : 177307648,
"fileDescrtors" : 62,
"fileDescrtorsLimit" : 1048576
},
"cpuStats" : {
"userPercent" : 14.034714359895466,
"systemPercent" : 7.042894963097903,
"idlePercent" : 75.79784290858325,
"iowaitPercent" : 2.8057511087654183
},
"engineStats" : {
"cache.limit" : 7735568384,
"cache.allocated" : 1082864,
"rocksdb.estimate-num-keys" : 574,
"rocksdb.estimate-live-data-size" : 0,
"rocksdb.live-sst-files-size" : 0,
"rocksdb.block-cache-capacity" : 9282682060,
"rocksdb.block-cache-usage" : 96,
"rocksdb.free-disk-space" : 135842390016,
"rocksdb.total-disk-space" : 155897610240
}
},
"PRMR-53e7543a-e342-45dd-8541-cd9876a525e3" : {
"id" : "PRMR-53e7543a-e342-45dd-8541-cd9876a525e3",
"alias" : "DBServer0001",
"endpoint" : "tcp://localhost:8550",
"role" : "PRIMARY",
"maintenance" : false,
"readOnly" : false,
"version" : "3.12.5-nightly.20250419",
"build" : "refs/head/3.12 2624a86a2e6",
"license" : "enterprise",
"os" : "Linux version 6.8.0-1019-aws (buildd@lcy02-amd64-058) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 7 17:33:30 UTC 2024",
"platform" : "linux",
"physicalMemory" : {
"value" : 33089757184,
"overridden" : false
},
"numberOfCores" : {
"value" : 8,
"overridden" : false
},
"processStats" : {
"processUptime" : 172.85408926010132,
"numberOfThreads" : 77,
"virtualSize" : 2067083264,
"residentSetSize" : 172011520,
"fileDescrtors" : 58,
"fileDescrtorsLimit" : 1048576
},
"cpuStats" : {
"userPercent" : 14.034774096065037,
"systemPercent" : 7.042499308348763,
"idlePercent" : 75.79816552810232,
"iowaitPercent" : 2.8057630509268128
},
"engineStats" : {
"cache.limit" : 7735568384,
"cache.allocated" : 1082864,
"rocksdb.estimate-num-keys" : 59,
"rocksdb.estimate-live-data-size" : 0,
"rocksdb.live-sst-files-size" : 0,
"rocksdb.block-cache-capacity" : 9282682060,
"rocksdb.block-cache-usage" : 96,
"rocksdb.free-disk-space" : 135842390016,
"rocksdb.total-disk-space" : 155897610240
}
},
"PRMR-36a49129-c2b9-4f2c-b0e8-1ae45bbd925b" : {
"id" : "PRMR-36a49129-c2b9-4f2c-b0e8-1ae45bbd925b",
"alias" : "DBServer0003",
"endpoint" : "tcp://localhost:8530",
"role" : "PRIMARY",
"maintenance" : false,
"readOnly" : false,
"version" : "3.12.5-nightly.20250419",
"build" : "refs/head/3.12 2624a86a2e6",
"license" : "enterprise",
"os" : "Linux version 6.8.0-1019-aws (buildd@lcy02-amd64-058) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 7 17:33:30 UTC 2024",
"platform" : "linux",
"physicalMemory" : {
"value" : 33089757184,
"overridden" : false
},
"numberOfCores" : {
"value" : 8,
"overridden" : false
},
"processStats" : {
"processUptime" : 171.94052696228027,
"numberOfThreads" : 77,
"virtualSize" : 2072326144,
"residentSetSize" : 174235648,
"fileDescrtors" : 62,
"fileDescrtorsLimit" : 1048576
},
"cpuStats" : {
"userPercent" : 14.034774096065037,
"systemPercent" : 7.042499308348763,
"idlePercent" : 75.79816552810232,
"iowaitPercent" : 2.8057630509268128
},
"engineStats" : {
"cache.limit" : 7735568384,
"cache.allocated" : 1082864,
"rocksdb.estimate-num-keys" : 506,
"rocksdb.estimate-live-data-size" : 0,
"rocksdb.live-sst-files-size" : 0,
"rocksdb.block-cache-capacity" : 9282682060,
"rocksdb.block-cache-usage" : 96,
"rocksdb.free-disk-space" : 135842390016,
"rocksdb.total-disk-space" : 155897610240
}
},
"CRDN-771dff78-4131-450a-a428-5ac6dd855a5f" : {
"id" : "CRDN-771dff78-4131-450a-a428-5ac6dd855a5f",
"alias" : "Coordinator0001",
"endpoint" : "tcp://localhost:8539",
"role" : "COORDINATOR",
"maintenance" : false,
"readOnly" : false,
"version" : "3.12.5-nightly.20250419",
"build" : "refs/head/3.12 2624a86a2e6",
"license" : "enterprise",
"os" : "Linux version 6.8.0-1019-aws (buildd@lcy02-amd64-058) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP Thu Nov 7 17:33:30 UTC 2024",
"platform" : "linux",
"physicalMemory" : {
"value" : 33089757184,
"overridden" : false
},
"numberOfCores" : {
"value" : 8,
"overridden" : false
},
"processStats" : {
"processUptime" : 170.8470380306244,
"numberOfThreads" : 48,
"virtualSize" : 2235072512,
"residentSetSize" : 126971904,
"fileDescrtors" : 40,
"fileDescrtorsLimit" : 1048576
},
"cpuStats" : {
"userPercent" : 14.034774096065037,
"systemPercent" : 7.042499308348763,
"idlePercent" : 75.79816552810232,
"iowaitPercent" : 2.8057630509268128
}
}
},
"agents" : 3,
"coordinators" : 3,
"dbServers" : 3,
"shards" : {
"databases" : 1,
"collections" : 16,
"shards" : 28,
"leaders" : 16,
"realLeaders" : 5,
"followers" : 12,
"servers" : 3
}
},
"date" : "2025-04-25T14:55:32Z"
}Startup options
The permissions required to use the /_admin/options and /_admin/options-description
endpoints depend on the setting of the
--server.options-api startup option.
The /_admin/options-public endpoint is always available to any authenticated user
with read access to a database and is not affected by that setting.
Get the startup option configuration
Return the effective configuration of the queried arangod instance as set by startup options on the command-line and via a configuration file.
The endpoint can only be accessed via the _system database. In addition, the
--server.options-api startup option
controls the required privileges to access the option endpoints and allows
you to disable them entirely. The option can have the following values:
disabled: This endpoint is disabled.jwt: This endpoint can only be accessed using a superuser JWT (default).admin: This endpoint can only be accessed by users with write access to the_systemdatabase.public: Every user with read access to the_systemdatabase can access this endpoint.
401 Unauthorized
You tried to authenticate with user credentials but a superuser token created from the JWT secret is required (
--server.options-apiset tojwt), you lack read access to the_systemdatabase (--server.options-apiset topublic), the credentials are wrong, or the user account is inactive.Response Body application/json object
Get the available startup options
Return the startup options available to configure the queried arangod
instance, similar to the --dump-options startup option.
The endpoint can only be accessed via the _system database. In addition, the
--server.options-api startup option
controls the required privileges to access the option endpoints and allows
you to disable them entirely. The option can have the following values:
disabled: This endpoint is disabled.jwt: This endpoint can only be accessed using a superuser JWT (default).admin: This endpoint can only be accessed by users with write access to the_systemdatabase.public: Every user with read access to the_systemdatabase can access this endpoint.
200 OK
An object with startup option names as keys and sub-objects as values. The structure of each sub-object is as follows:
section(string): The part before the dot of a startup option (--section.param), or""if it is a general option that doesn’t belong to a sectiondescription(string): A succinct explanation of the startup optionlongDescription(string, optional): Additional details about the startup option if availablecategory(string): Either"option"for regular options or"command"if using the option performs an action and then terminates the processhidden(boolean): Whether the option is uncommon. If yes, then the--helpcommand does not list it, but--help-alllists every startup optiontype(string): the data type of the option, typically one of"uint64","uint32","int64","int32","double","boolean","string","string..."experimental(boolean): Whether the option relates to a feature that is not ready for production yetobsolete(boolean): Whether the option has been deprecated and no effect anymoreenterpriseOnly(boolean): Whether the option is implemented in the non-public enterprise code.requiresValue(boolean): Whether the option can be specified without a value to enable itos(array of strings): The operating systems the startup option is supported on, always["linux"]component(array of strings): A list of server roles the startup option is available on. If it is supported by all cluster node types as well as the single server deployment mode, then the value is["coordinator", "dbserver", "agent", "single"]introducedIn(array of strings|null): A list of versions the startup option has been added in. Does not include later minor and major versions then the current version, and the information may get removed once all listed versions reach their end of lifedeprecatedIn(array of strings|null): A list of versions the startup option has been marked for deprecation in. It can still be used until fully removed. Does not include later minor and major versions then the current version, and the information may get removed once all listed versions reach their end of lifevalues(string, optional): A description of the possible values you can setdefault(any, optional): The standard value if the option is not setdynamic(boolean): Whether the default value is calculated based on the target host configuration, e.g. available memoryrequired(boolean): Whether the option must be specifiedbase(number, optional): the unit for a numeric optionminValue(number, optional): The minimum value for a numeric optionmaxValue(number, optional): The maximum value for a numeric optionminInclusive(boolean, optional): Whether the minimum value is included in the allowed value rangemaxInclusive(boolean, optional): Whether the maximum value is included in the allowed value range
Response Body application/json object
Get the public startup option configuration
Return a small, curated subset of the configured server startup options that are safe to expose to any authenticated user with read access to the requested database.
Administrative tools can use this endpoint to adapt their behavior to the server
configuration. For example, they can show the valid range for replicationFactor
when creating a collection, or respect --database.extended-names when
validating names on the client-side.
This endpoint is available regardless of the
--server.options-api startup option
setting, so that the Arango Contextual Data Platform web interface for
instance can always access the public options.
Server mode
Return whether or not a server is in read-only mode
Return mode information about a server. The json response will contain
a field mode with the value readonly or default. In a read-only server
all write operations will fail with an error code of 1004 (ERROR_READ_ONLY).
Creating or dropping of databases and collections will also fail with error code 11 (ERROR_FORBIDDEN).
This API requires authentication.
Set the server mode to read-only or default
Update mode information about a server. The JSON response will contain
a field mode with the value readonly or default. In a read-only server
all write operations will fail with an error code of 1004 (ERROR_READ_ONLY).
Creating or dropping of databases and collections will also fail with error
code 11 (ERROR_FORBIDDEN).
This is a protected API. It requires authentication and administrative server rights.
License
The endpoints for license management allow you to view the current license status and update the license of your ArangoDB Enterprise Edition deployment.
Get information about the current license
View the license information and status of the ArangoDB deployment.
Can be called on single servers, Coordinators, and DB-Servers.
200 OK
Returns the license information.
diskUsage object, optional
Information about the dataset size limit if you use the Community Edition.
This attribute is not present if an Enterprise Edition license is applied.
status string
Possible values:
"good","limit-reached","read-only","shutdown"The state of your Community Edition deployment with regard to the dataset size limit at a glance.
good: The dataset size of your deployment is below the 100 GiB limit.limit-reached: Your deployment exceeds the size limit and you have two days to bring the deployment back below 100 GiB. Consider acquiring an Enterprise Edition license to lift the limit.read-only: Your deployment is in read-only mode because it exceeded the size limit for two days. All read operations to the instance keep functioning for two more days. However, no data or data definition changes can be made.shutdown: The server shuts down after two days of read-only mode.
status string, optional
Possible values:
"good","expiring","read-only"The
statusattribute allows you to confirm the state of the applied license at a glance.good: The license is still valid for more than a week.expiring: The license is valid for less than a week. This status is not applicable if you use license activation (managed license, from v3.12.6 onward) rather than a license key, in which case the transition is directly fromgoodtoread-onlywhen the activation expires.read-only: The license has expired. The instance is now restricted to read-only mode.
This attribute is only present if an Enterprise Edition license is applied.
Example:
"good"
Response Body application/json object
Examples
curl --header 'accept: application/json' --dump - 'http://localhost:8529/_admin/license'Show output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 181
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"upgrading" : false,
"diskUsage" : {
"bytesUsed" : 263017,
"bytesLimit" : 107374182400,
"limitReached" : false,
"secondsUntilReadOnly" : 315569520,
"secondsUntilShutDown" : 315569520,
"status" : "good"
}
}Set a new license
- The request body has to contain the Base64-encoded license string wrapped in double quotes.
Example: "eyJncmFudCI6...(Base64-encoded license string)..."
Examples
curl --header 'accept: application/json' --dump - --data '"eyJncmFudCI6...(Base64-encoded license string)..."' -X PUT http://localhost:8529/_admin/license
Show output
HTTP/1.1 201 Created
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 37
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
"result": {
"error": false,
"code": 201
}
}
Get the deployment ID
Introduced in: v3.12.6
Examples
curl --header 'accept: application/json' --dump - http://localhost:8529/_admin/deployment/id
Show output
HTTP/1.1 200 OK
X-Arango-Queue-Time-Seconds: 0.000000
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Expires: 0
Pragma: no-cache
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
Content-Security-Policy: frame-ancestors 'self'; form-action 'self';
X-Content-Type-Options: nosniff
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 45
{"id":"6172616e-676f-4000-0000-9396df268f7f"}
Crash dump management
List crash dumps
Introduced in: v3.12.8
Return the list of crash dump directory identifiers (UUIDs).
When the server crashes, the crash handler writes diagnostic data into
a per-crash directory under <database-directory>/crashes/<uuid>/.
Each dump includes information such as recent API calls and AQL queries,
a backtrace, and system information.
The server keeps the most recent 10 crash dumps. Older ones are removed during startup.
This endpoint requires administrate access to the _system database.
503 Service Unavailable
The crash handler feature is not ready or has been disabled via the
--crash-handler.enable-dumpsstartup option.Response Body application/json object
Get a crash dump
Introduced in: v3.12.8
Return the contents of a specific crash dump. The response includes all
files from the crash directory (e.g. backtrace.txt, system_info.txt,
ApiRecording.json, AsyncRegistry.json) as an object mapping filenames
to their contents. Crash dumps are stored under
<database-directory>/crashes/<uuid>/.
This endpoint requires administrate access to the _system database.
503 Service Unavailable
The crash handler feature is not ready or has been disabled via the
--crash-handler.enable-dumpsstartup option.Response Body application/json object
Delete a crash dump
Introduced in: v3.12.8
Delete a specific crash dump directory and its contents. Crash dumps are
stored under <database-directory>/crashes/<uuid>/. The server keeps the
most recent 10 crash dumps. Older ones are removed during startup.
This endpoint requires administrate access to the _system database.
503 Service Unavailable
The crash handler feature is not ready or has been disabled via the
--crash-handler.enable-dumpsstartup option.Response Body application/json object
Shutdown
Start the shutdown sequence
soft boolean (default:
false)If set to
true, this initiates a soft shutdown. This is only available on Coordinators. When issued, the Coordinator tracks a number of ongoing operations, waits until all have finished, and then shuts itself down normally. It will still accept new operations.This feature can be used to make restart operations of Coordinators less intrusive for clients. It is designed for setups with a load balancer in front of Coordinators. Remove the designated Coordinator from the load balancer before issuing the soft-shutdown. The remaining Coordinators will internally forward requests that need to be handled by the designated Coordinator. All other requests will be handled by the remaining Coordinators, reducing the designated Coordinator’s load.
The following types of operations are tracked:
- AQL cursors (in particular streaming cursors)
- Transactions (in particular stream transactions)
- Ongoing asynchronous requests (using the
x-arango-async: storeHTTP header) - Finished asynchronous requests, whose result has not yet been collected
- Queued low priority requests (most normal requests)
- Ongoing low priority requests
Query the soft shutdown progress
This call reports progress about a soft Coordinator shutdown (see
documentation of DELETE /_admin/shutdown?soft=true).
In this case, the following types of operations are tracked:
- AQL cursors (in particular streaming cursors)
- Transactions (in particular stream transactions)
- Ongoing asynchronous requests (using the
x-arango-async: storeHTTP header) - Finished asynchronous requests, whose result has not yet been collected
- Queued low priority requests (most normal requests)
- Ongoing low priority requests
This API is only available on Coordinators.
Miscellaneous actions
Compact all databases
This endpoint can be used to reclaim disk space after substantial data deletions have taken place, by compacting the entire database system data.
The endpoint requires superuser access.
Examples
curl -X PUT --header 'accept: application/json' --dump - http://localhost:8529/_admin/compactShow output
HTTP/1.1 200 OK
content-type: application/json
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0
connection: Keep-Alive
content-length: 2
content-security-policy: frame-ancestors 'self'; form-action 'self';
expires: 0
pragma: no-cache
server: ArangoDB
strict-transport-security: max-age=31536000 ; includeSubDomains
x-arango-queue-time-seconds: 0.000000
x-content-type-options: nosniff
{
}