Interfaces

✨ Duplicate a saved interface

Changed on
<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Create a copy of an existing saved interface.
post/api/interfaces/{id}/duplicate/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/interfaces/{id}/duplicate/
  • Auth
    API key in header Authorization

Path parameters

idinteger required

A unique integer value identifying this interface.

Request body

compiledstring nullable

Client-compiled bundle, accepted only when the source has none stored (system templates).

descriptionstring nullable

Description for the copy. Defaults to the source interface's description.

mode'last' | 'all'
  • last - last
  • all - all
paramsunknown
titlestring

Title for the copy. Defaults to "<source title> (Copy)" when omitted or blank.

workspaceinteger nullable

Workspace ID to duplicate into. Omit or null for no workspace.

Response

artifactsunknown
can_editboolean required

Whether the current user can change this interface: edit, delete, publish versions or move it.

codestring required

JSX source code for the interface screen module

compiledstring required
created_atstring date-time required
data_sampleunknown
descriptionstring
idinteger required
input_schemaunknown
is_systemboolean required

HumanSignal-provided system template visible to all organizations

messagesunknown
metadataunknown
output_schemaunknown
projects_countinteger required
scenariosstring nullable
titlestring required
updated_atstring date-time required
versionsunknown
workspaceinteger nullable

Changes