## List workspace projects

`$ flora projects list`

**get** `/projects`

Returns projects in the requested workspace that are accessible to the authenticated public API key, ordered by recent activity.

### Parameters

- `--workspace-id: string`

  Workspace identifier

- `--cursor: optional string`

  Opaque cursor for fetching the next page

- `--limit: optional number`

  Maximum number of results to return

- `--query: optional string`

  Search query

### Returns

- `unnamed_schema_3: object { meta, projects }`

  - `meta: object { next_cursor, total_estimate }`

    - `next_cursor: string`

      Opaque cursor for fetching the next page

    - `total_estimate: optional number`

      Estimated total matching items

  - `projects: array of object { created_at, last_modified, name, 3 more }`

    - `created_at: number`

    - `last_modified: number`

    - `name: string`

      Project name

    - `origin: string`

      Project origin

    - `project_id: string`

      Project identifier

    - `workspace_id: string`

      Workspace identifier

### Example

```cli
flora projects list \
  --api-key 'My API Key' \
  --workspace-id ws_abc123
```

#### Response

```json
{
  "meta": {
    "next_cursor": "eyJvZmZzZXQiOjIwfQ",
    "total_estimate": 0
  },
  "projects": [
    {
      "created_at": 0,
      "last_modified": 0,
      "name": "Spring Campaign",
      "origin": "api",
      "project_id": "prj_abc123",
      "workspace_id": "ws_abc123"
    }
  ]
}
```
