> For the complete documentation index, see [llms.txt](https://docs-conversational-ai.syntphony.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-conversational-ai.syntphony.com/_eva-3.4.1_1/for-technicians/api-guidelines/cloner.md).

# Cloner API

The eva platform provides an internal endpoint capable of exporting or importing the Bot structure, this includes various kinds of information, such as: Basic Bot Data, Intentions, Entity, Registered Flows, Channels, etc. These endpoints are extremely useful during environment migration or even for backing up a specific "Bot".

As it is an internal endpoint to the Kubernetes cluster, this API will only be accessible through the "kubectl forward" command.

```
$ kubectl port-forward <pod name > 8080: 8080 –n eva
```

For example:

```
$ kubectl port-forward eva-cloner v1-88d8ff59b-hgb4z 8080: 8080 –n eva
```

Now open your browser at this address:

<http://localhost:8080/swagger-ui.htm>

You’ll see a page similar to this:

![](https://gblobscdn.gitbook.com/assets%2F-MNuMuHVlHgsqK4L1Tp4%2F-MXqjapdavyPrlbTnpSb%2F-MXqkZZ7zWUWfCKQy-Dl%2Fcloner.png?alt=media\&token=4b5313da-fdaa-4448-acd2-fee39f334b98)

## **Export service**

| Method: | **GET**              |
| ------- | -------------------- |
| URL:    | **/api/v1/export**   |
| Type:   | **application/json** |

The API responsible for extract All Bot information.

## **Request**

| **Name**    | **Type**        | **Data Type** | **Required** | **Description**                                  |
| ----------- | --------------- | ------------- | ------------ | ------------------------------------------------ |
| **namebot** | Query Parameter | String        | Yes          | The Bot name, who intends to extract information |

## **Response**

This service has an Application/ZIP return type.

## **Import service**

| Method: | **POST**             |
| ------- | -------------------- |
| URL:    | **/api/v1/import**   |
| Type:   | **application/json** |

The API responsible for insert All Bot from a zip file.

## **Request**

| **Name**    | **Type**        | **Required** | **Description**                                |
| ----------- | --------------- | ------------ | ---------------------------------------------- |
| **file**    | formData        | yes          | The zip file containing all bot information.   |
| **nameBot** | Query Patameter | Yes          | After import, this will be the bot final name. |

Response

| **HTTP Status** | **Description**                              |
| --------------- | -------------------------------------------- |
| **201**         | Created, the Import operation was successful |

​


---

# 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://docs-conversational-ai.syntphony.com/_eva-3.4.1_1/for-technicians/api-guidelines/cloner.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.
