Batch
Create a batch of artifact versions.
Args: artifact_versions: The artifact versions to create.
Returns: The created artifact versions.
Authorizations
OAuth2passwordRequired
Token URL:
Bodyobject · ArtifactVersionRequest[]
Request model for artifact versions.
userstring · uuid · nullableOptional
projectstring · uuidRequired
artifact_idstring · uuid · nullableOptional
artifact_namestring · nullableOptional
versionany of · nullableOptional
integerOptional
stringOptional
has_custom_namebooleanOptionalDefault:
falsetypestring · enumRequiredPossible values:
All possible types an artifact can have.
artifact_store_idstring · uuid · nullableOptional
uristring · max: 65535Required
content_hashstring · max: 255 · nullableOptional
tagsstring[] · nullableOptional
Should be a list of plain strings, e.g., ['tag1', 'tag2']
save_typestring · enumRequiredPossible values:
All possible method types of how artifact versions can be saved.
item_countinteger · nullableOptional
Responses
200
Successful Response
application/json
Response model for artifact versions.
idstring · uuidRequired
permission_deniedbooleanOptionalDefault:
false401
Unauthorized
application/json
403
Forbidden
application/json
409
Conflict
application/json
422
Unprocessable Entity
application/json
post/api/v1/artifact_versions/batch
POST /api/v1/artifact_versions/batch HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 687
[
{
"user": "123e4567-e89b-12d3-a456-426614174000",
"project": "123e4567-e89b-12d3-a456-426614174000",
"artifact_id": "123e4567-e89b-12d3-a456-426614174000",
"artifact_name": "text",
"version": 1,
"has_custom_name": false,
"type": "DataAnalysisArtifact",
"artifact_store_id": "123e4567-e89b-12d3-a456-426614174000",
"uri": "text",
"materializer": {
"module": "text",
"attribute": "text",
"type": "user",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data_type": {
"module": "text",
"attribute": "text",
"type": "user",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"content_hash": "text",
"tags": [
"text"
],
"visualizations": [
{
"type": "csv",
"uri": "text"
}
],
"save_type": "step_output",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"item_count": 1
}
][
{
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"artifact": {
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"project_id": "123e4567-e89b-12d3-a456-426614174000"
},
"metadata": {
"has_custom_name": false
},
"resources": {
"user": {
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"active": false,
"activation_token": "text",
"full_name": "",
"email_opted_in": true,
"is_service_account": true,
"is_admin": true,
"default_project_id": "123e4567-e89b-12d3-a456-426614174000",
"avatar_url": "text"
},
"metadata": {
"password_changed_at": "2026-01-01T00:00:00.000Z",
"email": "",
"external_user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"resources": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false,
"name": "text"
},
"tags": [
{
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"color": "grey",
"exclusive": true
},
"metadata": {
"tagged_count": 1
},
"resources": {
"user": {
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"active": false,
"activation_token": "text",
"full_name": "",
"email_opted_in": true,
"is_service_account": true,
"is_admin": true,
"default_project_id": "123e4567-e89b-12d3-a456-426614174000",
"avatar_url": "text"
},
"metadata": {
"password_changed_at": "2026-01-01T00:00:00.000Z",
"email": "",
"external_user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"resources": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false,
"name": "text"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false,
"name": "text"
}
],
"latest_version_name": "text",
"latest_version_id": "123e4567-e89b-12d3-a456-426614174000",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false,
"name": "text"
},
"version": "text",
"uri": "text",
"type": "DataAnalysisArtifact",
"materializer": {
"module": "text",
"attribute": "text",
"type": "user",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data_type": {
"module": "text",
"attribute": "text",
"type": "user",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"save_type": "step_output",
"artifact_store_id": "123e4567-e89b-12d3-a456-426614174000",
"content_hash": "text",
"item_count": 1
},
"metadata": {
"visualizations": [
"[Circular Reference]"
],
"run_metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"resources": {
"user": {
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"active": false,
"activation_token": "text",
"full_name": "",
"email_opted_in": true,
"is_service_account": true,
"is_admin": true,
"default_project_id": "123e4567-e89b-12d3-a456-426614174000",
"avatar_url": "text"
},
"metadata": {
"password_changed_at": "2026-01-01T00:00:00.000Z",
"email": "",
"external_user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"resources": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false,
"name": "text"
},
"tags": [
{
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"color": "grey",
"exclusive": true
},
"metadata": {
"tagged_count": 1
},
"resources": {
"user": {
"body": {
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z",
"active": false,
"activation_token": "text",
"full_name": "",
"email_opted_in": true,
"is_service_account": true,
"is_admin": true,
"default_project_id": "123e4567-e89b-12d3-a456-426614174000",
"avatar_url": "text"
},
"metadata": {
"password_changed_at": "2026-01-01T00:00:00.000Z",
"email": "",
"external_user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"resources": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false,
"name": "text"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false,
"name": "text"
}
],
"producer_step_run_id": "123e4567-e89b-12d3-a456-426614174000",
"producer_pipeline_run_id": "123e4567-e89b-12d3-a456-426614174000",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"permission_denied": false
}
]Last updated
Was this helpful?