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

# Get Project

> Retrieve detailed information about a specific project

## Endpoint

```
GET https://api.intellibase.dev/api/v1/projects/{project_id}
```

## Path Parameters

<ParamField path="project_id" type="string" required>
  The unique identifier of the project
</ParamField>

## Authentication

Requires a valid API key with access to the project.

## Response

<ResponseField name="project_id" type="string">
  Unique identifier for the project
</ResponseField>

<ResponseField name="name" type="string">
  Project name
</ResponseField>

<ResponseField name="mode" type="string">
  Operating mode: `vector_only` or `kg_vector`
</ResponseField>

<ResponseField name="created_at" type="string" format="datetime">
  When the project was created
</ResponseField>

<ResponseField name="ontology" type="object" optional>
  Complete ontology schema (null for Vector-Only projects)
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.intellibase.dev/api/v1/projects/proj-abc123 \
    -H "Authorization: Bearer ib-your-api-key"
  ```

  ```python Python theme={null}
  import requests

  project_id = "proj-abc123"

  response = requests.get(
      f"https://api.intellibase.dev/api/v1/projects/{project_id}",
      headers={"Authorization": "Bearer ib-your-api-key"}
  )

  project = response.json()
  print(f"Project: {project['name']}")
  print(f"Mode: {project['mode']}")
  if project['ontology']:
      print(f"Ontology: {project['ontology']['name']}")
  ```

  ```typescript TypeScript theme={null}
  const projectId = "proj-abc123";

  const response = await fetch(
    `https://api.intellibase.dev/api/v1/projects/${projectId}`,
    {
      headers: {
        "Authorization": "Bearer ib-your-api-key"
      }
    }
  );

  const project = await response.json();
  console.log(`Project: ${project.name}`);
  console.log(`Mode: ${project.mode}`);
  if (project.ontology) {
    console.log(`Ontology: ${project.ontology.name}`);
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 Success theme={null}
  {
    "project_id": "proj-abc123",
    "name": "Engineering Knowledge Base",
    "mode": "kg_vector",
    "created_at": "2024-01-15T10:30:00Z",
    "ontology": {
      "name": "Software Engineering",
      "hierarchy": [ ... ],
      "edge_types": [ ... ]
    }
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "detail": "Project proj-invalid not found"
  }
  ```

  ```json 403 Forbidden theme={null}
  {
    "detail": "You don't have access to this project"
  }
  ```
</ResponseExample>
