LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithsandboxFileStat
Interface●Since v0.13

FileStat

What a HEAD on a sandbox file reports, without transferring it.

Copy
interface FileStat

Properties

View source on GitHub
property
content_type: string
property
etag: string
property
last_modified: string
property
size_bytes: number

The server's content type for the file.

Strong validator for the current contents. Opaque -- compare it, never parse it. Pass it back as ifRange to resume a download safely, or as ifNoneMatch to poll for a change.

HTTP-date of the last modification, second-resolution.

The file's size.