---
title: "Fetch a workspace to apply and mark it as just used"
method: POST
path: "/workspaces/{id}/apply"
tags: ["Workspaces"]
---

# Fetch a workspace to apply and mark it as just used

`POST /workspaces/{id}/apply`

Returns the full workspace with its payload parsed, and touches lastUsedAt server-side so the caller does not need a second round trip.

## Path parameters

- `id` integer, required

## Response `200`

The workspace to apply.

## Other responses

- `404` — Workspace not found.

---

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