# Copy a Google Drive file into the person's Praecise Storage

`POST /workspace/storage/drive/pull` · Rivier · files

Copy a Google Drive file into the person's Praecise Storage.

- Scope: files:write
- Graphql: Mutation.filesStorageDrivePull
- Sdk: files.storage.drivePull
- Cli: files storage drive pull

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "fileId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "name": {
      "type": "string",
      "maxLength": 300
    }
  },
  "required": [
    "fileId"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/workspace/storage/drive/pull' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "fileId": "string"
}'
```
