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

# Projects

The Projects API allows you to organize memories into logical groups. Projects help you separate different applications or use cases.

## List Projects

Retrieve all projects for the authenticated user.

### Request

```bash theme={null}
curl https://t0ken.ai/api/v1/projects \
  -H "X-API-Key: omx_your_api_key"
```

### Response

```json theme={null}
{
  "success": true,
  "data": [
    {
      "id": "proj_default",
      "name": "default",
      "description": "Default project",
      "created_at": "2026-02-13T10:00:00Z"
    }
  ]
}
```

## Create Project

Create a new project.

<ParamField body="name" type="string" required>
  Project name (unique per user)
</ParamField>

<ParamField body="description" type="string">
  Optional project description
</ParamField>

### Request

```bash theme={null}
curl -X POST https://t0ken.ai/api/v1/projects \
  -H "X-API-Key: omx_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-app",
    "description": "My AI application memories"
  }'
```

### Response

```json theme={null}
{
  "success": true,
  "data": {
    "id": "proj_myapp",
    "name": "my-app",
    "description": "My AI application memories",
    "created_at": "2026-02-13T10:00:00Z"
  }
}
```

## Get Project

Retrieve a specific project by ID.

```bash theme={null}
curl https://t0ken.ai/api/v1/projects/proj_myapp \
  -H "X-API-Key: omx_your_api_key"
```

## Delete Project

Delete a project and all associated memories.

<Warning>
  This action cannot be undone. All memories in the project will be permanently deleted.
</Warning>

```bash theme={null}
curl -X DELETE https://t0ken.ai/api/v1/projects/proj_myapp \
  -H "X-API-Key: omx_your_api_key"
```
