## Get a project

`client.projects.retrieve(stringprojectID, RequestOptionsoptions?): ProjectRetrieveResponse`

**get** `/projects/{projectId}`

Returns metadata for a single project when it is accessible to the authenticated public API key. Missing and inaccessible projects both return 404.

### Parameters

- `projectID: string`

  Project identifier

### Returns

- `ProjectRetrieveResponse`

  - `created_at: number`

  - `last_modified: number | null`

  - `name: string`

    Project name

  - `origin: string | null`

    Project origin

  - `project_id: string`

    Project identifier

  - `workspace_id: string`

    Workspace identifier

### Example

```typescript
import FLORA from '@flora-ai/flora';

const client = new FLORA({
  apiKey: process.env['FLORA_API_KEY'], // This is the default and can be omitted
});

const project = await client.projects.retrieve('prj_abc123');

console.log(project.project_id);
```

#### Response

```json
{
  "created_at": 0,
  "last_modified": 0,
  "name": "Spring Campaign",
  "origin": "api",
  "project_id": "prj_abc123",
  "workspace_id": "ws_abc123"
}
```
