> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dekasign.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Katalog, kategori dan versi

> Pin versi dan archive tanpa mengubah proses aktif.

Dengan `catalog:read`, baca daftar dan detail `categories`, `request-templates` (Form Builder), `approval-workflows`, `request-forms`, dan `document-sign-templates` di bawah `/api/v1`.

Ambil schema melalui `GET /approval-workflows/{id}/releases/{release}/submission-schema`. Respons workflow mencakup `workflow_release_id` seperti `workflow-id@3`, kategori, template, versi form dan versi publish. Gunakan key schema, bukan label tampilan. Request aktif mempertahankan snapshot versinya.

`GET /document-sign-templates/{id}/content` mengembalikan PDF sumber. Query `version` adalah ID versi template, bukan nomor versinya.

## Tambah kategori

`POST /categories` memerlukan `categories:write`, idempotency key, dan requester Owner/Admin berwenang.

```json theme={null}
{"name":"Permintaan perangkat","description":"Kebutuhan perangkat kerja"}
```

Respons `request_form_created:false` dan `key_scope_expanded:false` berarti belum ada request form dan akses key tidak diperluas. Buat/publish workflow di platform.

## Archive

Gunakan `POST /categories/{id}/archive` dengan `categories:write`, atau `POST /approval-workflows/{id}/archive` dan `/request-forms/{id}/archive` dengan `workflows:archive`. Kirim alasan serta idempotency key.

```json theme={null}
{"reason":"Digantikan proses operasional baru"}
```

Workflow dengan request DRAFT, IN\_PROGRESS atau NEEDS\_REVISION ditolak dengan `WORKFLOW_IN_USE`. Archive bukan menghapus bukti atau file.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.