POST
/
v0
/
interfaces
curl --request POST \
  --url 'https://api.unify.ai/v0/interfaces/?checkpoint=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "123",
    "name": "my_interface",
    "project_id": "proj_abc",
    "tabs": [],
    "color": "blue",
    "is_checkpoint": false,
    "created_at": "2024-01-01T12:00:00Z",
    "updated_at": "2024-01-01T12:00:00Z"
}

Create a new interface in a project.

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

checkpoint
boolean

Whether to create a checkpoint interface (manual save)

Body

project
string
required
name
string
required
color
string | null
curl --request POST \
  --url 'https://api.unify.ai/v0/interfaces/?checkpoint=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "123",
    "name": "my_interface",
    "project_id": "proj_abc",
    "tabs": [],
    "color": "blue",
    "is_checkpoint": false,
    "created_at": "2024-01-01T12:00:00Z",
    "updated_at": "2024-01-01T12:00:00Z"
}