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

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

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

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `/authentication/login`

## Path parameters

- `project_id` integer, required
- `filename` string, required

## Query parameters

- `only_finished` boolean

## Response `200`

Successful Response

- integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) - [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/revisions/e498207e29f4?raw)
