# Get contract file Retrieve information about a file on a contract Endpoint: GET /v2/contracts/{contractId}/files/{fileId} ## Path parameters: - `contractId` (integer, required) The system identifier for the contract Example: 5348 - `fileId` (integer, required) The system identifier for the file Example: 9456 ## Response 200 fields (application/json): - `id` (integer,null) The system identifier for the file Example: 9456 - `name` (string,null) The user defined name of the file including extension Example: "document.txt" - `displayId` (string,null) A system generated identifier of the file. Also known as "Document ID" Example: "LV0001-0000123.1" - `folder` (object,null) The folder where the file is located Folder is null when the file is located at the root of the resource - `folder.id` (integer) The system identifier for the folder Example: 786 - `folder.name` (string) The name of the folder Example: "Drafts" - `contentType` (string,null) The content type of the file binary Example: "text/plain" - `resource` (object,null) The resouce where the file is located - `resource.id` (integer) The system identifier for the resource Example: 78914 - `resource.type` (string) The type of the resource Enum: "Contract", "Matter" - `restricted` (boolean,null) Is the file access restricted - `size` (integer,null) The size of the file binary in bytes Example: 18139 - `version` (integer,null) The version number of the file Example: 3 - `created` (object,null) The user who created the file and when - `created.dateUtc` (string) The date and time the action was performed. The date and time uses the ISO-8601 format and will be in UTC Example: "2024-12-25T00:00:00Z" - `created.user` (object,null) The user who performed the action - `created.user.email` (string) The email of the user Example: "api.developer@lawvu.com" - `created.user.firstName` (string) The first name of the user Example: "Api" - `created.user.id` (string) The identifier of the user Example: "f0f1e06e-3005-4093-af7f-1934d55617e1" - `created.user.lastName` (string) The last name of the user Example: "Developer" - `created.user.organizationId` (integer) The organization the user belongs to Example: 8134 - `created.userName` (string) The username of who performed the action Example: "api.developer@lawvu.com" - `modified` (object,null) The username who modified the file and when ## Response 404 fields (application/problem+json): - `detail` (string) More information about the problem. - `instance` (string) The URI of the resource which the error relates to. - `operationId` (string) A unique trace identifier for the request. This should be provided when requesting support. - `status` (integer) The HTTP status code for the problem. - `title` (string) A short description of the error. - `type` (string) A URI which can be followed to find out more about the problem.