> For the complete documentation index, see [llms.txt](https://help.enterprise.ledger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.enterprise.ledger.com/api-documentation-v2/reference/legal.md).

# Legal

## Get the Ledger Enterprise privacy notice

> Returns global Legacy Vault privacy notice content for authenticated users.

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.86.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Authorization not provided error (401)","description":"The error information"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Insufficient access error (403)","description":"The error information"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Internal server error error (500)","description":"The error information"}}},"paths":{"/workspace/legal/privacy-notice":{"get":{"operationId":"legal-getPrivacyNotice","summary":"Get the Ledger Enterprise privacy notice","description":"Returns global Legacy Vault privacy notice content for authenticated users.","tags":["legal"],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Privacy notice title"},"dpoEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"Data Protection Officer contact email"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","enum":["which","how","who","duration","contact"],"description":"Stable section identifier"},"title":{"type":"string","description":"Section title"},"blocks":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"paragraph"},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"Paragraph inline content"}},"required":["type","content"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"list"},"items":{"type":"array","items":{"type":"object","properties":{"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"List item inline content"}},"required":["content"],"additionalProperties":false},"description":"List items"}},"required":["type","items"],"additionalProperties":false}],"type":"object"},"description":"Structured section content"}},"required":["id","title","blocks"],"additionalProperties":false},"description":"Privacy notice sections"}},"required":["title","dpoEmail","sections"],"additionalProperties":false}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}}}
```

## Get the Ledger Enterprise sub-processors list

> Returns global Legacy Vault sub-processors content for authenticated users.

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.86.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Authorization not provided error (401)","description":"The error information"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Insufficient access error (403)","description":"The error information"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Internal server error error (500)","description":"The error information"}}},"paths":{"/workspace/legal/sub-processors":{"get":{"operationId":"legal-getSubProcessors","summary":"Get the Ledger Enterprise sub-processors list","description":"Returns global Legacy Vault sub-processors content for authenticated users.","tags":["legal"],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Sub-processors page title"},"descriptionBlocks":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"paragraph"},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"Paragraph inline content"}},"required":["type","content"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"list"},"items":{"type":"array","items":{"type":"object","properties":{"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"List item inline content"}},"required":["content"],"additionalProperties":false},"description":"List items"}},"required":["type","items"],"additionalProperties":false}],"type":"object"},"description":"Structured sub-processors page description"},"subscriptionUrl":{"type":"string","format":"uri","description":"URL to subscribe to sub-processor updates"},"objectionEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"Email address for written objections"},"lastUpdatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date when the global sub-processor list was last updated"},"subProcessors":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string","description":"Sub-processor legal entity"},"purpose":{"type":"string","description":"Processing purpose"},"dataLocation":{"type":"string","description":"Personal data location"},"transferBasis":{"type":"string","description":"Transfer mechanism or N/A"}},"required":["entity","purpose","dataLocation","transferBasis"],"additionalProperties":false},"description":"Sub-processor rows"}},"required":["title","descriptionBlocks","subscriptionUrl","objectionEmail","lastUpdatedAt","subProcessors"],"additionalProperties":false}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.enterprise.ledger.com/api-documentation-v2/reference/legal.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
