---
title: "Parse Csv"
method: POST
path: "/api/v1/admin/ontology/csv-drafter/parse"
tags: ["Admin APIs", "ontology-csv-drafter"]
---

# Parse Csv

`POST /api/v1/admin/ontology/csv-drafter/parse`

Parse and validate a CSV file for the ontology CSV drafter.

## Response `200`

Successful Response

- ParseResponse
  - `rows` ParsedRow[], required
    - `row_number` integer, required
    - `company_name` string, required
    - `company_category_hierarchy_id` integer, nullable, required
    - `brand_website` string, required
    - `brand_type` string, required
    - `brand_name` string, required
    - `brand_category_hierarchy_id` integer, nullable, required
    - `errors` string[], required
  - `total_rows` integer, required
  - `valid_rows` integer, required
  - `invalid_rows` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
