> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://nemo-platform.docs.buildwithfern.com/nemo/platform/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://nemo-platform.docs.buildwithfern.com/nemo/platform/_mcp/server.

# Get Fileset by Workspace and Name

GET https://host.com/apis/files/v2/workspaces/{workspace}/filesets/{name}

Get Fileset by Workspace and Name.

Returns the details of a specific fileset identified by its workspace and name.

Reference: https://nemo-platform.docs.buildwithfern.com/nemo/platform/nemo/platform/documentation/reference/api-reference/files/retrieve-fileset-apis-files-v-2-workspaces-workspace-filesets-name-get

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Nemo Platform API
  version: 1.0.0
paths:
  /apis/files/v2/workspaces/{workspace}/filesets/{name}:
    get:
      operationId: retrieve-fileset-apis-files-v-2-workspaces-workspace-filesets-name-get
      summary: Get Fileset by Workspace and Name
      description: >-
        Get Fileset by Workspace and Name.


        Returns the details of a specific fileset identified by its workspace
        and name.
      tags:
        - subpackage_files
      parameters:
        - name: workspace
          in: path
          required: true
          schema:
            type: string
        - name: name
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilesetOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
servers:
  - url: https://host.com
    description: Default
components:
  schemas:
    FilesetPurpose:
      type: string
      enum:
        - dataset
        - generic
        - model
      title: FilesetPurpose
    LocalStorageConfig:
      type: object
      properties:
        read_chunk_size:
          type: integer
          default: 1048576
          description: >-
            Chunk size in bytes for reading/streaming files. Larger chunks
            reduce async overhead but increase memory per concurrent download.
            Default: 1MB.
        type:
          type: string
          enum:
            - local
          default: local
        path:
          type: string
        write_buffer_size:
          type: integer
          default: 16777216
          description: How many bytes to buffer before flushing to disk
      required:
        - path
      title: LocalStorageConfig
    NgcStorageConfigTargetType:
      type: string
      enum:
        - resource
        - model
      default: resource
      description: 'Type of NGC asset: ''resource'' or ''model'''
      title: NgcStorageConfigTargetType
    SecretRef:
      type: string
      description: >-
        Reference to a secret. Format: 'secret_name' (uses request workspace) or
        'workspace/secret_name' (explicit workspace).
      title: SecretRef
    NGCStorageConfig:
      type: object
      properties:
        read_chunk_size:
          type: integer
          default: 1048576
          description: >-
            Chunk size in bytes for reading/streaming files. Larger chunks
            reduce async overhead but increase memory per concurrent download.
            Default: 1MB.
        type:
          type: string
          enum:
            - ngc
          default: ngc
        org:
          type: string
          description: NGC organization name
        team:
          type: string
          description: NGC team name
        target:
          type: string
          description: NGC asset name (model or resource)
        target_type:
          $ref: '#/components/schemas/NgcStorageConfigTargetType'
          default: resource
          description: 'Type of NGC asset: ''resource'' or ''model'''
        version:
          type: string
          description: NGC asset version. If not provided, defaults to latest version
        original_version:
          type: string
          description: >-
            The original version requested by the user before resolution (e.g.,
            'latest' or None). The 'version' field contains the resolved version
            ID.
        api_key_secret:
          $ref: '#/components/schemas/SecretRef'
          description: NGC API key secret name
        host:
          type: string
          default: https://api.ngc.nvidia.com
          description: NGC API host URL
      required:
        - org
        - team
        - target
        - api_key_secret
      title: NGCStorageConfig
    HuggingfaceStorageConfigRepoType:
      type: string
      enum:
        - model
        - dataset
        - space
      default: model
      description: 'Type of Huggingface repository: ''model'', ''dataset'', or ''space'''
      title: HuggingfaceStorageConfigRepoType
    HuggingfaceStorageConfig:
      type: object
      properties:
        read_chunk_size:
          type: integer
          default: 1048576
          description: >-
            Chunk size in bytes for reading/streaming files. Larger chunks
            reduce async overhead but increase memory per concurrent download.
            Default: 1MB.
        type:
          type: string
          enum:
            - huggingface
          default: huggingface
        repo_id:
          type: string
          description: Huggingface repository ID (e.g., 'meta-llama/Llama-2-7b')
        repo_type:
          $ref: '#/components/schemas/HuggingfaceStorageConfigRepoType'
          default: model
          description: 'Type of Huggingface repository: ''model'', ''dataset'', or ''space'''
        revision:
          type: string
          default: main
          description: Branch, tag, or commit SHA. Defaults to 'main'
        original_revision:
          type: string
          description: >-
            The original revision requested by the user before resolution (e.g.,
            'main'). The 'revision' field contains the resolved commit SHA.
        token_secret:
          $ref: '#/components/schemas/SecretRef'
          description: Huggingface API `token` secret name for private repositories
        endpoint:
          type: string
          default: https://huggingface.co
          description: Huggingface Hub endpoint URL. Use for self-hosted instances.
      required:
        - repo_id
      title: HuggingfaceStorageConfig
    S3StorageConfigSignatureVersion:
      type: string
      enum:
        - s3v4
        - s3
      default: s3v4
      description: >-
        AWS signature version for request signing. Use 's3' for legacy systems
        that only support signature v2.
      title: S3StorageConfigSignatureVersion
    S3StorageConfig:
      type: object
      properties:
        read_chunk_size:
          type: integer
          default: 1048576
          description: >-
            Chunk size in bytes for reading/streaming files. Larger chunks
            reduce async overhead but increase memory per concurrent download.
            Default: 1MB.
        type:
          type: string
          enum:
            - s3
          default: s3
        bucket:
          type: string
          description: S3 bucket name
        prefix:
          type: string
          default: ''
          description: >-
            Optional prefix (folder path) within the bucket. All operations will
            be relative to this prefix.
        region:
          type: string
          description: >-
            AWS region. If not specified, uses SDK default (env vars, instance
            metadata, etc.)
        endpoint_url:
          type: string
          description: >-
            Custom endpoint URL for S3-compatible storage (e.g., MinIO, Garage,
            RustFS). If not specified, uses AWS S3.
        use_sdk_auth:
          type: boolean
          default: false
          description: >-
            Use AWS SDK credential chain for authentication (env vars like
            AWS_ACCESS_KEY_ID, IAM roles, instance profiles, etc.). This option
            is only available for the platform's default storage backend.
            User-provided S3 storage must use explicit credentials via
            access_key_id_secret and secret_access_key_secret.
        access_key_id_secret:
          $ref: '#/components/schemas/SecretRef'
          description: Secret reference for AWS access key ID. Requires use_sdk_auth=False.
        secret_access_key_secret:
          $ref: '#/components/schemas/SecretRef'
          description: >-
            Secret reference for AWS secret access key. Requires
            use_sdk_auth=False.
        signature_version:
          $ref: '#/components/schemas/S3StorageConfigSignatureVersion'
          default: s3v4
          description: >-
            AWS signature version for request signing. Use 's3' for legacy
            systems that only support signature v2.
      required:
        - bucket
      title: S3StorageConfig
    FilesetOutputStorage:
      oneOf:
        - $ref: '#/components/schemas/LocalStorageConfig'
        - $ref: '#/components/schemas/NGCStorageConfig'
        - $ref: '#/components/schemas/HuggingfaceStorageConfig'
        - $ref: '#/components/schemas/S3StorageConfig'
      title: FilesetOutputStorage
    DatasetMetadataContentSchema:
      oneOf:
        - type: object
          additionalProperties:
            description: Any type
        - type: string
      description: >-
        Default row schema for files in this fileset, either inline JSON Schema
        or a schema_defs key.
      title: DatasetMetadataContentSchema
    DatasetMetadataContentSchemasByPath:
      oneOf:
        - type: object
          additionalProperties:
            description: Any type
        - type: string
      title: DatasetMetadataContentSchemasByPath
    DatasetMetadataContent:
      type: object
      properties:
        schema:
          $ref: '#/components/schemas/DatasetMetadataContentSchema'
          description: >-
            Default row schema for files in this fileset, either inline JSON
            Schema or a schema_defs key.
        schema_defs:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              description: Any type
          description: >-
            Reusable JSON Schema definitions keyed by name for deduplicating
            per-file dataset schemas.
        schemas_by_path:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/DatasetMetadataContentSchemasByPath'
          description: >-
            Optional per-file row schemas keyed by relative path within the
            fileset. Each value may be inline JSON Schema or a schema_defs key.
      description: Content for dataset-type filesets.
      title: DatasetMetadataContent
    ToolCallingMetadataContent:
      type: object
      properties:
        chat_template:
          type: string
          description: Jinja2 chat template for the model.
        tool_call_parser:
          type: string
          description: >-
            Name of the tool call parser (e.g., 'openai', 'hermes', 'pythonic',
            'llama3_json', 'mistral').
        tool_call_plugin:
          type: string
          description: >-
            Reference to a fileset containing a custom tool call plugin Python
            file. Expected format: '{workspace}/{fileset_name}'.
        auto_tool_choice:
          type: boolean
          description: Whether to enable automatic tool choice.
      description: |-
        Content for tool-calling configuration on model filesets.

        Stores chat template and tool calling settings that are merged into
        the ModelSpec during checkpoint analysis.
      title: ToolCallingMetadataContent
    ModelMetadataContent:
      type: object
      properties:
        tool_calling:
          $ref: '#/components/schemas/ToolCallingMetadataContent'
      description: |-
        Content for model-type filesets.

        Contains tool calling configuration that is merged into the ModelSpec
        during checkpoint analysis.
      title: ModelMetadataContent
    FilesetMetadataOutput:
      type: object
      properties:
        dataset:
          $ref: '#/components/schemas/DatasetMetadataContent'
        model:
          $ref: '#/components/schemas/ModelMetadataContent'
      description: |-
        Tagged metadata container - the key indicates the type.

        Example:
            metadata = FilesetMetadata(
                dataset=DatasetMetadataContent(
                    schema={"columns": ["id", "name"]},
                )
            )
      title: FilesetMetadataOutput
    FilesetOutput:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        workspace:
          type: string
        description:
          type: string
        purpose:
          $ref: '#/components/schemas/FilesetPurpose'
        storage:
          $ref: '#/components/schemas/FilesetOutputStorage'
        metadata:
          $ref: '#/components/schemas/FilesetMetadataOutput'
        custom_fields:
          type: object
          additionalProperties:
            description: Any type
        project:
          type: string
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - name
        - workspace
        - description
        - purpose
        - storage
        - metadata
        - custom_fields
        - project
        - created_at
        - updated_at
      description: Response DTO for fileset operations.
      title: FilesetOutput
    ValidationErrorLocItems:
      oneOf:
        - type: string
        - type: integer
      title: ValidationErrorLocItems
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorLocItems'
        msg:
          type: string
        type:
          type: string
        input:
          description: Any type
        ctx:
          type: object
          additionalProperties:
            description: Any type
      required:
        - loc
        - msg
        - type
      title: ValidationError
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      title: HTTPValidationError

```

## Examples



**Request**

```json
{}
```

**Response**

```json
{
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "name": "customer_data_2024",
  "workspace": "marketing_team",
  "description": "Fileset containing customer data for Q1 2024 marketing analysis",
  "purpose": "dataset",
  "storage": {
    "read_chunk_size": 1048576,
    "type": "local",
    "path": "/mnt/data/marketing/customer_data_2024",
    "write_buffer_size": 16777216
  },
  "metadata": {
    "dataset": {
      "schema": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "signup_date": {
            "type": "string",
            "format": "date"
          },
          "purchase_amount": {
            "type": "number"
          }
        },
        "required": [
          "customer_id",
          "email",
          "signup_date"
        ]
      },
      "schema_defs": {},
      "schemas_by_path": {
        "2024/Q1/customers.csv": {
          "type": "object",
          "properties": {
            "customer_id": {
              "type": "string"
            },
            "email": {
              "type": "string",
              "format": "email"
            },
            "signup_date": {
              "type": "string",
              "format": "date"
            },
            "purchase_amount": {
              "type": "number"
            }
          },
          "required": [
            "customer_id",
            "email",
            "signup_date"
          ]
        }
      }
    },
    "model": {
      "tool_calling": {
        "chat_template": "Hello {{user}}, how can I assist you with the customer data?",
        "tool_call_parser": "openai",
        "tool_call_plugin": "analytics_team/customer_data_plugin",
        "auto_tool_choice": false
      }
    }
  },
  "custom_fields": {
    "data_owner": "jane.doe@example.com",
    "retention_policy": "2 years"
  },
  "project": "Q1 Marketing Campaign",
  "created_at": "2024-04-01T09:15:00Z",
  "updated_at": "2024-04-15T16:45:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://host.com/apis/files/v2/workspaces/workspace/filesets/name"

payload = {}
headers = {"Content-Type": "application/json"}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://host.com/apis/files/v2/workspaces/workspace/filesets/name';
const options = {method: 'GET', headers: {'Content-Type': 'application/json'}, body: '{}'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://host.com/apis/files/v2/workspaces/workspace/filesets/name"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://host.com/apis/files/v2/workspaces/workspace/filesets/name")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://host.com/apis/files/v2/workspaces/workspace/filesets/name")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://host.com/apis/files/v2/workspaces/workspace/filesets/name', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://host.com/apis/files/v2/workspaces/workspace/filesets/name");
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://host.com/apis/files/v2/workspaces/workspace/filesets/name")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```