Files

Get a file

files_get · Reads only · Markdown

One file's details and a fresh download link, with the text of a small text file if asked.

Free*

*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.

An example

Send me a download link for the insurance policy, valid for a week.

Your agent callsfiles_getFree*

The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.

With these arguments
{
  "file_id": "0d2f4a6c-8e1b-4d3f-9a5c-7e9b1d3f5a8c",
  "link_hours": 168
}
What comes back
{
  "file": {
    "file_id": "0d2f4a6c-8e1b-4d3f-9a5c-7e9b1d3f5a8c",
    "name": "CBS-2026-1188.pdf",
    "content_type": "application/pdf",
    "size": "1.1 KB",
    "size_bytes": 1157,
    "sha256": "210badbad5d529776febed04fc51a2dc054611eeff2af5b39e00f93729dd5a0a",
    "created_at": "2026-10-14T08:00:00+00:00",
    "download_url": "https://cncto.co/d/0d2f4a6c-8e1b-4d3f-9a5c-7e9b1d3f5a8c?t=eyJmIjoiZTAwZWI2NzktNmU3Ni00YzExLWFhODAtYjZjYWQ5M2NlNGZlIiwiZXhwIjoxNzkyNjc4ODgyfQ:1xHMKg:DEo1KnWTIpmnm8QgHJVWMMQbEPhbvf-ZAYM1nGvVir4",
    "link_expires_in_hours": 168,
    "title": "Cascade Bike Supply invoice CBS-2026-1188",
    "document_date": "2026-10-13",
    "correspondent": "Cascade Bike Supply",
    "document_type": "Invoice",
    "tags": [
      "tax 2026"
    ],
    "fields": {
      "Total": {
        "amount": "462.50",
        "currency": "USD"
      }
    },
    "notes": null,
    "source": "upload",
    "email_message_id": null,
    "text": {
      "status": "read",
      "method": "text",
      "ocr_pages": null,
      "languages": null,
      "note": null
    }
  },
  "duplicate_of": null
}

Use it when

A download link is needed, or what a file is.

What it does

One file's details (title, tags, type, correspondent, document date, notes, fields, where it came from, whether Conecto has read its words) and a fresh download link. With include_text, a text file (Markdown, CSV, JSON...) of up to 200 KB also comes back as it is; files_read_text returns the words of any file, scans included once read.

What comes back

file: its details (title, tags, type, correspondent, document date, notes, fields, source, text status) and a download link; with include_text, the text of a small text file. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
file_idRequiredstringThe file_id files_upload returned. Exactly 36 characters.
link_hoursintegerHow long the download link works, in hours (up to 168, one week). 1 to 168. Default: 24.
include_textbooleanDefault: false.

The call

Over MCP, call files_get on https://api.conecto.chat/mcp/files. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/files_get \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"file_id":"0d2f4a6c-8e1b-4d3f-9a5c-7e9b1d3f5a8c","link_hours":168}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404No file of the business has that file_id.Find it with files_list.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md