Manage Projects
Create, list, update, and delete knowledge projects
Before you begin
- You have an API key (
pai_test_*for staging orpai_live_*for production) - Feature
api.projectsis enabled for your organization
Create a project
Projects are containers for documents and knowledge. Every document belongs to a project.
Save the id — you’ll use it when uploading documents and running queries.
List projects
Retrieve all projects in your organization:
Get a single project
Update a project
Only the fields you include will be updated.
Delete a project
A project cannot be deleted while it still contains documents. Remove all documents first, then delete the project.
What’s next
- Upload Documents — add documents to your project
- Ask a Question — query your project knowledge