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

# Get project

> Retrieve a single project by id

## Path parameters

<ParamField path="id" type="string" required>
  24-character hex ObjectId of the project.
</ParamField>

## Query parameters

<ParamField query="fields" type="string">
  Comma-separated list of top-level fields to include in the response.
  Defaults to `_id,name,status`.
</ParamField>

## Headers

<ParamField header="api-token" type="string" required />

## Response

<ResponseField name="success" type="boolean" />

<ResponseField name="data" type="Project">
  The project document, with these scrubs applied before returning:
  `files[]` limited to `{url, name, type}`, `output.files[]` limited to
  `{url, type, name, main}`, and `output_format.answers` + `output_format.template`
  stripped.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.dabarai.com/v1/projects/6982139a1234abcd00009999?fields=_id,name,status,files,output" \
    -H "api-token: YOUR_TOKEN"
  ```
</RequestExample>
