---
title: "Returns the Id of the SourceDocument identified by project_id and filename if it exists"
method: GET
path: "/project/{proj_id}/resolve_filename/{filename}"
tags: ["project"]
---

# Returns the Id of the SourceDocument identified by project_id and filename if it exists

`GET /project/{proj_id}/resolve_filename/{filename}`

## Path parameters

- `proj_id` integer, required
- `filename` string, required

## Query parameters

- `only_finished` boolean

## Response `200`

Successful Response

- integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/revisions/6fcf6b0bc28a/schema)
