> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modaic.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Security and Compliance

> How Modaic protects your data, what your workspace retains, and how to control access.

Modaic encrypts data in transit with TLS and at rest with its cloud providers. Stored provider API keys have an additional layer of encryption. Modaic never trains on user inputs or question prompts. When you run managed training or instruction optimization, the resulting artifacts belong to your workspace. [Privacy Policy](https://modaic.dev/privacy#training)

## Hosting and subprocessors

Modaic hosts its own models in the United States using compute from Modal, our only inference compute subprocessor. We have a Zero Data Retention agreement with Modal. We do not send inference inputs or question prompts to third-party model APIs or share them with third parties for their own use.

We email affected workspace owners about subprocessor changes. Under the DPA, owners receive seven days’ notice before a new provider handles customer personal data. [Subprocessor list](https://modaic.dev/privacy#sharing) · [Subprocessor change notices](https://modaic.dev/dpa#subprocessors)

## What Modaic retains

Zero Data Retention (ZDR) is enabled by default for every personal and organization workspace, on every plan. What Modaic retains depends on how you use the workspace.

| Workflow | What happens to your data |
| - | - |
| Synchronous inference | With ZDR enabled, Modaic processes inputs and outputs transiently, including images and attached files. This applies to both base and custom models. Billing and operational records can include token counts and other non-content metadata. |
| Example capture | Capture is off by default. Setting `capture: true` on a custom-model request opts that request into standard retention. The model’s sampling rate determines whether the example is saved. |
| Datasets and jobs | Uploaded datasets stay in your workspace until you delete them. Batch inference, instruction optimization, and training retain data, results, or artifacts under their applicable storage terms. Completing a job does not delete its dataset. |

You can review ZDR in **Settings → Account → Inference**. For organization workspaces, only owners and admins can change it. Turning it on leaves previously saved data in place. [Zero Data Retention](https://docs.modaic.dev/docs/api/zero-data-retention.md) · [Delete a dataset](https://docs.modaic.dev/docs/api-reference/datasets/delete-dataset.md)

## Control access

* **Account access.** Two-factor authentication is available on every plan.
* **API access.** Create and revoke keys in Modaic Platform. Give each integration the scopes it needs. For example, listing models requires `read:repository`, while running inference requires `write:repository`. Use an organization key for that organization’s models, datasets, and jobs. [API authentication and scopes](https://docs.modaic.dev/docs/api/authentication.md)

## Compliance and security testing

* **SOC 2 Type II.** Modaic has completed a SOC 2 Type II audit. Scale and Enterprise customers can request the report.
* **HIPAA.** Modaic is HIPAA compliant. If your application handles protected health information (PHI), contact Modaic to review your deployment and business associate agreement (BAA) before sending patient data. [Contact Modaic](https://modaic.dev/contact)
* **Penetration testing.** Modaic regularly conducts penetration tests.

Review Modaic’s security and compliance materials in the [Trust Center](https://trust.modaic.dev). For data processing terms, see the [Data Processing Addendum](https://modaic.dev/dpa).

## Report a vulnerability

To report a suspected vulnerability or ask a security question, email [team@modaic.dev](mailto:team@modaic.dev).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.