---
title: "Commit a context version"
method: POST
path: "/v0/project/{project_name}/contexts/{context_name}/commit"
tags: ["Contexts"]
---

# Commit a context version

`POST /v0/project/{project_name}/contexts/{context_name}/commit`

Creates a new version snapshot for a specific context.

## Path parameters

- `project_name` string, required
- `context_name` string, required

## Request body

- ContextCommit
  - `commit_message` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.dev/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/revisions/900377f918b6/schema)
