For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Trust CenterStatusSupportGet a demoPlatform
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
    • Platform Settings
    • Data Residency
    • RBAC
  • Project Settings
    • API Keys
    • Team Members
    • Roles & Permissions
    • Transformers
    • Integrations
    • Alerts
    • AI Connections
    • Model Costs
    • Data Usage
    • Evaluation Models
    • Evaluation Rules
    • Annotation Options
    • Classifiers
    • Data Sources
    • Data Retention
    • Audit Logs
  • Organization Settings
    • Projects
    • Users
    • Roles & Permissions
    • Model Credentials
    • SSO
    • Data Retention
    • Audit Logs
    • Feature Access
  • Admin SDK
    • Introduction
    • Quickstart
    • Organization
    • Projects
    • Members & Invitations
    • Roles, Policies & Permissions
    • API Keys
LogoLogo
Trust CenterStatusSupportGet a demoPlatform
On this page
  • Overview
  • List Projects
  • Create a Project
  • Get a Project
  • Update a Project
  • Delete a Project
  • Next Steps
Admin SDK

Projects

Create, read, update, and delete projects in your organization.
Was this page helpful?
Previous

Members & Invitations

Invite members, manage memberships, and assign roles.
Next
Built with

Overview

Projects are isolated workspaces for your datasets, prompts, traces, and evaluations. With the Admin SDK you can create, update, and delete projects programmatically. This supports project-per-agent, project-per-environment, and project-per-customer organization models.

All methods on this page require an Organization API Key. See the Quickstart to create a client.

List Projects

You can list every project in your organization.

Python
TypeScript
1from confidentai import ConfidentAI
2
3client = ConfidentAI()
4
5projects = client.projects.list()
6for project in projects:
7 print(project.id, project.name)

Create a Project

You can create a new project with just a name, while the description is optional. Creating a project also generates its first project API key, so the call returns both the project and that api_key (whose full secret is only available here).

Python
TypeScript
1created = client.projects.create(
2 name="Customer Support Bot",
3 description="Production support assistant",
4)
5print(created.project.id) # e.g. "clq9z3x1k0001la08f7t3g5p2"
6print(created.api_key.value) # e.g. "confident_us_proj_...", shown only once

Get a Project

You can retrieve a single project by its project_id.

Python
TypeScript
1project = client.project("clq9z3x1k0001la08f7t3g5p2")
2project.get()

Update a Project

You can update a project’s name, description, or both, and only the fields you pass are changed.

Python
TypeScript
1project = client.project("clq9z3x1k0001la08f7t3g5p2")
2project.update(name="Support Bot (v2)")

Delete a Project

You can permanently delete a project from your organization.

Deleting a project permanently removes all of its datasets, prompts, traces, and evaluations. This cannot be undone.

Python
TypeScript
1project = client.project("clq9z3x1k0001la08f7t3g5p2")
2project.delete()

Next Steps

After projects are configured, manage access and keys:

Members & Invitations

Add users to projects and assign roles.

API Keys

Provision project-scoped API keys.