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

# Get Project

> Retrieve a specific project by ID

<ParamField header="Authorization" type="string" required>
  Bearer token obtained from the authenticate endpoint.
</ParamField>

<ParamField path="project_id" type="string" required>
  Unique identifier of the project to retrieve.
</ParamField>

## Response

<ResponseField name="id" type="string" required>
  Unique identifier for the project.
</ResponseField>

<ResponseField name="name" type="string" required>
  Name of the project.
</ResponseField>

<ResponseField name="description" type="string">
  Optional description of the project's contents.
</ResponseField>

<ResponseField name="tags" type="array">
  List of tags associated with the project.
</ResponseField>

<ResponseField name="created_at" type="string" required>
  ISO 8601 timestamp when the project was created.
</ResponseField>

<ResponseField name="updated_at" type="string" required>
  ISO 8601 timestamp when the project was last modified.
</ResponseField>

<RequestExample>
  ```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
  curl -X GET https://api.trellis.sh/v1/projects/proj_abc123 \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import requests

  response = requests.get(
      "https://api.trellis.sh/v1/projects/proj_abc123",
      headers={"Authorization": "Bearer YOUR_TOKEN"}
  )
  project = response.json()
  ```

  ```javascript JavaScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
  const response = await fetch("https://api.trellis.sh/v1/projects/proj_abc123", {
    headers: { Authorization: "Bearer YOUR_TOKEN" },
  });
  const project = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "id": "proj_abc123",
    "name": "Q4 Financial Review",
    "description": "Quarterly financial analysis documents",
    "tags": ["finance", "quarterly"],
    "created_at": "2025-10-01T09:00:00Z",
    "updated_at": "2025-12-15T14:30:00Z"
  }
  ```

  ```json 404 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "detail": "Project not found"
  }
  ```
</ResponseExample>
