Skip to main content
GET
/
api
/
files
/
v1
/
filesets
/
{fileSetId}
/
files
/
{fileId}
Get a File or Directory by ID
curl --request GET \
  --url https://{subdomain}.domo.com/api/files/v1/filesets/{fileSetId}/files/{fileId} \
  --header 'X-DOMO-Developer-Token: <api-key>'
{
  "id": "7150e608-c3a9-4b40-ac2d-eb182cc98c6f",
  "path": "sample/directory/path/PaidTimeOffPolicy.pdf",
  "name": "PaidTimeOffPolicy.pdf",
  "fileType": "DOCUMENT",
  "contentType": "application/pdf",
  "size": 69502,
  "hash": "ce0da94c741125c597cf3d54a3202cebdc16d7fe1074698219f724654595221c",
  "hashAlgorithm": "SHA_256_HEX",
  "downloadUrl": "",
  "created": "2025-07-28T21:47:39.814Z",
  "createdBy": 27,
  "connectorKey": null,
  "indexStatus": null,
  "indexReason": null
}

Documentation Index

Fetch the complete documentation index at: https://domoinc-openapi-sync-documents.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-DOMO-Developer-Token
string
header
required

Path Parameters

fileSetId
string
required

The ID of the FileSet containing the File or Directory.

fileId
string
required

The ID of the File or Directory to retrieve.

Response

File/Directory retrieved successfully

The metadata for a file set file.

id
string

Unique identifier for the file.

path
string

The full path of the file, including the file name.

name
string

The name of the file, without the full path.

fileType
enum<string>

The type of the file's contents.

Available options:
AUDIO,
VIDEO,
IMAGE,
TEXT,
DOCUMENT,
DIRECTORY,
OTHER,
UNKNOWN
contentType
string

The MIME type of the file, such as "image/png" or "application/pdf".

size
integer

The size of the file in bytes.

hash
string

The hash of the file's contents, used for integrity checks and deduplication.

hashAlgorithm
enum<string>

The algorithm used to compute the hash of the file.

Available options:
SHA_1,
SHA_256_HEX,
MD5,
UNKNOWN
downloadUrl
string

A URL to download the file's contents, if available.

created
string<date-time>

The timestamp when the file was created.

createdBy
integer<int64>

The ID of the user who created the file.

connectorKey
string

The key of the connector that manages the file, used for identifying the source of the file.

indexStatus
enum<string>

The status of the file's indexing, indicating whether it has been processed for search and retrieval, if applicable.

Available options:
PENDING,
QUEUED,
IN_PROGRESS,
RAG_RECEIVED,
COMPLETED,
FAILED,
SKIPPED,
UNKNOWN
indexReason
string

The reason for the file's indexing status, providing context for why it may not have been indexed.