70 API endpoints across 12 resources.
This reference is generated from OpenAPI schema used by the Meshery docs.
12resources
70endpoints
Resources
Showing all 70 endpoints.
GETEnvironment
/api/environments
Get all environments
Gets all environments
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/environments
Parameters
Query parameters
Name
Type
Required
Description
search
string
No
Get responses that match search param value
order
string
No
Get ordered responses
page
string
No
Get responses by page
pagesize
string
No
Get responses by pagesize
orgId
string (uuid)
Yes
User’s organization ID
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Environments
application/json
Paginated list of environments.
Field
Type
Required
Description
environments
array of object
No
Environments associated with this resource.
page
integer
No
Zero-based page index returned in this response.
pageSize
integer
No
Maximum number of items returned on each page.
totalCount
integer
No
Total number of items across all pages.
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
POSTEnvironment
/api/environments
Create an environment
Creates a new environment
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/environments
Request body
application/jsonRequired
Body for creating environment
Payload for creating or updating an environment.
Field
Type
Required
Description
description
string
No
An environment is a collection of resources, such as connections & credentials. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any time. Learn more about environments here.
name
string
Yes
An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation.
organizationId
string (uuid)
Yes
Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
An environment is a collection of resources, such as connections & credentials. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any time. Learn more about environments here.
name
string
Yes
An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation.
organizationId
string (uuid)
Yes
Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Environment page
application/json
Paginated list of environments.
Field
Type
Required
Description
environments
array of object
No
Environments associated with this resource.
page
integer
No
Zero-based page index returned in this response.
pageSize
integer
No
Maximum number of items returned on each page.
totalCount
integer
No
Total number of items across all pages.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
DELETEEnvironment
/api/environments/{environmentId}
Delete an environment
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
Status codes, content types, and response schemas returned by this endpoint.
204
Connection removed from environment
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
GETOrganization
/api/identity/orgs
Read organizations
Returns organizations for the current user.
Authentication
Bearer JWT
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/identity/orgs
Parameters
Query parameters
Name
Type
Required
Description
page
integer
No
Zero-based index of the result page to return.
pageSize
integer
No
Maximum number of items returned on each page.
search
string
No
Get responses that match search param value
order
string
No
Get ordered responses
all
boolean
No
Get all possible entries
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Organizations response
application/json
Paginated list of organizations.
Field
Type
Required
Description
organizations
array of object
No
Organizations in this page.
page
integer
No
Zero-based page index returned in this response.
pageSize
integer
No
Maximum number of items returned on each page.
totalCount
integer
No
Total number of items across all pages.
204
No content
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
POSTOrganization
/api/identity/orgs
Create an organization
Creates a new organization.
Authentication
Bearer JWT
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/identity/orgs
Request body
application/jsonRequired
Body for creating or updating an organization
Payload for creating or updating an organization. Contains only client-settable fields.
Field
Type
Required
Description
country
string
No
Country of the organization.
description
string
No
Description of the organization.
name
string
No
Name of the organization.
notifyOrgUpdate
boolean
No
Indicates whether organization members should be notified of this update.
preferences
object
No
Organization-level user experience preferences.
region
string
No
Region of the organization.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
201
Single-organization page response
application/json
Single-organization wrapper used by current meshery-cloud organization handlers.
Field
Type
Required
Description
organizations
array of object
No
Organizations returned in this single-item page wrapper.
page
integer
No
Zero-based page index returned in this response.
pageSize
integer
No
Maximum number of items returned on each page.
totalCount
integer
No
Total number of items across all pages.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
GETOrganization
/api/identity/orgs/by-domain
Get organization by domain
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/identity/orgs/by-domain
Parameters
Query parameters
Name
Type
Required
Description
domain
string
Yes
Domain name of the organization to look up.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Organization response
application/json
An organization in Meshery Cloud. Organizations are the top-level tenancy boundary and own teams, workspaces, environments, designs, and other resources. Learn more at https://docs.meshery.io/concepts/logical/organizations
Field
Type
Required
Description
country
string
Yes
Country of the organization.
createdAt
string (date-time)
Yes
Timestamp when the organization was created.
deletedAt
string (date-time)
No
Timestamp when the organization was soft-deleted. Null while the organization is active.
description
string
Yes
Description of the organization.
domain
string | null
No
Domain of the organization.
id
string (uuid)
Yes
Organization ID.
metadata
object
Yes
Free-form metadata associated with the organization, including preferences.
name
string
Yes
Name of the organization.
owner
string (uuid)
Yes
Owner user ID of the organization.
region
string
Yes
Region of the organization.
updatedAt
string (date-time)
Yes
Timestamp when the organization was last updated.
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Organization not found
500
Internal server error
GETOrganization
/api/identity/orgs/{orgId}
Read an organization
Returns the organization in the single-item page wrapper currently emitted by meshery-cloud.
Authentication
Bearer JWT
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/identity/orgs/{orgId}
Parameters
Path parameters
Name
Type
Required
Description
orgId
string (uuid)
Yes
Organization ID.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Single-organization page response
application/json
Single-organization wrapper used by current meshery-cloud organization handlers.
Field
Type
Required
Description
organizations
array of object
No
Organizations returned in this single-item page wrapper.
page
integer
No
Zero-based page index returned in this response.
pageSize
integer
No
Maximum number of items returned on each page.
totalCount
integer
No
Total number of items across all pages.
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
PUTOrganization
/api/identity/orgs/{orgId}
Update an organization
Updates the organization.
Authentication
Bearer JWT
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/identity/orgs/{orgId}
Parameters
Path parameters
Name
Type
Required
Description
orgId
string (uuid)
Yes
Organization ID.
Request body
application/jsonRequired
Body for creating or updating an organization
Payload for creating or updating an organization. Contains only client-settable fields.
Field
Type
Required
Description
country
string
No
Country of the organization.
description
string
No
Description of the organization.
name
string
No
Name of the organization.
notifyOrgUpdate
boolean
No
Indicates whether organization members should be notified of this update.
preferences
object
No
Organization-level user experience preferences.
region
string
No
Region of the organization.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Single-organization page response for the updated organization
application/json
Single-organization wrapper used by current meshery-cloud organization handlers.
Field
Type
Required
Description
organizations
array of object
No
Organizations returned in this single-item page wrapper.
page
integer
No
Zero-based page index returned in this response.
pageSize
integer
No
Maximum number of items returned on each page.
totalCount
integer
No
Total number of items across all pages.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
DELETEOrganization
/api/identity/orgs/{orgId}
Delete an organization
Deletes the organization.
Authentication
Bearer JWT
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/identity/orgs/{orgId}
Parameters
Path parameters
Name
Type
Required
Description
orgId
string (uuid)
Yes
Organization ID.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
204
Organization deleted
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
GETOrganization
/api/identity/orgs/{orgId}/preferences
Get organization preferences
Returns preferences for the specified organization.
Authentication
Bearer JWT
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
A detailed description of the team’s purpose and responsibilities.
name
string
Yes
Team name. Provide a meaningful name that represents this team.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
201
Created team
application/json
A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams
Field
Type
Required
Description
id
string (uuid)
Yes
Team ID
name
string
Yes
Team name
description
string
No
Team description
owner
string (uuid)
No
User ID of the owner of the team
metadata
object
No
Additional metadata for the team
createdAt
string (date-time)
Yes
Timestamp when the team was created.
updatedAt
string (date-time)
Yes
Timestamp when the team was last updated.
deletedAt
string (date-time)
No
Timestamp when the team was soft-deleted, if applicable.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
GETTeam
/api/identity/orgs/{orgId}/teams/{teamId}
Get a team by ID
Gets a team by its ID
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
Status codes, content types, and response schemas returned by this endpoint.
200
Team
application/json
A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams
Field
Type
Required
Description
id
string (uuid)
Yes
Team ID
name
string
Yes
Team name
description
string
No
Team description
owner
string (uuid)
No
User ID of the owner of the team
metadata
object
No
Additional metadata for the team
createdAt
string (date-time)
Yes
Timestamp when the team was created.
updatedAt
string (date-time)
Yes
Timestamp when the team was last updated.
deletedAt
string (date-time)
No
Timestamp when the team was soft-deleted, if applicable.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
POSTOrganization
/api/identity/orgs/{orgId}/teams/{teamId}
Add team to organization or soft delete team
Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deletedAt timestamp. The team’s organization mapping remains intact.
Authentication
Bearer JWT
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
Status codes, content types, and response schemas returned by this endpoint.
200
Updated team
application/json
A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams
Field
Type
Required
Description
id
string (uuid)
Yes
Team ID
name
string
Yes
Team name
description
string
No
Team description
owner
string (uuid)
No
User ID of the owner of the team
metadata
object
No
Additional metadata for the team
createdAt
string (date-time)
Yes
Timestamp when the team was created.
updatedAt
string (date-time)
Yes
Timestamp when the team was last updated.
deletedAt
string (date-time)
No
Timestamp when the team was soft-deleted, if applicable.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
DELETETeam
/api/identity/orgs/{orgId}/teams/{teamId}
Delete a team
Deletes a team by its ID
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
Status codes, content types, and response schemas returned by this endpoint.
201
User added to team
application/json
Join row between users and teams. The schema name is UsersTeamsMapping (rather than TeamsUsersMapping) so that pop’s tableize default produces the live DB table name users_teams_mappings, eliminating the need for an explicit TableName() helper on the generated Go struct.
Field
Type
Required
Description
createdAt
string (date-time)
No
Timestamp when the mapping was created.
deletedAt
string (date-time)
No
Timestamp when the mapping was soft-deleted, if applicable.
id
string (uuid)
No
No description provided.
roleId
string (uuid)
No
Optional role assigned to this team membership. Nullable because a membership may exist without an explicit role (e.g., team-admin assignments are stamped on insert; non-owner adds may leave role_id null until a role is assigned). References roles.id.
Status codes, content types, and response schemas returned by this endpoint.
200
Credential response
application/json
Meshery Credentials store sensitive information such as API keys, tokens, and passwords used by connections to external systems.
Field
Type
Required
Description
id
string (uuid)
Yes
Unique identifier for the credential.
name
string
Yes
Human-readable name for the credential.
userId
string (uuid)
Yes
UUID of the user who owns this credential.
type
string
Yes
Credential type (e.g. token, basic, AWS).
secret
object
No
Key-value pairs containing the sensitive credential data.
createdAt
string (date-time)
Yes
Timestamp when the credential was created.
updatedAt
string (date-time)
Yes
Timestamp when the credential was last updated.
deletedAt
string (date-time)
No
Timestamp when the credential was soft-deleted.
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
POSTModel
/api/meshmodels/register
Register mesh models
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/meshmodels/register
Request body
multipart/form-dataRequired
Schema: object
Field
Type
Required
Description
importBody
one of File Import, URL Import, CSV Import, Model Create
Yes
No description provided.
register
boolean
Yes
The register of the importrequest.
uploadType
string
Yes
Choose the method you prefer to upload your model file. Select ‘File Import’ or ‘CSV Import’ if you have the file on your local system or ‘URL Import’ if you have the file hosted online.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
201
Model registered
application/json
Schema: object
Field
Type
Required
Description
message
string
No
No description provided.
400
Invalid request format
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
POSTDesign
/api/pattern/import
Import Design
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/pattern/import
Request body
application/jsonRequired
Body for POST /api/pattern/import. Consumed by the server as application/json. Exactly one of two variants must be supplied: a File Import carrying base64-encoded bytes plus a file name, or a URL Import naming a remote location the server will fetch. Sending both variants at once, or neither, is rejected with 400.
File Import
Upload a design file from the local system. Both file and fileName are required; the server uses the file name to identify the file type (Kubernetes Manifest, Helm Chart, Docker Compose, or Meshery Design).
Field
Type
Required
Description
file
string (byte)
Yes
Base64-encoded file bytes. Supported formats: Kubernetes Manifests, Helm Charts, Docker Compose, and Meshery Designs. See Import Designs Documentation for details.
fileName
string
Yes
The name of the pattern file being imported. Include the extension (e.g. design.yaml), as the server uses it to identify the file type.
name
string
No
Provide a name for your design. This name will help you identify the design later. You can also change the name of your design after importing it.
URL Import
Import a design by URL. The server will fetch the resource and derive the file type from the response.
Field
Type
Required
Description
name
string
No
Provide a name for your design. This name will help you identify the design later. You can also change the name of your design after importing it.
Status codes, content types, and response schemas returned by this endpoint.
200
Successful Import
application/json
Schema: object
Field
Type
Required
Description
message
string
No
No description provided.
400
Invalid request format
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
GETUser
/api/users
Get public users
Returns publicly viewable user records.
Authentication
No authentication required
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/users
Parameters
Query parameters
Name
Type
Required
Description
page
string
No
Get responses by page
pageSize
string
No
Get responses by page size
search
string
No
Get responses that match search param value
order
string
No
Get ordered responses
filter
string
No
Get filtered reponses
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Paginated list of public users
application/json
Paginated list of public user records
Field
Type
Required
Description
data
array of object
No
The data of the userspagefornonadmin.
page
integer
No
Current page number of the result set.
pageSize
integer
No
Number of items per page.
totalCount
integer
No
Total number of items available.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
GETWorkspace
/api/workspaces
Get all workspaces
Gets all workspaces accessible to the current user, optionally scoped to a specific organization.
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/workspaces
Parameters
Query parameters
Name
Type
Required
Description
orgId
string (uuid)
No
Organization ID used to scope the workspace listing.
search
string
No
Get responses that match search param value
order
string
No
Get ordered responses
page
string
No
Get responses by page
pagesize
string
No
Get responses by pagesize
filter
string
No
JSON-encoded filter string used for assignment and soft-delete filters.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Workspaces
application/json
Paginated list of workspaces.
Field
Type
Required
Description
page
integer
No
Zero-based page index returned in this response.
pageSize
integer
No
Maximum number of items returned on each page.
totalCount
integer
No
Total number of items across all pages.
workspaces
array of object
No
List of workspaces with resolved owner details.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
POSTWorkspace
/api/workspaces
Create a workspace
Creates a new workspace.
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/api/workspaces
Request body
application/jsonRequired
Body for creating a workspace
Payload for creating a workspace.
Field
Type
Required
Description
description
string
No
Description of the workspace.
metadata
object
No
Metadata associated with the workspace.
name
string
Yes
Name of the workspace.
organizationId
string (uuid)
Yes
Organization ID.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
201
Created workspace
application/json
A workspace is a logical grouping of resources within an organization. Workspaces provide a way to organize environments, designs, teams, and views. Learn more at https://docs.meshery.io/concepts/logical/workspaces
Field
Type
Required
Description
createdAt
string (date-time)
Yes
Timestamp when the workspace was created.
deletedAt
string (date-time)
No
Timestamp when the workspace was soft-deleted. Null while the workspace is active.
description
string
No
Description of the workspace.
id
string (uuid)
Yes
No description provided.
metadata
object
No
Metadata associated with the workspace.
name
string
Yes
Name of the workspace.
organizationId
string (uuid)
Yes
Organization to which this workspace belongs.
owner
string (uuid)
No
User ID of the workspace owner.
updatedAt
string (date-time)
Yes
Timestamp when the workspace was last updated.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
GETWorkspace
/api/workspaces/{workspaceId}
Get a workspace by ID
Gets a workspace by its ID.
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
Status codes, content types, and response schemas returned by this endpoint.
200
Workspace
application/json
A workspace is a logical grouping of resources within an organization. Workspaces provide a way to organize environments, designs, teams, and views. Learn more at https://docs.meshery.io/concepts/logical/workspaces
Field
Type
Required
Description
createdAt
string (date-time)
Yes
Timestamp when the workspace was created.
deletedAt
string (date-time)
No
Timestamp when the workspace was soft-deleted. Null while the workspace is active.
description
string
No
Description of the workspace.
id
string (uuid)
Yes
No description provided.
metadata
object
No
Metadata associated with the workspace.
name
string
Yes
Name of the workspace.
organizationId
string (uuid)
Yes
Organization to which this workspace belongs.
owner
string (uuid)
No
User ID of the workspace owner.
updatedAt
string (date-time)
Yes
Timestamp when the workspace was last updated.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
PUTWorkspace
/api/workspaces/{workspaceId}
Update a workspace
Updates a workspace.
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
Status codes, content types, and response schemas returned by this endpoint.
200
Workspace
application/json
A workspace is a logical grouping of resources within an organization. Workspaces provide a way to organize environments, designs, teams, and views. Learn more at https://docs.meshery.io/concepts/logical/workspaces
Field
Type
Required
Description
createdAt
string (date-time)
Yes
Timestamp when the workspace was created.
deletedAt
string (date-time)
No
Timestamp when the workspace was soft-deleted. Null while the workspace is active.
description
string
No
Description of the workspace.
id
string (uuid)
Yes
No description provided.
metadata
object
No
Metadata associated with the workspace.
name
string
Yes
Name of the workspace.
organizationId
string (uuid)
Yes
Organization to which this workspace belongs.
owner
string (uuid)
No
User ID of the workspace owner.
updatedAt
string (date-time)
Yes
Timestamp when the workspace was last updated.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
DELETEWorkspace
/api/workspaces/{workspaceId}
Delete a workspace
Deletes a workspace by its ID.
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
Status codes, content types, and response schemas returned by this endpoint.
204
Workspace view mapping removed
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
POSTEvaluation
/evaluate
Evaluate relationships in a design
Performs relationship evaluation on a given design, applying policies and updating components and relationships as needed.
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/evaluate
Request body
application/jsonRequired
Schema: object
Field
Type
Required
Description
design
object
Yes
Designs are your primary tool for collaborative authorship of your infrastructure, workflow, and processes.
options
object
No
The options of the evaluationrequest.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Successful evaluation
application/json
Schema for the response of a relationship evaluation process in Meshery
Field
Type
Required
Description
actions
array of object
Yes
The actions of the evaluationresponse.
design
object
Yes
The final evaluated design, including all updated components and relationships. This can be either the complete updated design or only a diff of changes. The version of the design will be automatically incremented if any modifications are made during the evaluation process. This field provides a comprehensive view of the design state after all relationship evaluations and policy applications have been completed.
evaluationHash
string
No
Hash of the input parameters and configuration used for this evaluation. Useful for identifying duplicate evaluations or caching results.
schemaVersion
string
Yes
Specifies the version of the schema to which the evaluation response conforms.
timestamp
string (date-time)
No
ISO 8601 formatted timestamp of when the evaluation was completed.
400
Bad request
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
POSTEvents
/events
Create a new event
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/events
Request body
application/jsonRequired
Payload for creating a new event.
Field
Type
Required
Description
action
string
No
The action of the event.
category
string
No
The category of the event.
description
string
No
Description of the event.
userId
string (uuid)
No
UUID of the user associated with the event.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
201
Event created
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
POSTEvents
/events/delete
Bulk delete events
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/events/delete
Request body
application/jsonRequired
Payload for bulk-deleting events by ID.
Field
Type
Required
Description
ids
array of string (uuid)
Yes
UUIDs of the events to delete.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Events deleted
application/json
Response body returned after bulk event deletion.
Field
Type
Required
Description
deleted
array of string (uuid)
No
UUIDs of events that were deleted.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
PUTEvents
/events/status
Bulk update event status
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/events/status
Request body
application/jsonRequired
Payload for bulk-updating the status of events.
Field
Type
Required
Description
ids
array of string (uuid)
Yes
UUIDs of the events to update.
status
string
Yes
New status to apply to the selected events.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Events updated
application/json
Response body returned after bulk event status update.
Field
Type
Required
Description
updated
array of string (uuid)
No
UUIDs of events whose status was updated.
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
DELETEEvents
/events/{eventId}
Delete a single event
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/events/{eventId}
Parameters
Path parameters
Name
Type
Required
Description
eventId
string (uuid)
Yes
ID of the event.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
204
Event deleted
400
Invalid request body or request param
text/plain
Schema: string
Schema: string
401
Expired JWT token used or insufficient privilege
text/plain
Schema: string
Schema: string
404
Result not found
text/plain
Schema: string
Schema: string
500
Internal server error
text/plain
Schema: string
Schema: string
PUTEvents
/events/{eventId}/status
Update status of a single event
Try this endpoint
Use your Meshery hostname or local server URL when calling this endpoint.
Meshery Cloud development server URL (controlled via PORT environment variable)
http://localhost:9876/events/{eventId}/status
Parameters
Path parameters
Name
Type
Required
Description
eventId
string (uuid)
Yes
ID of the event.
Request body
application/jsonRequired
Payload for updating the status of a single event.
Field
Type
Required
Description
status
string
Yes
Current status of the event.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Event status updated
application/json
Response body returned after updating an event’s status.