---
title: Duration scalar | Wartiva GraphQL API
description: A time duration in nanoseconds formatted as a signed 64-bit integer. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/duration.html
updated: 2026-10-07
---

General · GraphQL scalar

# `Duration` scalar

A time duration in nanoseconds formatted as a signed 64-bit integer.

## Used by

- [`PathSensor`](https://wartiva.com/api-docs/types/path-sensor.html) type: An organization-wide instruction telling endpoints to collect file metadata under one filesystem path.
- [`AccountLockoutPolicy`](https://wartiva.com/api-docs/types/account-lockout-policy.html) type: Defines the account lockout settings for user accounts.
- [`ActiveDirectoryConnectionSettings`](https://wartiva.com/api-docs/types/active-directory-connection-settings.html) type: Network connection and security settings for Active Directory.
- [`AuditExpireAfter`](https://wartiva.com/api-docs/types/audit-expire-after.html) type: Expiration policy for audit trail files, corresponding to the expire-after parameter in audit_control(5).
- [`ComputerAdministrativeTemplates`](https://wartiva.com/api-docs/types/computer-administrative-templates.html) type: Computer-specific Administrative Templates (ADMX) settings on an Endpoint.
- [`ConntrackMTInformation`](https://wartiva.com/api-docs/types/conntrack-mt-information.html) type: ConntrackMTInformation represents the xt_conntrack (or xt_state for older kernels) iptables match module information.
- [`CpuTimesStat`](https://wartiva.com/api-docs/types/cpu-times-stat.html) type: Represents CPU time statistics for a specific CPU or thread.
- [`CreatePathSensorInput`](https://wartiva.com/api-docs/types/create-path-sensor-input.html) input: Input for creating a new PathSensor.
- [`DiskIoStat`](https://wartiva.com/api-docs/types/disk-io-stat.html) type: Disk I/O statistics for a physical disk.
- [`DynsetExpression`](https://wartiva.com/api-docs/types/dynset-expression.html) type: Dynset represents an nftables dynamic set expression.
- [`LocalInteractiveLogonPolicy`](https://wartiva.com/api-docs/types/local-interactive-logon-policy.html) type: Defines settings that control the local interactive logon experience, security behavior, and displayed information on Windows systems.
- [`MDNSService`](https://wartiva.com/api-docs/types/mdns-service.html) type: A discovered MDNS service.
- [`MicrosoftNetworkServerPolicy`](https://wartiva.com/api-docs/types/microsoft-network-server-policy.html) type: Manages SMB server network settings for authentication, signing, and session timeouts on Windows systems.
- [`PowerSourceSettings`](https://wartiva.com/api-docs/types/power-source-settings.html) type: Power source settings controlling sleep timers, hibernation, wake behavior, and energy efficiency options for a given power source.
- [`Set`](https://wartiva.com/api-docs/types/set.html) type: Set represents an nftables set object.
- [`SudoConfig`](https://wartiva.com/api-docs/types/sudo-config.html) type: Parsed sudo configuration from the sudo -V output.
- [`SystemServiceLinux`](https://wartiva.com/api-docs/types/system-service-linux.html) type: Linux-specific attributes for a System Service (systemd).
- [`SystemServiceMacOS`](https://wartiva.com/api-docs/types/system-service-mac-os.html) type: MacOS-specific attributes for a System Service.
- [`SystemServiceWindows`](https://wartiva.com/api-docs/types/system-service-windows.html) type: Windows-specific attributes for a System Service.
- [`SystemSettingsMacOS`](https://wartiva.com/api-docs/types/system-settings-mac-os.html) type: macOS-specific system settings including power management, privacy permissions, backup configuration, and security settings.
- [`UpdatePathSensorInput`](https://wartiva.com/api-docs/types/update-path-sensor-input.html) input: Input for updating an existing PathSensor.
- [`UserSystemSettingsMacOS`](https://wartiva.com/api-docs/types/user-system-settings-mac-os.html) type: macOS-specific per-user system settings read from the user's own preference domains (~/Library/Preferences) and local account record, covering…

## Example

### Example

```json
"600000000"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
