---
title: "Post Flash Training Run"
method: POST
path: "/api/flash/runs/internal"
tags: ["flash"]
---

# Post Flash Training Run

`POST /api/flash/runs/internal`

Persist the latest status for a managed Flash training run.

## Request body

- FlashTrainingRunUpsertBody
  - `orgId` string, required
  - `projectId` string, uuid, required
  - `runId` string, required
  - `status` string, required
  - `userId` string, nullable
  - `apiKeyId` string, nullable
  - `environmentSlug` string, nullable
  - `model` string, nullable
  - `algorithm` string, nullable
  - `phase` string, nullable
  - `gpuType` string, nullable
  - `costUsd` number, nullable
  - `realizedCostUsd` number, nullable
  - `adapterRef` string, nullable
  - `artifactsDir` string, nullable
  - `error` string, nullable
  - `spec` object, nullable
  - `deployment` object, nullable
  - `lastHeartbeat` object, nullable
  - `gpuStatus` object, nullable
  - `metadata` object, nullable
  - `createdAt` string, nullable
  - `updatedAt` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/freesolo/apis/platform-backend.md) · [All operations](https://skmtc.dev/freesolo/apis/platform-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/freesolo/platform-backend/revisions/5626e92675af/schema)
