> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get Notion file upload

> Retrieve status and metadata for a Notion file upload.

`notion.getFileUpload` retrieve status and metadata for a Notion file upload.

## Example

```ts automations/notion-get-file-upload.automation.ts theme={null}
import { automation, onSchedule } from "automate.ax"
import { notion } from "automate.ax/notion"

export default automation("Get Notion file upload", () => {
  onSchedule({ schedule: "0 9 * * *" })

  notion.getFileUpload({ file_upload_id: "upload-id" })
})
```

## Inputs

`file_upload_id` is required. OAuth requires no additional content capability; personal access tokens use their normal API access. Every input accepts a compatible signal, and an optional second argument can select a named account.

## Output

Returns the `file_upload`, including expiry, filename, content type, byte length, status, and import or multipart details.
