Skip to main content
POST
/
api
/
govern
/
data-access
/
policies
/
bulk
/
parse
Parse an .xlsx into row dicts for client-side preview before submit
curl --request POST \
  --url https://api.example.com/api/govern/data-access/policies/bulk/parse \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'excel_file=<string>'
{
  "rows": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
excel_file
string
required

The .xlsx file to parse.

Response

Successful Response

Raw rows extracted from an .xlsx for client-side preview before submit.

Each row is the values from a single workbook row keyed by header. Values are returned as-is (str/bool/int/None) without applying PolicyRow validation, so the client can show every uploaded row — including rows with invalid values — in the editable table for the user to fix.

rows
Rows · object[]

Parsed rows in spreadsheet order; keys match PolicyRow fields.