Get File

mistral.get_file
ActionAI & modelsconnection required

Calls the Mistral AI API with the connection's credentials.

Fetch one uploaded file's record — its name, size, purpose and MIME type.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Mistral AI
Secret shape
{"api_key": "…"} — a Mistral API key
Config it needs
base_url, default_model
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
file_id
The id returned by an upload or a list call.
stringYes———

Output

One shape.

result

FieldTypeExample
id
The file id to reference in later calls.
string—
filename
The name the file was stored under.
string—
bytes
Stored size in bytes.
number—
purpose
What the file may be used for.
string—
created_at
Upload time as a Unix timestamp.
number—
mimetype
The MIME type Mistral recorded for the file.
string—
object
Always 'file'.
string—
sample_type
How Mistral classified the file's contents.
string—
source
Where the file came from, e.g. upload or mistral.
string—
deleted
True once the file has been deleted.
boolean—
num_lines
Line count, for the JSONL files fine-tuning uses.
number—
signature
Mistral's integrity signature for the stored file.
string—
expires_at
When the file expires, as a Unix timestamp, if it does.
number—
visibility
Whether the file is workspace-wide or user-private.
string—
{
  "bytes": 0,
  "created_at": 0,
  "deleted": false,
  "expires_at": 0,
  "filename": "",
  "id": "",
  "mimetype": "",
  "num_lines": 0,
  "object": "",
  "purpose": "",
  "sample_type": "",
  "signature": "",
  "source": "",
  "visibility": ""
}

See Get File run in a workflow.

In a technical demo we add the Mistral AI connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.