---
title: "Export Lifecycle Accounts"
method: POST
path: "/lifecycle-accounts/export"
tags: ["Revenue Records"]
---

# Export Lifecycle Accounts

`POST /lifecycle-accounts/export`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/lifecycle-accounts/export`
- Auth: HTTP bearer

Download the lifecycle Companies grid as CSV: the same rows, order and visible columns the grid shows.

Needs `data:export:bulk` (Owner and Admin have it) and an explicit `companies:run` grant. A key whose company
scope is "none" is refused 403. The export is audited and alerts the admins.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- LifecycleAccountsExportBody: The lifecycle Companies grid's view to export: columns, stage, filters, search and sort.
  - `columns` LifecycleAccountsExportColumn[], required
    - `field` string, required: Row field, e.g. `name` or `mrr_cents`.
    - `header` string, required: Column header as shown in the grid.
  - `lifecycle_id` string, nullable: Lifecycle stage the grid is scoped to.
  - `status` string, nullable: Status filter, e.g. `trial,trial_expired`.
  - `search` string, nullable: Grid search box text.
  - `in_pipeline` boolean
  - `pipeline_id` string, uuid, nullable: Open-deal scope to one pipeline (implies in_pipeline).
  - `canonical_trial_cohort` boolean
  - `agFilterModel` object, nullable
  - `agSortModel` object[], nullable
  - `segmentFilter` object, nullable
  - `tz` string, nullable

## Response `200`

The lifecycle Companies grid as a CSV file

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
