> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slog.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Projects

# Projects

Projects group related tasks together within a team.

## Status values

| Status      | Description                           |
| ----------- | ------------------------------------- |
| `PLANNING`  | Work is defined but not yet started.  |
| `ACTIVE`    | Work is in progress.                  |
| `ON_HOLD`   | Work is paused, waiting on something. |
| `COMPLETED` | All work is done.                     |
| `CANCELLED` | Work will not be completed.           |

***

## List projects

```http theme={null}
GET /project
Authorization: Bearer <token>
```

***

## Get project

```http theme={null}
GET /project/:id
Authorization: Bearer <token>
```

***

## Create project

```http theme={null}
POST /project
Authorization: Bearer <token>
Content-Type: application/json
```

```json theme={null}
{
  "name": "Q2 Roadmap",
  "teamId": "team_01jq...",
  "status": "PLANNING"
}
```

Required: `name`, `teamId`.

***

## Update project

```http theme={null}
PATCH /project/:id
Authorization: Bearer <token>
Content-Type: application/json
```

```json theme={null}
{ "status": "ACTIVE", "description": "..." }
```

***

## Delete project

```http theme={null}
DELETE /project/:id
Authorization: Bearer <token>
```

***

## List tasks in a project

```http theme={null}
GET /project/:id/task
Authorization: Bearer <token>
```
