---
title: "POST /transitions"
method: POST
path: "/transitions"
---

# POST /transitions

`POST /transitions`

## Headers

- `Content-Type` string, required

## Request body

- PostTransitions
  - `description` string, nullable
  - `inputJsonSchema` object
  - `name` string, nullable
  - `outputJsonSchema` object
  - `parameters` union
    - object
      - `cpu` 256
      - `environment` object
      - `environmentSecrets` string[]
      - `imageUrl` string, required
      - `memory` 512 | 1024 | 2048
      - `secretId` string
    - object
      - `assets` object
        - `jsRemoteComponent` string
  - `timeoutInSeconds` integer
  - `transitionType` 'docker' | 'manual', required

## Response `200`

200 response

- Transition
  - `assets` object
    - `jsRemoteComponent` string
  - `createdBy` string, nullable, required
  - `createdTime` string, nullable, required
  - `description` string, nullable, required
  - `inputJsonSchema` object
  - `name` string, nullable, required
  - `outputJsonSchema` object
  - `parameters` object, required
  - `timeoutInSeconds` integer, required
  - `transitionId` union, required
    - string
    - string
  - `transitionType` 'docker' | 'manual', required
  - `updatedBy` string, nullable, required
  - `updatedTime` string, nullable, required

## Other responses

- `400` — 400 response
- `403` — 403 response
- `404` — 404 response
- `415` — 415 response
- `500` — 500 response

## Changes

- **2021-11-05** `9788e6bfa925` — 3 breaking, 6 info
  - removed `subschema #1, subschema #2` from the `parameters` request property `anyOf` list
  - removed the enum value `lambda` of the request property `transitionType`
  - the `timeoutInSeconds` request property's max was decreased to `1800.00`
  - added the new optional request property `inputJsonSchema`
  - …5 more

[Change history](https://skmtc.dev/lucidtechai/apis/lucidtech-api/changes/transitions/post.md)

---

[API](https://skmtc.dev/lucidtechai/apis/lucidtech-api.md) · [All operations](https://skmtc.dev/lucidtechai/apis/lucidtech-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lucidtechai/lucidtech-api/revisions/13bf8cf663ba/schema)
