import os
from scale_gp import SGPClient
client = SGPClient(
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
)
studio_project = client.studio_projects.create(
account_id="account_id",
description="description",
name="name",
studio_api_key="studio_api_key",
)
print(studio_project.id){
"name": "<string>",
"description": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"account_id": "<string>",
"created_by_user_id": "<string>",
"created_by_identity_type": "user"
}Creates a studio project
This API can be used to create a studio project. To use this API, review the request schema and pass in all fields that are required to create a studio project.
import os
from scale_gp import SGPClient
client = SGPClient(
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
)
studio_project = client.studio_projects.create(
account_id="account_id",
description="description",
name="name",
studio_api_key="studio_api_key",
)
print(studio_project.id){
"name": "<string>",
"description": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"account_id": "<string>",
"created_by_user_id": "<string>",
"created_by_identity_type": "user"
}Successful Response
The name of the Studio Project
The description of the Studio Project
The unique identifier of the entity.
The date and time when the entity was created in ISO format.
The ID of the account that owns the given entity.
The user who originally created the entity.
The type of identity that created the entity.
user, service_account