---
ai:
  exclude: true
search:
  tags:
    - project
    - GET
seo:
  description: >-
    Returns a full representation of a… Reference for the GET
    /api/2/project/{projectIdOrKey} endpoint in the Jira Software Data Center
    REST API Reference.
sidebar:
  label: Get a project by ID or key
  badge: GET
title: Get a project by ID or key
type: openapi-operation
---
Returns a full representation of a project in JSON format. All project keys associated with the project will only be returned if &lt;code>expand=projectKeys&lt;/code>.

`GET /api/2/project/{projectIdOrKey}`

**Responses**

- `200` — Project data
- `404` — Returned if the project is not found, or the calling user does not have permission to view it

Response example, 200:

```json
{
  "archived": false,
  "avatarUrls": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
  "description": "Example",
  "id": "10000",
  "key": "EX",
  "name": "Example",
  "self": "http://www.example.com/jira/rest/api/2/project/EX"
}
```
