Skip to main content
The Projects Service enables you to organize agents and teams into logical projects, providing structure for managing resources across different initiatives, applications, or organizational units.

Quick Start

Features

Project Management

Create, update, and organize projects

Agent Assignment

Assign agents to projects with roles

Team Assignment

Assign teams to projects

Default Project

Automatic default project for organization

List Projects

Retrieve all projects in your organization:
Parameters:
  • status_filter (str, optional): Filter by status: ‘active’, ‘inactive’, or ‘archived’
Returns: List of project dictionaries

Get Project

Retrieve a specific project by ID:
Parameters:
  • project_id (str, required): Project UUID
Returns: Dictionary containing project details

Get Default Project

Retrieve the default project for your organization:
Returns: Dictionary containing default project details
The default project is automatically created for your organization. If it doesn’t exist, this method will create it.

Create Project

Create a new project:
Parameters:
  • project_data (dict, required): Project configuration
    • name (str): Project name
    • description (str): Project description
    • status (str, optional): Project status (default: ‘active’)
    • metadata (dict, optional): Additional metadata
Returns: Dictionary containing created project details

Update Project

Update an existing project (partial update):
Parameters:
  • project_id (str, required): Project UUID
  • project_data (dict, required): Fields to update (partial update)
    • name (str, optional): Project name
    • description (str, optional): Project description
    • status (str, optional): Project status
    • metadata (dict, optional): Additional metadata
Returns: Dictionary containing updated project details

Delete Project

Delete a project:
Parameters:
  • project_id (str, required): Project UUID
Returns: None (204 No Content on success)
Deleting a project will cascade delete all project-agent and project-team associations. The agents and teams themselves are not deleted.

Agent Management

Add Agent to Project

Add an agent to a project with an optional role:
Parameters:
  • project_id (str, required): Project UUID
  • agent_id (str, required): Agent UUID
  • role (str, optional): Role for the agent in this project
Returns: Dictionary containing project-agent association details

List Project Agents

List all agents in a project:
Parameters:
  • project_id (str, required): Project UUID
Returns: List of project-agent association dictionaries with nested agent data

Remove Agent from Project

Remove an agent from a project:
Parameters:
  • project_id (str, required): Project UUID
  • agent_id (str, required): Agent UUID
Returns: None (204 No Content on success)

Team Management

Add Team to Project

Add a team to a project with an optional role:
Parameters:
  • project_id (str, required): Project UUID
  • team_id (str, required): Team UUID
  • role (str, optional): Role for the team in this project
Returns: Dictionary containing project-team association details

List Project Teams

List all teams in a project:
Parameters:
  • project_id (str, required): Project UUID
Returns: List of project-team association dictionaries with nested team data

Remove Team from Project

Remove a team from a project:
Parameters:
  • project_id (str, required): Project UUID
  • team_id (str, required): Team UUID
Returns: None (204 No Content on success)

Complete Example

Here’s a complete example of creating and managing a project:

Error Handling

Handle project-related errors:

Best Practices

Project Organization

  • Clear Boundaries: Define clear project boundaries and scope
  • Descriptive Names: Use names that clearly indicate the project’s purpose
  • Consistent Structure: Maintain consistent metadata across projects
  • Default Project: Use the default project for general-purpose resources

Resource Assignment

  • Role Definition: Use roles to clarify agent/team responsibilities
  • Avoid Over-Assignment: Don’t assign resources to too many projects
  • Review Regularly: Periodically review project memberships
  • Remove Inactive: Remove agents/teams no longer working on the project

Lifecycle Management

  • Active Status: Keep only current projects as ‘active’
  • Archive Completed: Archive completed projects instead of deleting
  • Track Metadata: Use metadata for budget, deadlines, and ownership
  • Audit Trail: Maintain history of project changes

Integration with Other Services

  • Agents: Assign specialized agents based on project needs
  • Teams: Use teams for collaborative project work
  • Environments: Link projects to specific environments
  • Jobs: Associate scheduled jobs with projects

Use Cases

By Department

By Application

By Initiative

API Reference

Next Steps

Agents Service

Manage agents to assign to projects

Teams Service

Create teams for project work

Environments Service

Link projects to environments

Jobs Service

Schedule jobs for project tasks