48 API endpoints across 10 resources.
This reference is generated from OpenAPI schema used by the Meshery docs.
10resources
48endpoints
Resources
Showing all 48 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
Yes
User’s organization ID
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Environments
application/json
Schema: object
Field
Type
Required
Description
environments
array of object
No
Environments associated with this resource.
page
integer
No
No description provided.
page_size
integer
No
No description provided.
total_count
integer
No
No description provided.
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
Schema: object
Field
Type
Required
Description
description
string
No
An environment is a collection of resources, such as connections & credentail. 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.
organization_id
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 & credentail. 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.
organization_id
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
Schema: object
Field
Type
Required
Description
environments
array of object
No
Environments associated with this resource.
page
integer
No
No description provided.
page_size
integer
No
No description provided.
total_count
integer
No
No description provided.
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)
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
created_at
string (date-time)
No
No description provided.
updated_at
string (date-time)
No
No description provided.
deleted_at
string (date-time)
No
SQL null Timestamp to handle null values of time.
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
created_at
string (date-time)
No
No description provided.
updated_at
string (date-time)
No
No description provided.
deleted_at
string (date-time)
No
SQL null Timestamp to handle null values of time.
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 deleted_at 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
created_at
string (date-time)
No
No description provided.
updated_at
string (date-time)
No
No description provided.
deleted_at
string (date-time)
No
SQL null Timestamp to handle null values of time.
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.
204
Connection 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
Successful registration
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
multipart/form-dataRequired
Choose the method you prefer to upload your design file. Select ‘File Upload’ if you have the file on your local system, or ‘URL Import’ if you have the file hosted online.
Field
Type
Required
Description
file
string (file)
No
Supported formats: Kubernetes Manifests, Helm Charts, Docker Compose, and Meshery Designs. See Import Designs Documentation for details
fileName
string
No
The name of the pattern file being imported.
name
string
No
Provide a name for your design file. This name will help you identify the file more easily. You can also change the name of your design after importing it.
url
string (uri)
No
Provide the URL of the file you want to import. This should be a direct URL to a single file, for example: https://raw.github.com/your-design-file.yaml. Also, ensure that design is in a supported format: Kubernetes Manifest, Helm Chart, Docker Compose, or Meshery Design. See Import Designs Documentation for details
Returned data
Responses
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 pagesize
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.
page_size
integer
No
Number of items per page.
total_count
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
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
Schema: object
Schema: object
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
Schema: object
Field
Type
Required
Description
ids
array of string (uuid)
Yes
The ids of the bulkdeleterequest.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
event deleted
application/json
Schema: object
Field
Type
Required
Description
deleted
array of string (uuid)
No
No description provided.
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
Schema: object
Field
Type
Required
Description
ids
array of string (uuid)
Yes
The ids of the bulkupdatestatusrequest.
status
string
Yes
Current status of the resource.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.
200
Events updated
application/json
Schema: object
Field
Type
Required
Description
updated
array of string (uuid)
No
No description provided.
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/{id}
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/{id}
Parameters
Path parameters
Name
Type
Required
Description
id
string (uuid)
Yes
ID of the event to delete
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/{id}/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/{id}/status
Parameters
Path parameters
Name
Type
Required
Description
id
string (uuid)
Yes
ID of the event
Request body
application/jsonRequired
Schema: object
Field
Type
Required
Description
status
string
Yes
Current status of the resource.
Returned data
Responses
Status codes, content types, and response schemas returned by this endpoint.