## Retrieve project

`Project admin().organization().projects().retrieve(ProjectRetrieveParamsparams = ProjectRetrieveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())`

**get** `/organization/projects/{project_id}`

Retrieves a project.

### Parameters

- `ProjectRetrieveParams params`

  - `Optional<String> projectId`

### Returns

- `class Project:`

  Represents an individual project.

  - `String id`

    The identifier, which can be referenced in API endpoints

  - `long createdAt`

    The Unix timestamp (in seconds) of when the project was created.

  - `JsonValue; object_ "organization.project"constant`

    The object type, which is always `organization.project`

    - `ORGANIZATION_PROJECT("organization.project")`

  - `Optional<Long> archivedAt`

    The Unix timestamp (in seconds) of when the project was archived or `null`.

  - `Optional<String> externalKeyId`

    The external key associated with the project.

  - `Optional<String> name`

    The name of the project. This appears in reporting.

  - `Optional<ProjectResidency> residency`

    The residency configuration for the project.

    - `GLOBAL("GLOBAL")`

    - `US_STORAGE_PROCESSING("US_STORAGE_PROCESSING")`

    - `EU_STORAGE_PROCESSING("EU_STORAGE_PROCESSING")`

    - `JP_STORAGE("JP_STORAGE")`

    - `KR_STORAGE("KR_STORAGE")`

    - `CA_STORAGE("CA_STORAGE")`

    - `SG_STORAGE("SG_STORAGE")`

    - `IN_STORAGE("IN_STORAGE")`

    - `AU_STORAGE("AU_STORAGE")`

    - `GB_STORAGE("GB_STORAGE")`

    - `AE_STORAGE("AE_STORAGE")`

    - `AE_STORAGE_PROCESSING("AE_STORAGE_PROCESSING")`

  - `Optional<String> status`

    `active` or `archived`

### Example

```java
package com.openai.example;

import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.admin.organization.projects.Project;
import com.openai.models.admin.organization.projects.ProjectRetrieveParams;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        OpenAIClient client = OpenAIOkHttpClient.fromEnv();

        Project project = client.admin().organization().projects().retrieve("project_id");
    }
}
```

#### Response

```json
{
  "id": "id",
  "created_at": 0,
  "object": "organization.project",
  "archived_at": 0,
  "external_key_id": "external_key_id",
  "name": "name",
  "residency": "GLOBAL",
  "status": "status"
}
```
