# Restore Company Documents

GraphQL endpoint: `/company`

Restores documents from the calling company's trash. A restored document returns to the repository root with its tags and summary intact.

## Query

```graphql
mutation ($ids: [ID!]!) {
  restoreCompanyDocuments(ids: $ids) {
    status
    count
  }
}

```

## Variables

```json
{
  "ids": [
    "00000000-0000-4000-8000-000000000001"
  ]
}
```

## Response

```json
{
  "data": {
    "restoreCompanyDocuments": {
      "count": 1,
      "status": "OK"
    }
  }
}
```
