---
title: MachService type | Wartiva GraphQL API
description: A service advertisement. Register either by setting enabled to true or by providing options. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/mach-service.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `MachService` type

A service advertisement. Register either by setting `enabled` to true or by providing `options`.

## Fields

| Field Name | Description |
|---|---|
| `name` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Name of the service to advertise. |
| `enabled` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | If true, registers the service name without additional options. |
| `options` - [`MachServiceOptions`](https://wartiva.com/api-docs/types/mach-service-options.html) | Optional service registration options. |

## Used by

- [`SystemServiceMacOS`](https://wartiva.com/api-docs/types/system-service-mac-os.html) type: MacOS-specific attributes for a System Service.

## Example

### Example

```json
{
  "name": "xyz789",
  "enabled": true,
  "options": MachServiceOptions
}

```

---

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