Cohesity Test Data Management API

The Test Data Management API from Cohesity — 6 operation(s) for test data management.

Operations 8

GET /tdm/objects Get all TDM objects #
GET /tdm/objects/{id} Get TDM object by ID #
GET /tdm/objects/{id}/timeline-events Get timeline events of object #
PUT /tdm/snapshots/{id} Update a snapshot by ID #
DELETE /tdm/snapshots/{id} Delete a snapshot by ID #
GET /tdm/tasks Get all TDM tasks #
POST /tdm/tasks Create a TDM task #
GET /tdm/tasks/{id} Get a TDM task by ID #

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/cohesity-test-data-management-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

cohesity-test-data-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Cohesity API provides a RESTful interface to access the various data management operations on Cohesity cluster and Helios.
  title: Cohesity REST Test Data Management API
  version: '2.0'
servers:
- url: /v2
tags:
- name: Test Data Management
paths:
  /tdm/objects:
    get:
      description: Get all TDM objects matching specified optional filter criteria.
      tags:
      - Test Data Management
      summary: Get all TDM objects
      operationId: GetTdmObjects
      parameters:
      - description: Get the objects matching specifies IDs.
        name: ids
        in: query
        schema:
          type: array
          items:
            type: string
      - description: Get the objects matching specified environments.
        name: environments
        in: query
        schema:
          type: array
          items:
            enum:
            - kSQL
            - kOracle
            type: string
      - description: Get the objects matching specified name.
        name: name
        in: query
        schema:
          type: string
      - description: Get the objects belonging to the specified TDM task IDs.
        name: taskIds
        in: query
        schema:
          type: array
          items:
            type: string
      - description: Get the objects matching specified statuses.
        name: statuses
        in: query
        schema:
          type: array
          items:
            enum:
            - scheduled
            - inProgress
            - succeeded
            - failed
            - canceled
            type: string
      - description: Get the next set of objects by specifying the cookie string, as received from the server in the last call.
        name: paginationCookie
        in: query
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GetTdmObjectsResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
  /tdm/objects/{id}:
    get:
      description: Get a TDM object by specifying its ID.
      tags:
      - Test Data Management
      summary: Get TDM object by ID
      operationId: GetTdmObjectById
      parameters:
      - description: Specifies the ID of the TDM object.
        name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GetTdmObjectResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
  /tdm/objects/{id}/timeline-events:
    get:
      description: Get the collection of timeline events of a TDM object by specifying its ID.
      tags:
      - Test Data Management
      summary: Get timeline events of object
      operationId: GetTdmTimelineEventsByObjectId
      parameters:
      - description: Specifies the ID of the TDM object.
        name: id
        in: path
        required: true
        schema:
          type: string
      - description: Get the events created after the specified time (in usecs from epoch).
        name: createdAfter
        in: query
        schema:
          type: integer
          format: int64
      - description: Get the events created before the specified time (in usecs from epoch).
        name: createdBefore
        in: query
        schema:
          type: integer
          format: int64
      responses:
        '200':
          $ref: '#/components/responses/GetTdmObjectTimelineEventsResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
  /tdm/snapshots/{id}:
    put:
      description: Update the details of a snapshot by specifying its ID.
      tags:
      - Test Data Management
      summary: Update a snapshot by ID
      operationId: UpdateTdmSnapshotById
      parameters:
      - description: Specifies the ID of the snapshot.
        name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/UpdateTdmSnapshotResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTdmSnapshotRequest'
        description: Specifies the parameters to update the snapshot.
        required: true
    delete:
      description: Delete a snapshot by specifying its ID.
      tags:
      - Test Data Management
      summary: Delete a snapshot by ID
      operationId: DeleteTdmSnapshotById
      parameters:
      - description: Specifies the ID of the snapshot.
        name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/NoContentResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
  /tdm/tasks:
    get:
      description: Get all the TDM tasks matching specified optional filter criteria.
      tags:
      - Test Data Management
      summary: Get all TDM tasks
      operationId: GetTdmTasks
      parameters:
      - description: Get the tasks matching specified IDs.
        name: ids
        in: query
        schema:
          type: array
          items:
            type: string
      - description: Get the tasks matching specified actions.
        name: actions
        in: query
        schema:
          type: array
          items:
            enum:
            - clone
            - teardown
            - refresh
            - snapshot
            - rewind
            type: string
      - description: Get the tasks matching specified environments.
        name: environments
        in: query
        schema:
          type: array
          items:
            enum:
            - kSQL
            - kOracle
            type: string
      - description: Get the tasks created after the specified time (in usecs from epoch).
        name: createdAfterUsecs
        in: query
        schema:
          type: integer
          format: int64
      - description: Get the tasks created before the specified time (in usecs from epoch).
        name: createdBeforeUsecs
        in: query
        schema:
          type: integer
          format: int64
      - description: Get the tasks matching specified statuses.
        name: statuses
        in: query
        schema:
          type: array
          items:
            enum:
            - scheduled
            - inProgress
            - succeeded
            - failed
            - canceled
            type: string
      - description: Get the tasks for the specified TDM object IDs.
        name: objectIds
        in: query
        schema:
          type: array
          items:
            type: string
      - description: Get the next set of tasks by specifying the cookie string, as received from the server in the last call.
        name: paginationCookie
        in: query
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GetTdmTasksResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
    post:
      description: Create a task for the Test Data Management (TDM) workflow.
      tags:
      - Test Data Management
      summary: Create a TDM task
      operationId: CreateTdmTask
      responses:
        '201':
          $ref: '#/components/responses/CreateTdmTaskResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              x-cohesity-discriminator-ref: CommonTdmTaskRequestParams
              $ref: '#/components/schemas/CommonTdmTaskRequestParams4b65913c-05f2-4bdd-b9d7-66a297c749d1'
        description: Specifies the parameters to create a TDM task.
        required: true
  /tdm/tasks/{id}:
    get:
      description: Get a TDM task by ID.
      tags:
      - Test Data Management
      summary: Get a TDM task by ID
      operationId: GetTdmTaskById
      parameters:
      - description: Specifies the ID of the TDM task.
        name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GetTdmTaskResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
components:
  schemas:
    TdmRefreshTaskResponseParams:
      description: Specifies the response parameters for a refresh task.
      type: object
      allOf:
      - $ref: '#/components/schemas/CommonTdmRefreshTaskResponseParams'
      - type: object
        properties:
          oracleParams:
            x-cohesity-discriminator-value: kOracle
            x-order: 0
            $ref: '#/components/schemas/OracleCloneRefreshTask'
    CommonPostBackupScriptParams:
      description: Specifies the common params for PostBackup scripts.
      title: Common PostBackup Script Params
      allOf:
      - $ref: '#/components/schemas/CommonPrePostScriptParams'
    ObjectSnapshot:
      description: Specifies an Object Snapshot.
      type: object
      title: Object Snapshot.
      properties:
        id:
          description: Specifies the id of the snapshot.
          type:
          - string
          - 'null'
          x-order: 0
        snapshotTargetType:
          description: Specifies the target type where the Object's snapshot resides.
          type:
          - string
          - 'null'
          enum:
          - Local
          - Archival
          x-order: 1
        indexingStatus:
          description: Specifies the indexing status of objects in this snapshot.<br> 'InProgress' indicates the indexing is in progress.<br> 'Done' indicates indexing is done.<br> 'NoIndex' indicates indexing is not applicable.<br> 'Error' indicates indexing failed with error.
          type:
          - string
          - 'null'
          enum:
          - InProgress
          - Done
          - NoIndex
          - Error
          x-order: 2
        protectionGroupId:
          description: Specifies id of the Protection Group.
          type:
          - string
          - 'null'
          pattern: ^\d+:\d+:\d+$
          x-order: 3
        protectionGroupName:
          description: Specifies name of the Protection Group.
          type:
          - string
          - 'null'
          x-order: 4
        protectionGroupRunId:
          description: Specifies id of the Protection Group Run.
          type:
          - string
          - 'null'
          pattern: ^\d+:\d+$
          x-order: 5
        runInstanceId:
          description: Specifies the instance id of the protection run which create the snapshot.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 6
        runStartTimeUsecs:
          description: Specifies the start time of the run in micro seconds.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 7
        sourceGroupId:
          description: Specifies the source protection group id in case of replication.
          type:
          - string
          - 'null'
          x-order: 8
        runType:
          description: Specifies the type of protection run created this snapshot.
          type:
          - string
          - 'null'
          enum:
          - kRegular
          - kFull
          - kLog
          - kSystem
          - kHydrateCDP
          x-order: 9
        environment:
          description: Specifies the snapshot environment.
          type:
          - string
          - 'null'
          enum:
          - kVMware
          - kHyperV
          - kAzure
          - kKVM
          - kAWS
          - kAcropolis
          - kGCP
          - kPhysical
          - kPhysicalFiles
          - kIsilon
          - kNetapp
          - kGenericNas
          - kFlashBlade
          - kElastifile
          - kGPFS
          - kPure
          - kNimble
          - kSQL
          - kOracle
          - kExchange
          - kAD
          - kView
          - kO365
          - kHyperFlex
          - kKubernetes
          - kCassandra
          - kMongoDB
          - kCouchbase
          - kHdfs
          - kHive
          - kHBase
          - kUDA
          x-order: 10
        snapshotTimestampUsecs:
          description: Specifies the timestamp in Unix time epoch in microseconds when the snapshot is taken for the specified Object.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 11
        expiryTimeUsecs:
          description: Specifies the expiry time of the snapshot in Unix timestamp epoch in microseconds. If the snapshot has no expiry, this property will not be set.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 12
        externalTargetInfo:
          description: Specifies the external target information if this is an archival snapshot.
          allOf:
          - $ref: '#/components/schemas/ArchivalTargetSummaryInfo'
          - {}
          x-order: 13
        storageDomainId:
          description: Specifies the Storage Domain id where the snapshot of object is present.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 14
        hasDataLock:
          description: Specifies if this snapshot has datalock.
          type:
          - boolean
          - 'null'
          x-order: 15
        onLegalHold:
          description: Specifies if this snapshot is on legalhold.
          type:
          - boolean
          - 'null'
          x-order: 16
        objectId:
          description: Specifies the object id which the snapshot is taken from.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 17
        objectName:
          description: Specifies the object name which the snapshot is taken from.
          type:
          - string
          - 'null'
          x-order: 18
        sourceId:
          description: Specifies the object source id which the snapshot is taken from.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 19
        physicalParams:
          description: Specifies the parameters specific to Physical type snapshot.
          allOf:
          - $ref: '#/components/schemas/PhysicalSnapshotParams'
          - {}
          x-order: 20
        hypervParams:
          description: Specifies the parameters specific to HyperV type snapshot.
          allOf:
          - $ref: '#/components/schemas/HypervSnapshotParams'
          - {}
          x-order: 21
        awsParams:
          description: Specifies the parameters specific to AWS type snapshot.
          allOf:
          - $ref: '#/components/schemas/AwsSnapshotParams'
          - {}
          x-order: 22
        azureParams:
          description: Specifies the parameters specific to Azure type snapshot.
          allOf:
          - $ref: '#/components/schemas/AzureSnapshotParams'
          - {}
          x-order: 23
        netappParams:
          description: Specifies the parameters specific to NetApp type snapshot.
          allOf:
          - $ref: '#/components/schemas/NetappObjectParams'
          - {}
          x-order: 24
        isilonParams:
          description: Specifies the parameters specific to Isilon type snapshot.
          allOf:
          - $ref: '#/components/schemas/IsilonObjectParams'
          - {}
          x-order: 25
        gpfsParams:
          description: Specifies the parameters specific to GPFS type snapshot.
          allOf:
          - $ref: '#/components/schemas/CommonNasObjectParams'
          - {}
          x-order: 26
        flashbladeParams:
          description: Specifies the parameters specific to Flashblade type snapshot.
          allOf:
          - $ref: '#/components/schemas/FlashbladeObjectParams'
          - {}
          x-order: 27
        genericNasParams:
          description: Specifies the parameters specific to Generic NAS type snapshot.
          allOf:
          - $ref: '#/components/schemas/CommonNasObjectParams'
          - {}
          x-order: 28
        elastifileParams:
          description: Specifies the parameters specific to NetApp type snapshot.
          allOf:
          - $ref: '#/components/schemas/CommonNasObjectParams'
          - {}
          x-order: 29
    TierLevelSettings:
      description: 'Specifies the settings tier levels configured with each archival target. The tier settings need to be applied in specific order and default tier should always be passed as first entry in tiers array. The following example illustrates how to configure tiering input for AWS tiering. Same type of input structure applied to other cloud platforms also. <br>If user wants to achieve following tiering for backup, <br>User Desired Tiering- <br><t>1.Archive Full back up for 12 Months <br><t>2.Tier Levels <br><t><t>[1,12] [ <br><t><t><t>s3 (1 to 2 months), (default tier) <br><t><t><t>s3 Intelligent tiering (3 to 6 months), <br><t><t><t>s3 One Zone (7 to 9 months) <br><t><t><t>Glacier (10 to 12 months)] <br><t>API Input <br><t><t>1.tiers-[ <br><t><t><t>{''tierType'': ''S3'',''moveAfterUnit'':''months'', <br><t><t><t>''moveAfter'':2 - move from s3 to s3Inte after 2 months}, <br><t><t><t>{''tierType'': ''S3Inte'',''moveAfterUnit'':''months'', <br><t><t><t>''moveAfter'':4 - move from S3Inte to Glacier after 4 months}, <br><t><t><t>{''tierType'': ''Glacier'', ''moveAfterUnit'':''months'', <br><t><t><t>''moveAfter'': 3 - move from Glacier to S3 One Zone after 3 months }, <br><t><t><t>{''tierType'': ''S3 One Zone'', ''moveAfterUnit'': nil, <br><t><t><t>''moveAfter'': nil - For the last record, ''moveAfter'' and ''moveAfterUnit'' <br><t><t><t>will be ignored since there are no further tier for data movement } <br><t><t><t>}]'
      type: object
      required:
      - cloudPlatform
      properties:
        cloudPlatform:
          description: Specifies the cloud platform to enable tiering.
          type:
          - string
          - 'null'
          enum:
          - AWS
          - Azure
          - Oracle
          - Google
          x-order: 0
        awsTiering:
          description: Specifies the settings for AWS Tiers.
          type:
          - object
          - 'null'
          x-order: 1
          $ref: '#/components/schemas/AWSTiers'
        azureTiering:
          description: Specifies the settings for Azure Tiers.
          type:
          - object
          - 'null'
          x-order: 2
          $ref: '#/components/schemas/AzureTiers'
        googleTiering:
          description: Specifies the settings for Google Tiers.
          type:
          - object
          - 'null'
          x-order: 3
          $ref: '#/components/schemas/GoogleTiers'
        oracleTiering:
          description: Specifies the settings for Oracle Tiers.
          type:
          - object
          - 'null'
          x-order: 4
          $ref: '#/components/schemas/OracleTiers'
    PaginationInfo:
      description: Specifies information needed to support pagination.
      type: object
      properties:
        cookie:
          description: Specifies a cookie which can be passed in by the user in order to retrieve the next page of results.
          type:
          - string
          - 'null'
          x-order: 0
    FlashbladeObjectParams:
      description: Specifies the common parameters for Flashblade objects.
      type: object
      properties:
        supportedNasMountProtocols:
          description: Specifies a list of NAS mount protocols supported by this object.
          type:
          - array
          - 'null'
          items:
            type: string
            enum:
            - kNfs
            - kCifs2
            - kHttp
          x-order: 0
    OracleTiers:
      description: Specifies Oracle tiers.
      type: object
      required:
      - tiers
      properties:
        tiers:
          description: Specifies the tiers that are used to move the archived backup from current tier to next tier. The order of the tiers determines which tier will be used next for moving the archived backup. The first tier input should always be default tier where backup will be acrhived. Each tier specifies how much time after the backup will be moved to next tier from the current tier.
          type:
          - array
          - 'null'
          minLength: 1
          items:
            $ref: '#/components/schemas/OracleTier'
          x-order: 0
    CommonOracleCloneParams:
      description: Specifies the common properties of an Oracle clone.
      type: object
      required:
      - dbName
      - homeFolder
      - baseFolder
      properties:
        dbName:
          description: Specifies the name of the cloned database.
          type:
          - string
          - 'null'
          x-order: 0
        homeFolder:
          description: Specifies the home folder for the cloned database.
          type:
          - string
          - 'null'
          x-order: 1
        baseFolder:
          description: Specifies the base folder of Oracle installation on the target host.
          type:
          - string
          - 'null'
          x-order: 2
        sga:
          description: Specifies the System Global Area (SGA) for the clone database.
          type:
          - string
          - 'null'
          x-order: 3
    CommonNasObjectParams:
      description: Specifies the common parameters for NAS objects.
      type: object
      properties:
        supportedNasMountProtocols:
          description: Specifies a list of NAS mount protocols supported by this object.
          type:
          - array
          - 'null'
          items:
            type: string
            enum:
            - kNoProtocol
            - kNfs3
            - kCifs1
            - kCifs2
            - kCifs3
          x-order: 0
    CommonTdmObjectResponseParams:
      description: Specifies the common parameters for a TDM object response.
      type: object
      required:
      - id
      - environment
      properties:
        id:
          description: Specifies the unique ID of the object.
          type:
          - string
          - 'null'
          x-order: 0
        name:
          description: Specifies the name of the object.
          type:
          - string
          - 'null'
          x-order: 1
        status:
          description: Specifies the current status of the object.
          type:
          - string
          - 'null'
          enum:
          - scheduled
          - inProgress
          - succeeded
          - failed
          - canceled
          x-order: 2
        environment:
          description: Specifies the environment of the object.
          type:
          - string
          - 'null'
          enum:
          - kSQL
          - kOracle
          x-order: 3
        createdByUser:
          description: Specifies the user, who created the object.
          allOf:
          - $ref: '#/components/schemas/User'
          x-order: 4
        lastAction:
          description: Specifies the details of the last action performed on this object.
          allOf:
          - $ref: '#/components/schemas/TdmObjectTimelineEvent'
          x-order: 5
        sizeBytes:
          description: Specifies the size (in bytes) of the object.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 6
        parent:
          description: Specifies the parent of the object.
          allOf:
          - $ref: '#/components/schemas/ObjectSummary'
          x-order: 7
      x-cohesity-discriminator-details:
        propertyName: environment
    User:
      description: Specifies a user object.
      type: object
      title: User
      properties:
        name:
          description: Specifies the name of the user.
          type:
          - string
          - 'null'
          x-order: 0
        sid:
          description: Specifies the sid of the user.
          type:
          - string
          - 'null'
          x-order: 1
        domain:
          description: Specifies the domain of the user.
          type:
          - string
          - 'null'
          x-order: 2
    CommonTdmCloneTaskResponseParams:
      description: Specifies the common response params for a TDM clone task.
      type: object
      allOf:
      - $ref: '#/components/schemas/CommonTdmCloneTaskParams'
      - type: object
        properties:
          snapshot:
            description: Specifies the details of the snapshot used for cloning.
            allOf:
            - $ref: '#/components/schemas/ObjectSnapshot'
            x-order: 0
          parent:
            description: Specifies the details of the parent object of the clone.
            allOf:
            - $ref: '#/components/schemas/ObjectSummary'
            x-order: 1
          target:
            description: Specifies the details of the target, where the clone is created.
            allOf:
            - $ref: '#/components/schemas/ObjectSummary'
            x-order: 2
          view:
            description: Specifies the details of the view, which is used for the clone.
            allOf:
            - $ref: '#/components/schemas/ViewParams'
            x-order: 3
    ObjectIdentifier:
      description: Specifies the basic info to identify an object.
      title: Object Identifier.
      properties:
        id:
          description: Specifies object id.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 0
        name:
          description: Specifies the name of the object.
          type:
          - string
          - 'null'
          x-order: 1
        sourceId:
          description: Specifies registered source id to which object belongs.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 2
        sourceName:
          description: Specifies registered source name to which object belongs.
          type:
          - string
          - 'null'
          x-order: 3
        environment:
          description: Specifies the environment of the object.
          type:
          - string
          - 'null'
          enum:
          - kVMware
          - kHyperV
          - kAzure
          - kKVM
          - kAWS
          - kAcropolis
          - kGCP
          - kPhysical
          - kPhysicalFiles
          - kIsilon
          - kNetapp
          - kGenericNas
          - kFlashBlade
          - kElastifile
          - kGPFS
          - kPure
          - kNimble
          - kSQL
          - kOracle
          - kExchange
          - kAD
          - kView
          - kO365
          - kHyperFlex
          - kKubernetes
          - kCassandra
          - kMongoDB
          - kCouchbase
          - kHdfs
          - kHive
          - kHBase
          - kUDA
          x-order: 4
    ObjectTypeVCenterParams:
      type: object
      title: Object Type VCenter Params
      properties:
        isCloudEnv:
          description: Specifies that registered vCenter source is a VMC (VMware Cloud) environment or not.
          type:
          - boolean
          - 'null'
          x-order: 0
    CommonTdmTaskResponseParams81bccdc8-f441-4a25-a03e-85698b230b37:
      description: Specifies the common parameters for a TDM task response.
      type: object
      required:
      - id
      - action
      properties:
        id:
          description: Specifies the unique ID of the task.
          type:
          - string
          - 'null'
          x-order: 0
        name:
          description: Specifies the name of the task.
          type:
          - string
          - 'null'
          x-order: 1
        startTimeUsecs:
          description: Specifies the time (in usecs from epoch) when the task was started.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 2
        endTimeUsecs:
          description: Specifies the time (in usecs from epoch) when the task was completed.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 3
        status:
          description: Specifies the current status of the task.
          type:
          - string
          - 'null'
          enum:
          - scheduled
          - inProgress
          - succeeded
          - failed
          - canceled
          x-order: 4
        action:
          description: Specifies the TDM Task action.
          type:
          - string
          - 'null'
          enum:
          - clone
          - teardown
          - refresh
          - snapshot
          - rewind
          x-order: 5
        createdByUser:
          description: Specifies the user, who created this task.
          allOf:
          - $ref: '#/components/schemas/User'
          x-order: 6
        progressTaskId:
          description: Specifies the ID for tracking progress of this task.
          type:
          - string
          - 'null'
          x-order: 7
      x-cohesity-discriminator-details:
        propertyName: action
      x-discriminator:
        mapping:
          clone: '#/definitions/CommonTdmTaskResponseParams81bccdc8-f441-4a25-a03e-85698b230b37TdmCloneTaskResponseParamsWrapper'
          refresh: '#/definitions/CommonTdmTaskResponseParams81bccdc8-f441-4a25-a03e-85698b230b37TdmRefreshTaskResponseParamsWrapper'
        propertyName: action
    ArchivalTargetTierInfo:
      description: Specifies the tier info for archival.
      title: Archival Target Tier Info
      allOf:
      - $ref: '#/components/schemas/TierLevelSettings'
      - type: object
        properties:
          currentTierType:
            description: Specifies the type of the current tier where the snapshot resides. This will be specified if the run is a CAD run.
            type:
            - string
            - 'null'
            enum:
            - kAmazonS3Standard
            - kAmazonS3StandardIA
            - kAmazonS3OneZoneIA
            - kAmazonS3IntelligentTiering
            - kAmazonS3Glacier
            - kAmazonS3GlacierDeepArchive
            - kAzureTierHot
            - kAzureTierCool
            - kAzureTierArchive
            - kGoogleStandard
            - kGoogleRegional
            - kGoogleMultiRegional
            - kGoogleNearline
            - kGoogleColdline
            - kOracleTierStandard
            - kOracleTierArchive
            x-order: 0
    AzureTier:
      description: Specifies the settings for a Azure tier.
      type: object
      allOf:
      - $ref: '#/components/schemas/CommonCloudTierSettings'
      - type: object
        required:
        - tierType
        properties:
          tierType:
            description: Specifies the Azure tier types.
            type:
            - string
            - 'null'
            enum:
            - kAzureTierHot
            - kAzureTierCool
            - kAzureTierArchive
            x-order: 0
    CommonTdmObjectTimelineEventsResponseParams:
      description: Specifies the common parameters for the TDM object timeline events response.
      type: object
      required:
      - id
      - action
      properties:
        id:
          description: Specifies the unique ID of the event.
          type:
          - string
          - 'null'
          x-order: 0
        createdAt:
          description: Specifies the time (in usecs from epoch) at which the event was created.
          type:
          - integer
          - 'null'
          format: int64
          x-order: 1
        createdByUser:
          description: Specifies the user, who triggered the event.
          allOf:
          - $ref: '#/components/schemas/User'
          x-order: 2
        status:
          description: Specifies the current status of the event.
          type:
          - string
          - 'null'
          enum:
          - scheduled
          - inProgress
          - succeeded
          - failed
          - canceled
          x-order: 3
        errorMessage:
          description: Specifies the error message if the event is in failed state.
          type:
          - string
          - 'null'
          x-order: 4
        description:
          description: Specifies

# --- truncated at 32 KB (67 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cohesity/refs/heads/main/openapi/cohesity-test-data-management-api-openapi.yml