The projects client methods are currently in BETA. The API may change without notice. A one-time warning is emitted on first use.
Manage projects programmatically. Create, list, retrieve, and delete projects within your Arize spaces.
Key Capabilities
- Create and manage projects within spaces
- List projects with pagination support
- Retrieve project details by ID
- Delete projects when no longer needed
List Projects
List all projects you have access to, with optional filtering by space.
resp = client.projects.list(
space="your-space-name-or-id", # optional
name="fraud", # optional substring filter
limit=50,
)
for project in resp.projects:
print(project.id, project.name)
For details on pagination, field introspection, and data conversion (to dict/JSON/DataFrame), see Response Objects.
Create a Project
Create a new project within a space. Project names must be unique within the target space.
project = client.projects.create(
name="fraud-detection-app",
space="your-space-name-or-id",
)
print(project)
Get a Project
Retrieve a specific project by name or ID. When using a name, provide space to disambiguate.
project = client.projects.get(
project="project-name-or-id",
space="your-space-name-or-id", # required when using a name
)
print(project)
Delete a Project
Delete a project by name or ID. This operation is irreversible. There is no response from this call.
client.projects.delete(
project="project-name-or-id",
space="your-space-name-or-id", # required when using a name
)
print("Project deleted successfully")