---
title: "Export a resource model"
method: GET
path: "/lifecycle-manager/resources/{modelId}/export"
tags: ["Lifecycle Manager"]
---

# Export a resource model

`GET /lifecycle-manager/resources/{modelId}/export`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/lifecycle-manager/resources/{modelId}/export`
- Auth: none declared

This method exports a resource model.

## Path parameters

- `modelId` string, required: A MongoDB ObjectId

## Response `200`

response

- LifecycleManagerExportResourceModelHttpResponse200
  - `data` LifecycleManagerResourceModelExport
    - `_id` unknown, required
    - `name` string, required: The name of the resource model
    - `description` string, required: Free-form text describing the resource model
    - `schema` unknown, required
    - `actions` LifecycleManagerResourceModelExportActionsItems[]
      - `_id` unknown
      - `name` string: The name of the action
      - `type` 'import' | 'create' | 'update' | 'delete': The type of the action
      - `preWorkflowJst` string, nullable: Optional transformation to be applied to incoming parameters before providing them to the workflow.
      - `workflow` string, nullable: The name of the workflow to use as the implementation of this action.
      - `postWorkflowJst` string, nullable: Optional transformation to be applied to the workflow's outputs before updating the instance.
    - `created` unknown, required
    - `createdBy` unknown, required
    - `lastUpdated` unknown, required
    - `lastUpdatedBy` unknown, required

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Lifecycle Manager` added
  - api tag `lifecycleManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/lifecycle-manager/resources/:modelId/export/get.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
