---
title: "POST /v1/publish/{kind}/{slug}/versions/{version}"
method: POST
path: "/v1/publish/{kind}/{slug}/versions/{version}"
tags: ["publish"]
---

# POST /v1/publish/{kind}/{slug}/versions/{version}

`POST /v1/publish/{kind}/{slug}/versions/{version}`

## Request

- Base URL: `http://localhost:8800`
- URL: `http://localhost:8800/v1/publish/{kind}/{slug}/versions/{version}`
- Auth: HTTP bearer

## Path parameters

- `kind` 'agent' | 'skill' | 'mcp_server' | 'base' | 'app' | 'theme' | 'workflow_template', required
- `slug` string, required
- `version` string, required

## Request body

- PublishRequest
  - `item` PublishItem, required
    - `slug` string, required
    - `name` string, required
    - `description` string, nullable
    - `long_description` string, nullable
    - `category` string, nullable
    - `icon` string, nullable
    - `tags` string[]
    - `features` string[]
    - `tech_stack` string[]
    - `extra_metadata` object
    - `creator_handle` string, nullable
    - `git_repo_url` string, nullable
    - `homepage_url` string, nullable
    - `pricing` Pricing
      - `pricing_type` 'free' | 'paid' | 'subscription'
      - `price_cents` integer
      - `currency` string
      - `stripe_price_id` string, nullable
      - `interval` string, nullable
      - `extras` object, nullable
  - `version` PublishVersion, required
    - `version` string, required
    - `changelog` string, nullable
    - `manifest` object, nullable
    - `bundle_b64` string, nullable
    - `pricing` Pricing
      - `pricing_type` 'free' | 'paid' | 'subscription'
      - `price_cents` integer
      - `currency` string
      - `stripe_price_id` string, nullable
      - `interval` string, nullable
      - `extras` object, nullable

## Response `201`

Submission

- Submission: Full submission row with the standardized `submissions.staged` check shape. The orchestrator's `routers/app_submissions.py` proxy mirrors this row directly into the local `app_submissions` cache so existing UI rendering keeps working unchanged.
  - `id` string, required: Submission UUID (string form)
  - `kind` 'agent' | 'skill' | 'mcp_server' | 'base' | 'app' | 'theme' | 'workflow_template', required
  - `slug` string, required
  - `version` string, nullable
  - `state` 'stage0_received' | 'stage1_static' | 'stage2_dynamic' | 'stage3_review' | 'approved' | 'rejected' | 'withdrawn', required: Wire-stable state string mirrored from the row
  - `stage` 'stage0' | 'stage1' | 'stage2' | 'stage3' | 'approved' | 'rejected' | 'withdrawn', required: Current stage; terminal stages mirror the decision
  - `decision` 'approved' | 'rejected' | 'withdrawn', nullable
  - `decision_reason` string, nullable
  - `submitter_handle` string, nullable
  - `bundle_sha256` string, nullable
  - `bundle_size_bytes` integer, nullable
  - `item_id` string, nullable
  - `item_version_id` string, nullable
  - `checks` SubmissionCheck[]: Append-only per-stage check rows. Clients with the `submissions.staged` capability render these grouped by `stage` to surface the staged pipeline timeline.
    - `stage` 'stage0' | 'stage1' | 'stage2' | 'stage3', required: Pipeline stage that produced this check
    - `name` string, required: Stable check identifier (e.g. `slug_format`, `bundle_size`)
    - `status` 'passed' | 'failed' | 'warning' | 'errored' | 'skipped', required: * `passed` — check succeeded * `failed` — check failed; submission transitions to rejected * `warning` — informational; does not fail the stage * `errored` — execution itself failed; submission transitions to rejected * `skipped` — check did not run (e.g. dependent check failed)
    - `message` string, nullable
    - `details` object, nullable
    - `created_at` string, date-time, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Changes

- **2026-07-17** `b2706e1525df`: 29 warning, 11 info
  - added the new `agent` enum value to the `kind` response property for the response status `201`
  - added the new `app` enum value to the `kind` response property for the response status `201`
  - added the new `approved` enum value to the `decision` response property for the response status `201`
  - added the new `approved` enum value to the `stage` response property for the response status `201`
  - …36 more
- **2026-04-29** `5ed6d07c9483`: 11 breaking, 29 info
  - the response property `checks/items/created_at` became optional for the status `201`
  - the response property `checks/items/name` became optional for the status `201`
  - the response property `checks/items/stage` became optional for the status `201`
  - the response property `checks/items/status` became optional for the status `201`
  - …36 more

[Operation history](https://skmtc.dev/tesslateai/apis/tesslate-federated-marketplace-v1/changes/v1/publish/:kind/:slug/versions/:version/post.md)

---

[API](https://skmtc.dev/tesslateai/apis/tesslate-federated-marketplace-v1.md) - [All operations](https://skmtc.dev/tesslateai/apis/tesslate-federated-marketplace-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/tesslateai/apis/tesslate-federated-marketplace-v1/revisions/b2706e1525df?raw)
