Skip to main content
POST
cURL

Authorizations

X-Avala-Api-Key
string
header
required

API key for authentication. Generate one in Mission Control Settings > Security & Identity.

Body

application/json
name
string
required
Required string length: 1 - 100
visibility
enum<string>
required

Visibility setting for the slice.

Available options:
public,
private
sub_slices
object[]
required

An Array of sub slice objects. The available sub_slice types are:

  • dataset_items: a preselected list of dataset items in a dataset
  • dataset: all dataset items in selected dataset
  • filters: selects dataset items from dataset by applying filter expressions
organization
object | null
random_selection_count
integer | null

Response

201 - application/json
name
string
required
Required string length: 1 - 100
slug
string
required
Required string length: 1 - 100
uid
string<uuid>
read-only
owner_name
string
read-only

The name of the slice owner

Minimum string length: 1
organization
object | null
visibility
enum<string>
Available options:
public,
private
sub_slices
object[]
read-only
source_data
Source data · object | null
status
enum<string>
Available options:
pending,
created,
failed

List of the first 4 found slice items' URL

item_count
integer
read-only