# Get Slack file info

Automatically get Slack file info on slack.com. Get metadata for a file by its id (F…): name, title, type, size, uploader, timestamp, and permalink/download URLs. Requires login.

- Site: slack.com
- Address: `reduck/slack.com/get_file_info`
- Updated: 2026-10-22 (v2)
- Author: Reduck AI (reduck)

## Run it

Ask an AI agent connected to Reduck over MCP (`https://mcp.reduck.ai/mcp`) to run `reduck/slack.com/get_file_info`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/slack.com/get_file_info
```

## Input

- `file` (string, required): File id (F…), e.g. from list_files.
- `workspaceDomain` (string, optional): Workspace host, e.g. acme.slack.com. Defaults to the active workspace.

## Output

- `id` (string, required)
- `name` (string | null, optional)
- `size` (integer | null, optional)
- `user` (string | null, optional)
- `title` (string | null, optional)
- `created` (integer | null, optional)
- `channels` (array, optional)
- `filetype` (string | null, optional)
- `permalink` (string | null, optional)
- `urlPrivate` (string | null, optional)

## FAQ

### What does "Get Slack file info" do?

Get metadata for a file by its id (F…): name, title, type, size, uploader, timestamp, and permalink/download URLs. Requires login.

### How do I automatically get Slack file info on slack.com?

Ask an AI agent connected to Reduck to run reduck/slack.com/get_file_info, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/slack.com/get_file_info

### Is there a slack.com API to get Slack file info?

You do not need one. "Get Slack file info" drives the real slack.com pages in a browser, so it works whether or not slack.com offers an API for this.

### What information do I need to provide?

Required: file. Optional: workspaceDomain.

### What does it return?

It returns id, name, size, user, title, created, channels, filetype, permalink, urlPrivate.

### Do I need to be logged in to slack.com?

Yes. It acts as you on slack.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the slack.com cookies saved by the Reduck extension.

### Does it change anything on slack.com, or only read data?

Unknown: its author has not declared whether it changes anything on slack.com, so treat it as if it could.

### How do I run it?

Ask an AI agent connected to Reduck to run reduck/slack.com/get_file_info, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/slack.com/get_file_info

### Who maintains it?

It is part of Reduck's official curated catalogue.

Source: https://reduck.ai/explore/scripts/reduck/slack.com/get_file_info
