---
updatedAt: 2026-04-01T06:48:39.000Z
agentTools:
  projectIndex: https://documentation.picsellia.com/llms.txt
---

# Artifact

#

# *Properties*

* `connexion` deprecated

***

***

* `url` Url
  This is generated by backend and expires after 1 hour. So this property might be out of date.
  Calling `sync()` method will retrieve a new url when expired.

***

* `id` Id

***

* `object_name` Object name

***

* `filename` Filename

***

***

* `large` If true, this (Object) has a large size

* `filename` Filename of this (Artifact)

* `large` If true, this (Artifact) has a large size

* `name`

* `object_name`

***

# *Methods*

## reset\_url

```python
reset_url()
```

**Description**

Reset url of this object

***

## download

```python
download(
   target_path: (str|Path) = './', force_replace: bool = False, use_id: bool = False
)
```

**Description**

Download this object into given target\_path

**Examples**

```python
data = clt.get_datalake().list_data(limit=1)
data.download('./data/')
```

**Arguments**

* *target\_path* (str, optional) : Target path where data will be downloaded. Defaults to './'.

* *force\_replace* (bool, optional) : Replace an existing file if exists. Defaults to False.

* *use\_id* (bool, optional) : If true, will download file with id and extension as file name. Defaults to False.

***

## reset\_url

```python
reset_url()
```

**Description**

Reset url property of this Artifact by calling platform.

**Returns**

A url as str of this Artifact.

***

## update

```python
update(
   name: (str|None) = None, filename: (str|None) = None, object_name: (str|None) = None,
   large: (bool|None) = None
)
```

**Description**

Update this artifact with a new name, filename, object\_name or large

**Examples**

```python
this_artifact.update(object_name="another-path-to-artifact")
```

**Arguments**

* *name* (str, optional) : New name of the artifact. Defaults to None.

* *filename* (str, optional) : New filename of the artifact. Defaults to None.

* *object\_name* (str, optional) : New object\_name of the artifact. Defaults to None.

* *large* (bool, optional) : New large of the artifact. Defaults to None.

***

## delete

```python
delete()
```

**Description**

Delete this artifact

**Examples**

```python
this_artifact.delete()
```

***