Relativity AnnotationService API

The AnnotationService API from Relativity — 2 operation(s) for annotationservice.

Operations 3

POST /v{version}/workspaces/{workspaceID}/Annotations/save Creates or updates redactions and highlights for a document in a workspace.
GET /v{version}/workspaces/{workspaceID}/Annotations/{documentID}/{markUpSetID} Retrieves annotations for a document and markup set in a workspace.
DELETE /v{version}/workspaces/{workspaceID}/Annotations/{documentID}/{markUpSetID} Deletes annotations for a document and markup set in a workspace.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/relativity-annotationservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

relativity-annotationservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Analytics.Conceptual.Service.Interfaces.Public.V1 Annotation Service API
  description: Analytics.Conceptual.Service.Interfaces.Public
  version: V1
servers:
- url: /Relativity.REST/api
  description: The URL prefix for all Kepler services
tags:
- name: AnnotationService
paths:
  /v{version}/workspaces/{workspaceID}/Annotations/save:
    post:
      tags:
      - AnnotationService
      summary: Creates or updates redactions and highlights for a document in a workspace.
      description: 'This endpoint accepts a collection of annotations. New annotations are created and existing annotations are updated

        when their identifiers are provided.'
      parameters:
      - name: workspaceID
        in: path
        description: Workspace's Artifact ID.
        required: true
        schema:
          type: integer
          format: int32
      - name: version
        in: path
        required: true
        schema:
          type: string
      requestBody:
        description: Request body containing one or more annotations to create or update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Reviewservice.Api.V2.Models.SaveAnnotationsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Reviewservice.Api.V2.Models.SaveAnnotationsRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Reviewservice.Api.V2.Models.SaveAnnotationsRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.SaveAnnotationsReturnObject'
            application/json:
              schema:
                $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.SaveAnnotationsReturnObject'
            text/json:
              schema:
                $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.SaveAnnotationsReturnObject'
  /v{version}/workspaces/{workspaceID}/Annotations/{documentID}/{markUpSetID}:
    get:
      tags:
      - AnnotationService
      summary: Retrieves annotations for a document and markup set in a workspace.
      description: Returns the current annotation payload associated with the document image and markup set.
      parameters:
      - name: workspaceID
        in: path
        description: Workspace's Artifact ID.
        required: true
        schema:
          type: integer
          format: int32
      - name: documentID
        in: path
        description: Document's Artifact ID.
        required: true
        schema:
          type: integer
          format: int32
      - name: markUpSetID
        in: path
        description: MarkupSet's Artifact ID.
        required: true
        schema:
          type: integer
          format: int32
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.AnnotationList'
            application/json:
              schema:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.AnnotationList'
            text/json:
              schema:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.AnnotationList'
    delete:
      tags:
      - AnnotationService
      summary: Deletes annotations for a document and markup set in a workspace.
      description: Removes one or more annotations specified in the request body from the target document and markup set.
      parameters:
      - name: workspaceID
        in: path
        description: Workspace's Artifact ID.
        required: true
        schema:
          type: integer
          format: int32
      - name: documentID
        in: path
        description: Document's Artifact ID.
        required: true
        schema:
          type: integer
          format: int32
      - name: markUpSetID
        in: path
        description: MarkupSet's Artifact ID.
        required: true
        schema:
          type: integer
          format: int32
      - name: version
        in: path
        required: true
        schema:
          type: string
      requestBody:
        description: Request body containing annotation identifiers to remove.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Reviewservice.Api.V2.Models.DeleteAnnotationsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Reviewservice.Api.V2.Models.DeleteAnnotationsRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Reviewservice.Api.V2.Models.DeleteAnnotationsRequest'
      responses:
        '200':
          description: OK
components:
  schemas:
    Reviewservice.Api.V2.Models.SaveAnnotationsRequest:
      type: object
      properties:
        annotations:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.Annotation'
      additionalProperties: false
    Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.AnnotationList:
      type: object
      properties:
        Annotations:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.Annotation'
      additionalProperties: false
    Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.Annotation:
      type: object
      properties:
        ID:
          type: integer
          format: int32
        X:
          type: number
          format: double
        Y:
          type: number
          format: double
        PageNumber:
          type: integer
          format: int32
        Height:
          type: number
          format: double
        Width:
          type: number
          format: double
        MarkupType:
          type: integer
          format: int32
        MarkupSubType:
          type: integer
          format: int32
        DrawCrossLines:
          type: boolean
        FillA:
          type:
          - integer
          - 'null'
          format: int32
        FillR:
          type:
          - integer
          - 'null'
          format: int32
        FillG:
          type:
          - integer
          - 'null'
          format: int32
        FillB:
          type:
          - integer
          - 'null'
          format: int32
        BorderStyle:
          type:
          - integer
          - 'null'
          format: int32
        BorderSize:
          type:
          - integer
          - 'null'
          format: int32
        BorderA:
          type:
          - integer
          - 'null'
          format: int32
        BorderR:
          type:
          - integer
          - 'null'
          format: int32
        BorderG:
          type:
          - integer
          - 'null'
          format: int32
        BorderB:
          type:
          - integer
          - 'null'
          format: int32
        FontA:
          type:
          - integer
          - 'null'
          format: int32
        FontR:
          type:
          - integer
          - 'null'
          format: int32
        FontG:
          type:
          - integer
          - 'null'
          format: int32
        FontB:
          type:
          - integer
          - 'null'
          format: int32
        FontName:
          type:
          - string
          - 'null'
        FontStyle:
          type:
          - integer
          - 'null'
          format: int32
        ZOrder:
          type: integer
          format: int32
        Text:
          type:
          - string
          - 'null'
        FontSize:
          type:
          - integer
          - 'null'
          format: int32
        ImageWidth:
          type: integer
          format: int32
        ImageHeight:
          type: integer
          format: int32
        Guid:
          type:
          - string
          - 'null'
        WorkspaceID:
          type: integer
          format: int32
        PageHeight:
          type: integer
          format: int32
        PageWidth:
          type: integer
          format: int32
        ValuesAreScaledToDB:
          type: boolean
        DocumentArtifactID:
          type: integer
          format: int32
        MarkupSetArtifactID:
          type: integer
          format: int32
        ModifiedBy:
          type: integer
          format: int32
        CreatedOn:
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: false
    Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.SaveAnnotationsReturnObject:
      type: object
      properties:
        Success:
          type: boolean
        ErrorCode:
          type: integer
          format: int32
        CustomErrorMessage:
          type:
          - string
          - 'null'
        AnnotationIDs:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
      additionalProperties: false
    Reviewservice.Api.V2.Models.DeleteAnnotationsRequest:
      type: object
      properties:
        annotationIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
      additionalProperties: false