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

# List entities

GET /apis/entities/v2/workspaces/{workspace}/entities/{entity_type}

List all entities of a specific type in the given workspace.

Use workspace="-" to list entities across all workspaces the principal has
access to.

Query Parameters:
- sort: Sort field
- page, page_size: Pagination
- filter: Advanced filters (JSON, text, or bracket notation)

Examples:
```
GET /apis/entities/v2/workspaces/default/entities/customization_config?sort=-created_at
GET /apis/entities/v2/workspaces/-/entities/customization_config  # Cross-workspace query
```

Reference: https://docs.nvidia.com/nemo-platform/nemo-platform/documentation/reference/api-reference/entity-store/list-entities-apis-entities-v-2-workspaces-workspace-entities-entity-type-get

## Request

### Path parameters

- `workspace` (string, required)
- `entity_type` (string, required)

### Query parameters

- `page` (integer, optional, default: 1) — Page number
- `page_size` (integer, optional, default: 100) — Items per page
- `sort` (string, optional, default: -created_at) — Sort field
- `count_by` (string, optional) — Optional direct string data field whose matching values should be counted.
- `filter` (string, optional) — Query filter expression. Supports text and JSON syntaxes: * Text: name:"value" AND status>500 with operators : \~ > >= \< \<= IN NOT IN AND OR and negation prefix - * Object (JSON): \{"name":\{"$like":"value"}} with operators $eq, $like, $lt, $lte, $gt, $gte, $in, $nin, $and, $or, $not * Bracket notation: ?filter\[name]\[\$like]=value * Relationship traversal: ?filter\[relationship]\[\$exists]=true or ?filter\[relationship]\[field]=value

## Response

### 200

Successful Response

- `data` (list of object, required)
  - `entity_type` (string, required) — Entity type identifier
  - `id` (string, required) — UUID identifier
  - `workspace` (string, required) — Workspace identifier
  - `name` (string, required) — Entity name
  - `data` (map from string to any, required) — Entity data
  - `created_at` (datetime, required) — Timestamp of entity creation
  - `updated_at` (datetime, required) — Timestamp of last entity update
  - `db_version` (integer, required) — Database version of the entity for optimistic locking.
  - `parent` (string, optional) — Parent entity ID for nested entities
  - `project` (string, optional) — The name of the project associated with this entity
  - `created_by` (string, optional) — Principal id for entity creator
  - `updated_by` (string, optional) — Principal id for last entity update
- `pagination` (object, optional) — Pagination information.
  - `page` (integer, required) — The current page number.
  - `page_size` (integer, required) — The page size used for the query.
  - `current_page_size` (integer, required) — The size for the current page.
  - `total_pages` (integer, required) — The total number of pages.
  - `total_results` (integer, required) — The total number of results.
- `sort` (string, optional) — The field on which the results are sorted.
- `filter` (map from string to any, optional) — Filtering information.
- `group_counts` (map from string to integer, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "data": [
    {
      "entity_type": "customization_config",
      "id": "a3f1c9e2-7b4d-4f8a-9d2e-5b6c7a8d9e0f",
      "workspace": "default",
      "name": "Header Color Scheme",
      "data": {
        "primary_color": "#0047ab",
        "secondary_color": "#f0f0f0",
        "font_family": "Arial, sans-serif",
        "enabled": true
      },
      "created_at": "2024-01-15T09:30:00Z",
      "updated_at": "2024-02-10T14:45:00Z",
      "db_version": 3,
      "parent": "b2d3f4a5-6c7e-8f90-1234-56789abcdef0",
      "project": "Website Redesign",
      "created_by": "user_12345",
      "updated_by": "user_67890"
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 10,
    "current_page_size": 1,
    "total_pages": 1,
    "total_results": 1
  },
  "sort": "-created_at",
  "filter": {},
  "group_counts": {}
}
```

**SDK Code**

```python
import requests

url = "https://api.example.com/apis/entities/v2/workspaces/workspace/entities/entity_type"

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

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

print(response.json())
```

```javascript
const url = 'https://api.example.com/apis/entities/v2/workspaces/workspace/entities/entity_type';
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://api.example.com/apis/entities/v2/workspaces/workspace/entities/entity_type"

	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://api.example.com/apis/entities/v2/workspaces/workspace/entities/entity_type")

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://api.example.com/apis/entities/v2/workspaces/workspace/entities/entity_type")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

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

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

```csharp
using RestSharp;

var client = new RestClient("https://api.example.com/apis/entities/v2/workspaces/workspace/entities/entity_type");
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://api.example.com/apis/entities/v2/workspaces/workspace/entities/entity_type")! 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()
```