# File

## Extends

- `File`

### agentId?

```ts
optional agentId: string;
```

The id of agent that created the resource

#### Inherited from

```ts
bkper.File.agentId
```

***

### content?

```ts
optional content: string;
```

The file content Base64 encoded

#### Inherited from

```ts
bkper.File.content
```

***

### contentType?

```ts
optional contentType: string;
```

The file content type

#### Inherited from

```ts
bkper.File.contentType
```

***

### createdAt?

```ts
optional createdAt: string;
```

The creation timestamp, in milliseconds

#### Inherited from

```ts
bkper.File.createdAt
```

***

### id?

```ts
optional id: string;
```

The unique id that identifies the file in the book

#### Inherited from

```ts
bkper.File.id
```

***

### name?

```ts
optional name: string;
```

The file name

#### Inherited from

```ts
bkper.File.name
```

***

### properties?

```ts
optional properties: object;
```

The key/value custom properties of the File

#### Index Signature

```ts
[name: string]: string
```

#### Inherited from

```ts
bkper.File.properties
```

***

### size?

```ts
optional size: number;
```

The file size in bytes

#### Inherited from

```ts
bkper.File.size
```

***

### updatedAt?

```ts
optional updatedAt: string;
```

The last update timestamp, in milliseconds

#### Inherited from

```ts
bkper.File.updatedAt
```

***

### url?

```ts
optional url: string;
```

The file serving url

#### Inherited from

```ts
bkper.File.url
```
