Create resources for a dataset according to the specified chain
POST/v1/project/:project_id/resources
Create a chain of resources for a dataset.
This endpoint allows you to specify a list of resources to create, with their dependencies. Resources will be created in the correct order based on their dependencies.
Request
Path Parameters
- application/json
Body
array
required
Array [
- DATASET_CHECKPOINT_REQUEST
- EMBEDDING_SET_REQUEST
- EMBEDDING_SET_INFERRED_REQUEST
- HNSW_INDEX_REQUEST
- EMBEDDING_DERIVED_2D_COORDINATE_SET_REQUEST
- RANDOM_COORDINATE_SET_REQUEST
- UMAP_COORDINATE_SET_REQUEST
- TSNE_COORDINATE_SET_REQUEST
- SVD_COORDINATE_SET_REQUEST
- PCA_COORDINATE_SET_REQUEST
- NPV1_COORDINATE_SET_REQUEST
- NPV2_COORDINATE_SET_REQUEST
- CLUSTER_ASSIGNMENT_REQUEST
- HDBSCAN_CLUSTER_ASSIGNMENT_REQUEST
- CHECKPOINT_DESCRIPTION_REQUEST
- QUADTREE_REQUEST
- DUPLICATES_REQUEST
- KEYWORDS_TOPIC_LABEL_REQUEST
- LLM_TOPIC_LABEL_REQUEST
- TOPIC_LABEL_POSITIONS_REQUEST
- MAP_CHECKPOINT_REQUEST
- SIDECAR_FROM_PARQUET_REQUEST
- EMBEDDING_SIDECAR_REQUEST
- SIDECAR_FROM_DATA_TABLE_REQUEST
- CLUSTER_SIDECAR_REQUEST
- OPENGRAPH_IMAGE_REQUEST
- MOD1
- MOD2
Array [
]
- MOD1
Array [
]
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
- MOD1
]
anyOf
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
composite_filter
object
anyOf
columns
object
anyOf
string
timestamp
object
anyOf
integer
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
embedding_target
object
anyOf
string
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
The text column to generate embeddings from
embedding_model
object
required
Which text embedding model to use
anyOf
string
string
string
string
string
string
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 15
Default value: 64
Default value: 32
Default value: 32
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 0,1
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 15
Default value: 0.1
Default value: euclidean
Default value: 1
Default value: 5
n_epochs
object
anyOf
integer
Default value: true
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 30
early_exaggeration
object
anyOf
integer
string
Default value: 250
Default value: 500
exaggeration
object
anyOf
integer
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 2
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 2
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
n_noise
object
anyOf
integer
Default value: 50
spread
object
anyOf
number
min_dist
object
anyOf
number
n_init_epochs
object
anyOf
integer
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
n_noise
object
anyOf
integer
Default value: 50
spread
object
anyOf
number
min_dist
object
anyOf
number
n_init_epochs
object
anyOf
integer
Default value: 0.6
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
cluster_method
object
anyOf
string
enforce_hierarchy
object
anyOf
boolean
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
cluster_method
object
anyOf
string
Default value: 15
Default value: 15
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
fields
object
anyOf
string
Default value: 10000
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: ``
The fields that can be colored by.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 0.1
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
Default value: 0.62
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
map_id
object
anyOf
string
email_type
object
anyOf
string
Possible values: [Dataset ready, None]
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
The type of resource to create. e.g. 'EMBEDDING_SET'
dependencies
object
A mapping of resource types to the ids of the resources that must be created before this one. We will look in two different places for the string values here:
First, in the refs field of the passed list of resources. Finally, this will be treated as the UUID of a resource in the database.
property name*
object
anyOf
string
string
The id of the dataset to use for this resource.
color_column
object
anyOf
string
An identifier to use for this resource in the context of building a set of jobs. This id WILL NOT BE used in the database or system.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Resource type.
The resource id.
The dataset id associated with the resource.
Possible values: [COMPLETED, FAILED, BUILDING, WAITING]
The resource status.
params
object
required
Resource-specific parameters.
Resource-specific parameters.
[
{
"type": "string",
"id": "string",
"dataset_id": "string",
"status": "COMPLETED",
"params": {}
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}