> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/sdks-and-cli/files/info/get-file-info.md).

# Get File Info

The Files module provides cloud storage and file management — upload, download, access control, metadata, and CDN-backed delivery. Files can be referenced from Database records and follow the same identity and permission rules as the rest of the project. This method returns a single file info by id.

This method is on the runtime **API** surface (`norbix.api.files`) — call it from your app.

{% hint style="info" %}
These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See [Install a Norbix SDK](/sdks-and-cli/install.md).
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.api.files.getFileInfo({
  filesIntegrationId: 'filesintegration_4kX9mQvR2tYw7ZbC1dFgHj',
  path: 'invoices/2026/invoice.pdf',
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Api;

using var client = new NorbixClient();

var result = await client.Files.GetFileInfoAsync(new GetFileInfoRequest
{
    FilesIntegrationId = "filesintegration_4kX9mQvR2tYw7ZbC1dFgHj",
    Path = "invoices/2026/invoice.pdf",
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixApi

norbix = NorbixApi()

result = norbix.files.get_file_info(
    filesIntegrationId="filesintegration_4kX9mQvR2tYw7ZbC1dFgHj",
    path="invoices/2026/invoice.pdf",
)
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.API.Files.GetFileInfo(ctx, "filesintegration_4kX9mQvR2tYw7ZbC1dFgHj", map[string]any{
	"path": "invoices/2026/invoice.pdf",
}, &result)
```

{% endtab %}

{% tab title="Dart / Flutter" %}

```dart
import 'package:norbix/norbix_api.dart';

final api = NorbixApi();

final result = await api.files.getFileInfo(filesIntegrationId: 'filesintegration_4kX9mQvR2tYw7ZbC1dFgHj', body: {
  'path': 'invoices/2026/invoice.pdf',
});
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixSwift

let client = Norbix()

let result = try await client.api.files.getFileInfo([
    "filesIntegrationId": "filesintegration_4kX9mQvR2tYw7ZbC1dFgHj",
    "path": "invoices/2026/invoice.pdf",
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import dev.norbix.sdk.api.NorbixApi

val api = NorbixApi()

val result = api.files.getFileInfo(mapOf(
    "filesIntegrationId" to "filesintegration_4kX9mQvR2tYw7ZbC1dFgHj",
    "path" to "invoices/2026/invoice.pdf",
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix files info invoices/2026/invoice.pdf
```

{% endtab %}
{% endtabs %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Files → Info](/norbix-cloud/files-service.md).

## API reference

Full request and response for this endpoint: [Get File Info](/api-reference/files/info/get-file-info.md).
