Skip to main content
POST
Duplicate Template

Authentication & Scope

Requires the templates-write ability.

Request

Path Parameters

Body Parameters

Response

201 Created – The newly created template copy.
Duplicating a template is useful for creating variations or testing schema changes without affecting the original.

Authorizations

Authorization
string
header
required

Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.

Path Parameters

templateId
string<uuid>
required

Response

Duplicated

id
string<uuid>
read-only
name
string
description
string
schema_json
object

JSON schema defining extraction fields and groups

settings
object
workspace_id
integer
created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only