> 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 Annotations

GET https://host.com/apis/intake/v2/workspaces/{workspace}/annotations

Reference: https://docs.nvidia.com/nemo-platform/nemo-platform/documentation/reference/api-reference/annotations/list-annotations-apis-intake-v-2-workspaces-workspace-annotations-get

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Nemo Platform API
  version: 1.0.0
paths:
  /apis/intake/v2/workspaces/{workspace}/annotations:
    get:
      operationId: list-annotations-apis-intake-v-2-workspaces-workspace-annotations-get
      summary: List Annotations
      tags:
        - subpackage_annotations
      parameters:
        - name: workspace
          in: path
          required: true
          schema:
            type: string
        - name: page
          in: query
          description: Page number.
          required: false
          schema:
            type: integer
            default: 1
        - name: page_size
          in: query
          description: Page size.
          required: false
          schema:
            type: integer
            default: 10
        - name: sort
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/AnnotationSortField'
            default: '-created_at'
        - name: filter
          in: query
          description: >-
            Filter annotations by span_id, session_id, kind, name, created_by,
            and created_at range.
          required: false
          schema:
            $ref: '#/components/schemas/AnnotationFilter'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationsPage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
servers:
  - url: https://host.com
    description: Default
components:
  schemas:
    AnnotationSortField:
      type: string
      enum:
        - created_at
        - '-created_at'
      title: AnnotationSortField
    AnnotationKind:
      type: string
      enum:
        - feedback
        - label
        - note
        - metadata
      title: AnnotationKind
    NumericFilter:
      type: object
      properties:
        $gte:
          type: number
          format: double
          description: Include only values greater than or equal to this number.
        $lte:
          type: number
          format: double
          description: Include only values less than or equal to this number.
      description: >-
        Range filter for numeric annotation values.


        At least one of `$gte` or `$lte` must be supplied — an empty `{}` is not
        a

        meaningful filter and is rejected.
      title: NumericFilter
    DatetimeFilter:
      type: object
      properties:
        $gte:
          type: string
          format: date-time
          description: Filter for results greater than or equal to this datetime.
        $lte:
          type: string
          format: date-time
          description: Filter for results less than or equal to this datetime.
      title: DatetimeFilter
    AnnotationFilter:
      type: object
      properties:
        span_id:
          type: string
          description: Return only annotations attached to this span.
        session_id:
          type: string
          description: Return only annotations attached to this session.
        kind:
          $ref: '#/components/schemas/AnnotationKind'
          description: >-
            Return only annotations of this kind (`feedback`, `note`, `label`,
            or `metadata`).
        name:
          type: string
          description: >-
            Return only `label` annotations with this `name` (e.g., `severity`,
            `helpfulness`).
        value_text:
          type: string
          description: >-
            Return only annotations with this text value. For `feedback`
            annotations this is `positive` or `negative`; for `label`
            annotations with `value_type=text` this is the label's value.
        value_numeric:
          $ref: '#/components/schemas/NumericFilter'
          description: >-
            Return only `label` annotations whose numeric value falls within the
            given range. Applies to labels with `value_type=numeric`.
        created_by:
          type: string
          description: Return only annotations created by this user.
        created_at:
          $ref: '#/components/schemas/DatetimeFilter'
          description: Return only annotations created within the given time range.
      title: AnnotationFilter
    FeedbackAnnotationValue:
      type: string
      enum:
        - positive
        - negative
      description: Sentiment of the feedback.
      title: FeedbackAnnotationValue
    LabelAnnotationValueType:
      type: string
      enum:
        - text
        - numeric
      description: Whether `value` is a text label (`text`) or a number (`numeric`).
      title: LabelAnnotationValueType
    LabelAnnotationValue:
      oneOf:
        - type: string
        - type: number
          format: double
      description: >-
        The label's value. A string when `value_type=text`, a number when
        `value_type=numeric`.
      title: LabelAnnotationValue
    Annotation:
      oneOf:
        - type: object
          properties:
            kind:
              type: string
              enum:
                - feedback
              description: Discriminator. Always `feedback` for this variant.
            annotation_id:
              type: string
            workspace:
              type: string
            span_id:
              type: string
              description: >-
                Id of the span this annotation applies to, or omitted for
                session-level annotations.
            session_id:
              type: string
            created_by:
              type: string
            created_at:
              type: string
              format: date-time
            ingested_at:
              type: string
              format: date-time
            value:
              $ref: '#/components/schemas/FeedbackAnnotationValue'
              description: Sentiment of the feedback.
          required:
            - kind
            - annotation_id
            - workspace
            - session_id
            - created_at
            - ingested_at
            - value
          description: Thumbs-up / thumbs-down feedback on a span or session.
        - type: object
          properties:
            kind:
              type: string
              enum:
                - label
              description: Discriminator. Always `label` for this variant.
            annotation_id:
              type: string
            workspace:
              type: string
            span_id:
              type: string
              description: >-
                Id of the span this annotation applies to, or omitted for
                session-level annotations.
            session_id:
              type: string
            created_by:
              type: string
            created_at:
              type: string
              format: date-time
            ingested_at:
              type: string
              format: date-time
            value_type:
              $ref: '#/components/schemas/LabelAnnotationValueType'
              description: >-
                Whether `value` is a text label (`text`) or a number
                (`numeric`).
            value:
              $ref: '#/components/schemas/LabelAnnotationValue'
              description: >-
                The label's value. A string when `value_type=text`, a number
                when `value_type=numeric`.
            name:
              type: string
              description: Name identifying what the label measures, when set.
          required:
            - kind
            - annotation_id
            - workspace
            - session_id
            - created_at
            - ingested_at
            - value_type
            - value
          description: Categorical or numeric label attached to a span or session.
        - type: object
          properties:
            kind:
              type: string
              enum:
                - metadata
              description: Discriminator. Always `metadata` for this variant.
            annotation_id:
              type: string
            workspace:
              type: string
            span_id:
              type: string
              description: >-
                Id of the span this annotation applies to, or omitted for
                session-level annotations.
            session_id:
              type: string
            created_by:
              type: string
            created_at:
              type: string
              format: date-time
            ingested_at:
              type: string
              format: date-time
            metadata:
              type: object
              additionalProperties:
                description: Any type
              description: The metadata key/value pairs.
          required:
            - kind
            - annotation_id
            - workspace
            - session_id
            - created_at
            - ingested_at
            - metadata
          description: Structured key/value metadata attached to a span or session.
        - type: object
          properties:
            kind:
              type: string
              enum:
                - note
              description: Discriminator. Always `note` for this variant.
            annotation_id:
              type: string
            workspace:
              type: string
            span_id:
              type: string
              description: >-
                Id of the span this annotation applies to, or omitted for
                session-level annotations.
            session_id:
              type: string
            created_by:
              type: string
            created_at:
              type: string
              format: date-time
            ingested_at:
              type: string
              format: date-time
            text:
              type: string
              description: The note content.
          required:
            - kind
            - annotation_id
            - workspace
            - session_id
            - created_at
            - ingested_at
            - text
          description: Free-text note attached to a span or session.
      discriminator:
        propertyName: kind
      description: Discriminated annotation read response. The shape varies by `kind`.
      title: Annotation
    PaginationData:
      type: object
      properties:
        page:
          type: integer
          description: The current page number.
        page_size:
          type: integer
          description: The page size used for the query.
        current_page_size:
          type: integer
          description: The size for the current page.
        total_pages:
          type: integer
          description: The total number of pages.
        total_results:
          type: integer
          description: The total number of results.
      required:
        - page
        - page_size
        - current_page_size
        - total_pages
        - total_results
      title: PaginationData
    AnnotationsPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Annotation'
        pagination:
          $ref: '#/components/schemas/PaginationData'
          description: Pagination information.
        sort:
          type: string
          description: The field on which the results are sorted.
        filter:
          type: object
          additionalProperties:
            description: Any type
          description: Filtering information.
      required:
        - data
      title: AnnotationsPage
    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
{
  "data": [
    {
      "kind": "feedback",
      "annotation_id": "a1b2c3d4-e5f6-7890-ab12-cdef34567890",
      "created_at": "2024-01-15T09:30:00Z",
      "ingested_at": "2024-01-15T09:30:00Z",
      "session_id": "session_0987654321fedcba",
      "value": "positive",
      "workspace": "nemo_workspace_01",
      "created_by": "user_jdoe",
      "span_id": "span_1234567890abcdef"
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 10,
    "current_page_size": 1,
    "total_pages": 1,
    "total_results": 1
  },
  "sort": "-created_at",
  "filter": {}
}
```

**SDK Code**

```python
import requests

url = "https://host.com/apis/intake/v2/workspaces/workspace/annotations"

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

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

print(response.json())
```

```javascript
const url = 'https://host.com/apis/intake/v2/workspaces/workspace/annotations';
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/intake/v2/workspaces/workspace/annotations"

	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/intake/v2/workspaces/workspace/annotations")

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/intake/v2/workspaces/workspace/annotations")
  .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/intake/v2/workspaces/workspace/annotations', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

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