Create a model artifact
API Reference
Create a model artifact
Creates an artifact record before file upload on https://api.synapsai.cloud. The API key must allow uploads and must not be an ephemeral upload key.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api.synapsai.cloud/v1/model-artifacts \
--header 'Content-Type: application/json' \
--data '
{
"display_name": "<string>",
"pipeline": "<string>"
}
'import requests
url = "https://api.synapsai.cloud/v1/model-artifacts"
payload = {
"display_name": "<string>",
"pipeline": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"artifact": {
"id": "<string>",
"display_name": "<string>",
"pipeline": "<string>",
"status": "<string>",
"size_gb": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}Creates an artifact record before file upload on https://api.synapsai.cloud. The API key must allow uploads and must not be an ephemeral upload key.
curl --request POST \
--url https://api.synapsai.cloud/v1/model-artifacts \
--header 'Content-Type: application/json' \
--data '
{
"display_name": "<string>",
"pipeline": "<string>"
}
'import requests
url = "https://api.synapsai.cloud/v1/model-artifacts"
payload = {
"display_name": "<string>",
"pipeline": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"artifact": {
"id": "<string>",
"display_name": "<string>",
"pipeline": "<string>",
"status": "<string>",
"size_gb": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}