> For the complete documentation index, see [llms.txt](https://api-docs.kitsu.cloud/llms.txt)

# Import sequences from a CSV file

> POST /import/csv/projects/{project_id}/sequences
> 
> Create sequences in a project from a CSV file. A line needs the name of the sequence and, in a TV show, its episode (the route creates the missing episodes). Outside a TV show, the Episode column must stay empty. A line can also give the description and the metadata of the sequence, and the status, a comment, and the assignees of its tasks. Assignees are added to the people a task already has. Send the CSV file in a multipart form. The route finds the separator of the file. Each line is imported in order. If a line is not valid, the import stops. Without update=true, the lines of the entities that exist are skipped. You must be a manager of the project.



## Servers
- /api: /api


## Authentication methods
- Jwt authorization


## Parameters

### Path parameters

- **project_id** (string(uuid))
  Unique identifier of the project


### Query parameters

- **update** (boolean)
  Update the entities that exist


### Body: multipart/form-data (object)

- **file** (string(binary))
  CSV file with sequence data



## Responses
### 201
The imported lines

#### Body: application/json (array[object])
- **id** (string(uuid))

- **name** (string)

- **project_id** (string(uuid))

- **parent_id** (string(uuid))

- **description** (string)


### 400
The file is not encoded in UTF-8 or has no clear delimiter (nothing is imported), or a line of the file is not valid (the lines before it are imported).

#### Body: application/json (object)
- **error** (boolean)

- **message** (string)

- **line_number** (integer)
  Number of the line that is not valid

- **imported_rows** (integer)
  Number of lines that are imported


### 403
You are not a manager of the project

### 404
The project does not exist


[Powered by Bump.sh](https://bump.sh)
