> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get File by Path

> Retrieves a File's metadata using its path.



## OpenAPI

````yaml /openapi/product/filesets.yaml get /api/files/v1/filesets/{filesetId}/path
openapi: 3.0.0
info:
  title: FileSets API (BETA) (Product)
  version: v1
  description: >
    <Note>

    BETA: This API is currently in BETA and is subject to change. 

    Endpoints, request/response formats, and functionality may change without
    notice.

    <Note>

    API for managing FileSets and Files in Domo.
servers:
  - url: https://{instance}.domo.com
    description: Domo Instance
    variables:
      instance:
        default: api
        description: Your specific Domo instance name (e.g., mycompany)
security:
  - developerToken: []
tags:
  - name: File
    description: Operations for managing individual files within a FileSet.
  - name: FileSet
    description: Operations for managing FileSets (collections of files).
paths:
  /api/files/v1/filesets/{filesetId}/path:
    get:
      tags:
        - FileSets API (BETA) (Product)
      summary: Get File by Path
      description: Retrieves a File's metadata using its path.
      parameters:
        - name: filesetId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: path
          in: query
          required: true
          schema:
            type: string
          description: The path to the File within the FileSet.
      responses:
        '200':
          description: Full file metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileMetadataFull'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
components:
  schemas:
    FileMetadataFull:
      description: Full metadata for a file.
      allOf:
        - $ref: '#/components/schemas/FileMetadataBase'
        - type: object
          properties:
            hash:
              type: string
            hashAlgorithm:
              type: string
            downloadUrl:
              type: string
              format: url
              nullable: true
            connectorKey:
              type: string
              nullable: true
            indexStatus:
              type: string
              nullable: true
            indexReason:
              type: string
              nullable: true
    FileMetadataBase:
      description: Basic metadata for a file.
      type: object
      properties:
        id:
          type: string
          format: uuid
        path:
          type: string
        name:
          type: string
        fileType:
          type: string
        contentType:
          type: string
        size:
          type: integer
          format: int64
        created:
          type: string
          format: date-time
        createdBy:
          type: integer
  securitySchemes:
    developerToken:
      type: apiKey
      in: header
      name: X-DOMO-Developer-Token
      description: Domo Developer Token for authentication.

````