Version 4.0.26.22 (latest)

### Get Project File Info

Returns information about a file in the project

## Request

GET /projects/{project_id}/files/file Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... project_id string Project Id query HTTP Query Expand HTTP Query definition... file_id string File Id fields string Requested fields

## Response

### 200: Project File

Datatype Description (object) [ProjectFile](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ProjectFile) can object Operations the current user is able to perform on this object id string An opaque token uniquely identifying a file within a project. Avoid parsing or decomposing the text of this token. This token is stable within a Looker release but may change between Looker releases path string Path, file name, and extension of the file relative to the project root directory title string Display name type string File type: model, view, etc extension string The extension of the file: .view.lkml, .model.lkml, etc mime_type string File mime type editable boolean State of editability for the file. git_status [GitStatus](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/GitStatus) Status of the file according to git Expand GitStatus definition... action string Git action: add, delete, etc conflict boolean When true, changes to the local file conflict with the remote repository revertable boolean When true, the file can be reverted to an earlier state text string Git description of the action

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link