Cohesity Views API

The Views API from Cohesity — 24 operation(s) for views.

Business capability
IT Infrastructure Management BC-600.50

Operations 43

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /public/nlmLocks List NLM file locks on the cluster · List the NLM locks that match the filter criteria specified using parameters #
Ask an LLM
“Which NLM locks are currently held on files in my Cohesity views?”
“Can I see the NLM locks on a single file path inside one view?”
Tell an agent
List all NLM locks currently held on the cluster.
Show the NLM locks in view {viewName} on file {filePath}.
DELETE /public/nlmLocks Clear stuck NLM file locks · Clear NLM locks that match the filter criteria specified using parameters #
Ask an LLM
“How do I release NLM locks a crashed NFS client left behind on a view?”
“Can I clear only the NLM locks held by one client id?”
Tell an agent destructive · confirm first
Clear the NLM locks held by client {clientId}.
Release the NLM locks on {filePath} in view {viewName}.
GET /public/qosPolicies Look up view QoS policies · Fetches QoS Policies of a view #
Ask an LLM
“What Quality of Service policies can a view be assigned?”
“Can I look up a QoS policy by its name to check its settings?”
Tell an agent
List the QoS policies available for views.
Get the QoS policies named {names}.
GET /public/shares Find shares by share name · List shares filtered by name #
Ask an LLM
“Which SMB or NFS shares on the cluster have a name containing a given string?”
“Can I search shares by a name prefix instead of an exact match?”
Tell an agent
Find shares whose name contains {shareName}.
Search shares by name {shareName} and return at most {maxCount}.
GET /public/smbConnections Check SMB connections to a view · Fetches Smb Connection Status of a view #
Ask an LLM
“Who is currently connected over SMB to my views?”
“Can the SMB connection status include the client SIDs too?”
Tell an agent
Show the SMB connections for view {viewNames}.
List SMB connections to views {viewIds} including client SIDs.
PUT /public/viewAliases Change settings on an existing view alias · Update a View Alias. #
Ask an LLM
“Can I turn on SMB encryption for a view alias that already exists?”
“How do I restrict which subnets can reach an existing view alias?”
Tell an agent
Update view alias {aliasName} to enforce SMB encryption.
Change the subnet whitelist on existing alias {aliasName} to {subnetWhitelist}.
POST /public/viewAliases Create a view alias for a directory · Create a View Alias. #
Ask an LLM
“How can I let users mount a subdirectory of a view without typing the full path?”
“What does a new view alias need: a view name and a path inside it?”
Tell an agent
Create alias {aliasName} pointing at {viewPath} in view {viewName}.
Add a new SMB-discoverable alias {aliasName} for view {viewName}.
DELETE /public/viewAliases/{name} Delete a view alias · Delete a View Alias #
Ask an LLM
“Can I remove a view alias without touching the view it points to?”
“What happens to mounts when I delete a view alias?”
Tell an agent destructive · confirm first
Delete view alias {name}.
Remove the alias called {name} from the cluster.
POST /public/viewAliases/{name}/activate Activate a view's aliases from its source view · Activates the view aliases of a view from it's source view #
Ask an LLM
“After a failover, how do I bring a view's aliases over from its source view?”
“Can aliases be activated for a whole view in one call?”
Tell an agent
Activate the aliases of view {name} from its source view.
Bring the source view's aliases live on view {name}.
GET /public/viewDirectoryQuotas Get directory quotas for a view · Gets directory quota info for a view. Returns error if op fails #
Ask an LLM
“What directory quota policies are set on a view?”
“Is directory quota enabled on this view, and with which limits?”
Tell an agent
Show the directory quota info for view {viewName}.
Get directory quota usage and policies on {viewName}.
PUT /public/viewDirectoryQuotas Set or disable a view's directory quota · Updates a directory quota policy for a view. Returns error if op fails #
Ask an LLM
“How do I cap the size of one directory inside a view?”
“Can I switch directory quotas off for a view entirely?”
Tell an agent
Apply directory quota policy {quota} on view {viewName}.
Disable directory quotas on view {viewName}.
GET /public/viewUserQuotas Get per-user quotas and usage for a view · Get the quota policies, usage and summary for a view for all its users. #
Ask an LLM
“Which users in a view are close to or over their quota?”
“Can I see one user's quota usage across all the views they use?”
Tell an agent
Show user quota policies and usage for view {viewName}.
Get the quota usage for Unix user {unixUid} across all their views.
PUT /public/viewUserQuotas Change a user's quota override in a view · Update a new quota policy for a user in a view #
Ask an LLM
“Can I raise the quota for one user who already has an override on a view?”
“How do I edit an existing per-user quota policy?”
Tell an agent
Update the existing user quota override in view {viewName} to {userQuotaPolicy}.
Change the quota limit on a user already overridden in {viewName}.
POST /public/viewUserQuotas Add a quota override for a user in a view · Create a new quota policy for a user in a view #
Ask an LLM
“How do I give a single user their own storage limit on a view?”
“Can one user get a different quota than the view's default?”
Tell an agent
Create a new user quota policy {userQuotaPolicy} in view {viewName}.
Add a per-user quota override for a user on {viewName}.
DELETE /public/viewUserQuotas Remove user quota overrides from a view · Delete the quota policy overrides for users in a view #
Ask an LLM
“Can I drop every user quota override on a view at once?”
“How do I remove quota overrides for specific users so they fall back to the default?”
Tell an agent destructive · confirm first
Delete the quota overrides for users {userIds} in view {viewName}.
Remove all user quota overrides from view {viewName}.
PUT /public/viewUserQuotasSettings Configure user quota settings for a view · Update the user quota settings in a view #
Ask an LLM
“How do I turn on user quotas for a view and set a default per-user limit?”
“Can a view inherit its default user quota from its storage domain?”
Tell an agent
Enable user quotas on view {viewName} with default policy {defaultUserQuotaPolicy}.
Make view {viewName} inherit its default user quota from the storage domain.
GET /public/views List views (older public endpoint) · List Views filtered by some parameters #
Ask an LLM
“Which views are protected by a given Protection Job, using the older public views list?”
“Can the legacy views listing show only views with antivirus scanning on?”
Tell an agent
Using the older public views list, show views protected by job {jobIds}.
List views in View Box {viewBoxNames} from the legacy public endpoint.
PUT /public/views Update a view (older public endpoint, no name in path) · Update a View #
Ask an LLM
“Is there a legacy endpoint that updates a view with the settings sent in the body alone?”
“Can the older public update endpoint change a view's QoS policy?”
Tell an agent
Via the legacy body-only view update, set the logical quota to {logicalQuota}.
Through the older public view update, change the description to {description}.
POST /public/views Create a view (older public endpoint) · Create a View #
Ask an LLM
“How do I create a new view in a View Box using the older public views API?”
“Which protocols can a view expose when I create it through the legacy endpoint?”
Tell an agent
Using the legacy public API, create view {name} in View Box {viewBoxId}.
Create view {name} in View Box {viewBoxId} with protocol access {protocolAccess} via the old endpoint.
POST /public/views/clone Clone a view into a new view · Clone a View #
Ask an LLM
“Can I make a copy of an entire view under a new name?”
“Is it possible to put a DataLock expiry on a cloned view?”
Tell an agent
Clone view {sourceViewName} as {cloneViewName}.
Clone {sourceViewName} to {cloneViewName} with DataLock until {dataLockExpiryUsecs}.
POST /public/views/cloneDirectory Clone a directory within views · Clone a directory of a view #
Ask an LLM
“Can I copy just one directory of a view rather than the whole view?”
“Where does a cloned directory land when I clone it?”
Tell an agent
Clone directory {sourceDirectoryPath} into {destinationParentDirectoryPath} as {destinationDirectoryName}.
Make a copy of folder {sourceDirectoryPath} named {destinationDirectoryName}.
GET /public/views/id/{id} Get a view by numeric id (older public endpoint) · List details about a single View #
Ask an LLM
“On the older public API, how do I look up a view when I only have its numeric id?”
“Does the legacy view-by-id lookup return the full view configuration?”
Tell an agent
Using the legacy public endpoint, get the view with id {id}.
Fetch view details for view id {id} from /public/views/id.
DELETE /public/views/id/{id} Delete a view by id (older public endpoint) · Delete a View #
Ask an LLM
“Can the older public API delete a view by its id instead of its name?”
“Is deleting a view by id on the legacy endpoint reversible?”
Tell an agent destructive · confirm first
Using the legacy public endpoint, delete the view with id {id}.
Remove view number {id} via /public/views/id.
GET /public/views/id/{id}/fileLocks Check a file's lock status in a view by view id · Fetches the lock status of a file in a view #
Ask an LLM
“If I only know the view id, can I check whether a file in it is locked?”
“When does the WORM lock on a file in a view identified by id expire?”
Tell an agent
Check the lock status of {path} in view id {id}.
Tell me whether file {path} is locked in the view with id {id}.
POST /public/views/id/{id}/fileLocks Lock a file in a view by view id · Lock a file in a view and optionally update its expiry timestamp #
Ask an LLM
“Can I lock a file against changes when I reference its view by id?”
“How do I extend a file lock's expiry in a view known only by id?”
Tell an agent
Lock file {path} in view id {id}.
Lock {path} in view id {id} until {expiryTimestampMsecs}.
POST /public/views/overwrite Overwrite one view with another's contents · Overwrites a Target view with contents of a Source view #
Ask an LLM
“Can I replace everything in a target view with the contents of a source view?”
“What happens to the existing data in the target view when I overwrite it?”
Tell an agent destructive · confirm first
Overwrite view {targetViewName} with the contents of {sourceViewName}.
Replace {targetViewName} with a copy of view {sourceViewName}.
POST /public/views/rename/id/{id} Rename a view by its id · Rename a View #
Ask an LLM
“Can I rename a view when all I have is its id?”
“Does renaming a view by id change its id?”
Tell an agent
Rename the view with id {id} to {newViewName}.
Give view id {id} the new name {newViewName}.
POST /public/views/rename/{name} Rename a view by its current name · Rename a View #
Ask an LLM
“How do I rename a view using its current name?”
“Will clients need to remount after a view is renamed from its old name?”
Tell an agent
Rename view {name} to {newViewName}.
Change the name of view {name} to {newViewName}.
GET /public/views/{name} Get a view by name · List details about a single View #
Ask an LLM
“What are the settings of a view when I look it up by its name?”
“Can I fetch one view's details by name instead of listing them all?”
Tell an agent
Get the details of view {name}.
Show the configuration of the view named {name}.
PUT /public/views/{name} Update a view by name · Update a View #
Ask an LLM
“How do I change the protocols or quota of a view I know by name?”
“Can I enable live indexing on a named view?”
Tell an agent
Update view {name} to set logical quota {logicalQuota}.
Set protocol access on view {name} to {protocolAccess}.
DELETE /public/views/{name} Delete a view by name · Delete a View #
Ask an LLM
“How do I delete a view when I know its name?”
“Does deleting a named view remove its data permanently?”
Tell an agent destructive · confirm first
Delete the view named {name}.
Remove view {name} from the cluster by name.
GET /public/views/{name}/fileLocks Check a file's lock status in a named view · Fetches the lock status of a file in a view #
Ask an LLM
“Is a particular file in a named view currently locked?”
“When does the lock on a file in a view I know by name expire?”
Tell an agent
Check whether {path} is locked in view {name}.
Show the file lock status for {path} in the view named {name}.
POST /public/views/{name}/fileLocks Lock a file in a named view · Lock a file in a view and optionally update its expiry timestamp #
Ask an LLM
“How do I protect a file in a named view from accidental changes by locking it?”
“Can I set an expiry when I lock a file in a view by name?”
Tell an agent
Lock file {path} in view {name}.
Lock {path} in the view named {name} until {expiryTimestampMsecs}.
GET /file-services/view-template List view templates · List View Templates #
Ask an LLM
“Which view templates exist on my cluster?”
“Are there default templates I can base new views on?”
Tell an agent
List all view templates.
Show me the view templates available on the cluster.
POST /file-services/view-template Create a view template · Create a View Template #
Ask an LLM
“Can I save a reusable template for creating views with the same settings?”
“Can a view template turn on dedup and compression?”
Tell an agent
Create a view template named {name}.
Create template {name} with dedup {dedup} and compression {compress}.
GET /file-services/view-template/{id} Get a view template · Read a View Template by Id #
Ask an LLM
“What settings does a specific view template apply?”
“Can I read one template by its id?”
Tell an agent
Get view template {id}.
Show the view parameters stored in template {id}.
PUT /file-services/view-template/{id} Update a view template · Update a View Template #
Ask an LLM
“How do I change the defaults in a view template I already made?”
“Can I rename an existing view template?”
Tell an agent
Rename view template {id} to {name}.
Turn compression {compress} on template {id}.
DELETE /file-services/view-template/{id} Delete a view template · Delete a View Template #
Ask an LLM
“Can I remove a view template I no longer need?”
“Does deleting a template affect views created from it?”
Tell an agent destructive · confirm first
Delete view template {id}.
Remove the template with id {id}.
GET /file-services/views List views (file-services endpoint) · List Views #
Ask an LLM
“How many views match my filters, without returning them all?”
“Can I list only views with filer audit logging enabled?”
Tell an agent
Count the views in storage domain {storageDomainNames}.
List views with protocol access {protocolAccesses} in the file-services API.
POST /file-services/views Create a view (file-services endpoint) · Create a View #
Ask an LLM
“Where do I create a view in the newer file-services API?”
“Can I create a view with the file-services endpoint rather than the legacy one?”
Tell an agent
Create a new view through the file-services API.
Add a view using the v2 file-services create endpoint.
GET /file-services/views/{id} Get a view by id (file-services endpoint) · Get a View by Id #
Ask an LLM
“In the file-services API, how do I fetch a single view by id?”
“Does the file-services view lookup include mount paths and aliases?”
Tell an agent
Get view {id} from the file-services API.
Show the NFS and SMB mount paths for file-services view {id}.
PUT /file-services/views/{id} Update a view by id (file-services endpoint) · Update a View #
Ask an LLM
“Can I move a view's DataLock expiry using the file-services update?”
“How do I change a view's object services key mapping through file-services?”
Tell an agent
Update file-services view {id} with DataLock expiry {dataLockExpiryUsecs}.
Set the object services mapping on view {id} to {objectServicesMappingConfig}.
DELETE /file-services/views/{id} Delete a view by id (file-services endpoint) · Delete a View #
Ask an LLM
“How do I delete a view through the file-services API?”
“Is a view deleted via file-services gone for good?”
Tell an agent destructive · confirm first
Delete file-services view {id}.
Remove the view with id {id} using the file-services endpoint.

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:cohesity-views-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-views-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cohesity Views API
  version: '1.0'
  description: 'Operations tagged Views across 2 of this provider''s published API definitions: cohesity-cluster-v1-openapi-original.yml, cohesity-cluster-v2-openapi-original.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://<CLUSTER_VIP>/irisservices/api/v1
- url: /v2
tags:


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