Skip to main content
POST
Fork document

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Path Parameters

document_id
string
required

Body

application/json
alias
string

An alias, such as latest; latest when neither this nor version is given.

name
string | null

The new document's name; the original's when absent.

project_id
string | null

The project to put it in; the original's when absent.

version
integer<uint64>

A version, by number.

Required range: x >= 0

Response

  • unauthorized: provide a valid API key: Authorization: Bearer sk_…
error
object
required