REST API Reference

Meshery REST API reference

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.

GET Environment

/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

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
orgIdstringYesUser’s organization ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Environments

application/json

Schema: object

FieldTypeRequiredDescription
environmentsarray of objectNoEnvironments associated with this resource.
pageintegerNoNo description provided.
page_sizeintegerNoNo description provided.
total_countintegerNoNo 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

POST Environment

/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/json Required
Body for creating environment

Schema: object

FieldTypeRequiredDescription
descriptionstringNoAn 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.
namestringYesAn 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_idstring (uuid)YesSelect 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.

201
Created environment

application/json

Environments allow you to logically group related Connections and their associated Credentials. Learn more at https://docs.meshery.io/concepts/logical/environments
FieldTypeRequiredDescription
idstring (uuid)YesID
schemaVersionstringYesSpecifies the version of the schema to which the environment conforms.
namestringYesEnvironment name
descriptionstringYesEnvironment description
organization_idstring (uuid)YesEnvironment organization ID
ownerstring (uuid)NoEnvironment owner
created_atstring (date-time)NoTimestamp when the resource was created.
metadataobjectNoAdditional metadata associated with the environment.
updated_atstring (date-time)NoTimestamp when the resource was updated.
deleted_atstring | null (date-time)NoTimestamp when the environment was soft deleted. Null while the environment remains active.

Example response

{
  "created_at": "0001-01-01T00:00:00Z",
  "deleted_at": null,
  "description": "Connections and credentials for the production cluster.",
  "id": "00000000-0000-0000-0000-000000000000",
  "metadata": {},
  "name": "Production Environment",
  "organization_id": "00000000-0000-0000-0000-000000000000",
  "owner": "00000000-0000-0000-0000-000000000000",
  "schemaVersion": "environments.meshery.io/v1beta1",
  "updated_at": "0001-01-01T00:00:00Z"
}
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

GET Environment

/api/environments/{environmentId}

Get environment by 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)

http://localhost:9876/api/environments/{environmentId}

Parameters

Path parameters

NameTypeRequiredDescription
environmentIdstring (uuid)YesEnvironment ID

Query parameters

NameTypeRequiredDescription
orgIdstringYesUser’s organization ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Environment page

application/json

Schema: object

FieldTypeRequiredDescription
environmentsarray of objectNoEnvironments associated with this resource.
pageintegerNoNo description provided.
page_sizeintegerNoNo description provided.
total_countintegerNoNo 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

PUT Environment

/api/environments/{environmentId}

Update 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)

http://localhost:9876/api/environments/{environmentId}

Parameters

Path parameters

NameTypeRequiredDescription
environmentIdstring (uuid)YesEnvironment ID

Request body

application/json Required
Body for creating environment

Schema: object

FieldTypeRequiredDescription
descriptionstringNoAn 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.
namestringYesAn 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_idstring (uuid)YesSelect 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

FieldTypeRequiredDescription
environmentsarray of objectNoEnvironments associated with this resource.
pageintegerNoNo description provided.
page_sizeintegerNoNo description provided.
total_countintegerNoNo 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

DELETE Environment

/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)

http://localhost:9876/api/environments/{environmentId}

Parameters

Path parameters

NameTypeRequiredDescription
environmentIdstring (uuid)YesEnvironment ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

204
Environment 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

GET Environment

/api/environments/{environmentId}/connections

Get environment connections

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/{environmentId}/connections

Parameters

Path parameters

NameTypeRequiredDescription
environmentIdstring (uuid)YesEnvironment ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
filterstringNoNo description provided.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Environment connections

application/json

Schema: object

FieldTypeRequiredDescription
connectionsarray of objectNoThe connections of the environmentconnectionspage.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal 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

404
Result not found

text/plain

Schema: string

Schema: string

500
Internal server error

text/plain

Schema: string

Schema: string

POST Connection

/api/environments/{environmentId}/connections/{connectionId}

Add connection to environment

Associate a connection with 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)

http://localhost:9876/api/environments/{environmentId}/connections/{connectionId}

Parameters

Path parameters

NameTypeRequiredDescription
environmentIdstring (uuid)YesEnvironment ID
connectionIdstring (uuid)YesConnection ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

201
Connection added to environment
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

DELETE Connection

/api/environments/{environmentId}/connections/{connectionId}

Remove connection from environment

Disassociate a connection from 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)

http://localhost:9876/api/environments/{environmentId}/connections/{connectionId}

Parameters

Path parameters

NameTypeRequiredDescription
environmentIdstring (uuid)YesEnvironment ID
connectionIdstring (uuid)YesConnection ID

Returned data

Responses

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

GET Organization

/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

NameTypeRequiredDescription
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
allbooleanNoGet all possible entries

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Organizations response

application/json

Schema: object

FieldTypeRequiredDescription
organizationsarray of objectNoThe organizations of the organizationspage.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal number of items available.
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

POST Organization

/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/json Required
Body for creating or updating an organization

Schema: object

FieldTypeRequiredDescription
countrystringNoNo description provided.
descriptionstringNoNo description provided.
namestringNoNo description provided.
notifyOrgUpdatebooleanNoThe notify org update of the organization.
preferencesobjectNoNo description provided.
regionstringNoNo description provided.

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.
FieldTypeRequiredDescription
organizationsarray of objectNoThe organizations of the organizationpage.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal 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

GET Organization

/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

NameTypeRequiredDescription
domainstringYesNo description provided.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Successful response

application/json

Schema: object

FieldTypeRequiredDescription
countrystringYesThe country of the organization.
created_atstring (date-time)YesNo description provided.
deleted_atstring (date-time)NoNo description provided.
descriptionstringYesDescription of the organization.
domainstring | nullNoThe domain of the organization.
idstring (uuid)YesA Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
metadataobjectYesNo description provided.
namestringYesName of the organization.
ownerstring (uuid)YesA Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
regionstringYesThe region of the organization.
updated_atstring (date-time)YesNo description provided.
401
Expired JWT token used or insufficient privilege

text/plain

Schema: string

Schema: string

404
Organization not found
500
Internal server error
GET Organization

/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

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.

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.
FieldTypeRequiredDescription
organizationsarray of objectNoThe organizations of the organizationpage.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal number of items available.
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

PUT Organization

/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

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.

Request body

application/json Required
Body for creating or updating an organization

Schema: object

FieldTypeRequiredDescription
countrystringNoNo description provided.
descriptionstringNoNo description provided.
namestringNoNo description provided.
notifyOrgUpdatebooleanNoThe notify org update of the organization.
preferencesobjectNoNo description provided.
regionstringNoNo description provided.

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.
FieldTypeRequiredDescription
organizationsarray of objectNoThe organizations of the organizationpage.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal 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

404
Result not found

text/plain

Schema: string

Schema: string

500
Internal server error

text/plain

Schema: string

Schema: string

DELETE Organization

/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

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.

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

GET Organization

/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)

http://localhost:9876/api/identity/orgs/{orgId}/preferences

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Organization metadata, including preferences

application/json

Schema: object

FieldTypeRequiredDescription
preferencesobjectYesNo description provided.
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

GET Team

/api/identity/orgs/{orgId}/teams

Get all teams for an organization

Gets all teams within an 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/identity/orgs/{orgId}/teams

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Teams

application/json

Paginated list of teams
FieldTypeRequiredDescription
pageintegerNoNo description provided.
page_sizeintegerNoNo description provided.
teamsarray of objectNoThe teams of the teampage.
total_countintegerNoNo description provided.
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

POST Team

/api/identity/orgs/{orgId}/teams

Create a team

Creates a new team within an 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/identity/orgs/{orgId}/teams

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID

Request body

application/json Required
Body for creating a team
Payload for creating a new team
FieldTypeRequiredDescription
descriptionstringNoA detailed description of the team’s purpose and responsibilities.
namestringYesTeam 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
FieldTypeRequiredDescription
idstring (uuid)YesTeam ID
namestringYesTeam name
descriptionstringNoTeam description
ownerstring (uuid)NoUser ID of the owner of the team
metadataobjectNoAdditional metadata for the team
created_atstring (date-time)NoNo description provided.
updated_atstring (date-time)NoNo description provided.
deleted_atstring (date-time)NoSQL 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

GET Team

/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)

http://localhost:9876/api/identity/orgs/{orgId}/teams/{teamId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID
teamIdstring (uuid)YesTeam ID

Returned data

Responses

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
FieldTypeRequiredDescription
idstring (uuid)YesTeam ID
namestringYesTeam name
descriptionstringNoTeam description
ownerstring (uuid)NoUser ID of the owner of the team
metadataobjectNoAdditional metadata for the team
created_atstring (date-time)NoNo description provided.
updated_atstring (date-time)NoNo description provided.
deleted_atstring (date-time)NoSQL 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

POST Organization

/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)

http://localhost:9876/api/identity/orgs/{orgId}/teams/{teamId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.
teamIdstring (uuid)YesNo description provided.

Request body

application/json Optional
Optional action payload for POST on /api/identity/orgs/{orgId}/teams/{teamId}.
FieldTypeRequiredDescription
actionstringNoInternal action to perform on the team resource.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

201
Team added to organization or team tombstoned

application/json

Schema: one of object

object

FieldTypeRequiredDescription
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
teamsOrganizationsMappingarray of objectNoThe teams organizations mapping of the teamsorganizationsmappingpage.
total_countintegerNoTotal number of items available.

object

FieldTypeRequiredDescription
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
teamsarray of objectNoThe teams of the teamspage.
total_countintegerNoTotal number of items available.
400
Bad request
401
Unauthorized
404
Not found
500
Internal server error
PUT Team

/api/identity/orgs/{orgId}/teams/{teamId}

Update a team

Updates a team’s information

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}/teams/{teamId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID
teamIdstring (uuid)YesTeam ID

Request body

application/json Required
Body for updating a team
Payload for updating an existing team
FieldTypeRequiredDescription
descriptionstringNoUpdated team description
namestringNoUpdated team name

Returned data

Responses

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
FieldTypeRequiredDescription
idstring (uuid)YesTeam ID
namestringYesTeam name
descriptionstringNoTeam description
ownerstring (uuid)NoUser ID of the owner of the team
metadataobjectNoAdditional metadata for the team
created_atstring (date-time)NoNo description provided.
updated_atstring (date-time)NoNo description provided.
deleted_atstring (date-time)NoSQL 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

DELETE Team

/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)

http://localhost:9876/api/identity/orgs/{orgId}/teams/{teamId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID
teamIdstring (uuid)YesTeam ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

204
Team 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

POST Organization

/api/identity/orgs/{orgId}/teams/{teamId}/remove

Remove team from organization

Removes (unassigns) a team from an 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}/teams/{teamId}/remove

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.
teamIdstring (uuid)YesNo description provided.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Team removed from organization

application/json

Schema: object

FieldTypeRequiredDescription
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
teamsOrganizationsMappingarray of objectNoThe teams organizations mapping of the teamsorganizationsmappingpage.
total_countintegerNoTotal number of items available.
400
Bad request
401
Unauthorized
404
Not found
500
Internal server error
GET Team

/api/identity/orgs/{orgId}/teams/{teamId}/users

Get users that are not in a team

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}/teams/{teamId}/users

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID
teamIdstring (uuid)YesTeam ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Users not currently in the team

application/json

Schema: object

FieldTypeRequiredDescription
dataarray of objectNoThe data of the teammemberspage.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal 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

404
Result not found

text/plain

Schema: string

Schema: string

500
Internal server error

text/plain

Schema: string

Schema: string

POST Team

/api/identity/orgs/{orgId}/teams/{teamId}/users/{userId}

Add a user to a team

Assigns a user to a team

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}/teams/{teamId}/users/{userId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID
teamIdstring (uuid)YesTeam ID
userIdstringYesUser ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

201
User added to team

application/json

Mapping between teams and users
FieldTypeRequiredDescription
created_atstring (date-time)NoTimestamp when the resource was created.
deleted_atstring (date-time)NoSQL null Timestamp to handle null values of time.
idstring (uuid)NoNo description provided.
team_idstring (uuid)NoNo description provided.
updated_atstring (date-time)NoTimestamp when the resource was updated.
user_idstringNouser’s email or username
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

DELETE Team

/api/identity/orgs/{orgId}/teams/{teamId}/users/{userId}

Remove a user from a team

Unassigns a user from a team

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}/teams/{teamId}/users/{userId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID
teamIdstring (uuid)YesTeam ID
userIdstringYesUser ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

204
User removed from team
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

GET User

/api/identity/orgs/{orgId}/users

Get organization users

Returns organization users, optionally filtered by team membership.

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}/users

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID

Query parameters

NameTypeRequiredDescription
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
filterstringNoGet filtered reponses
teamIdstring (uuid)NoOptional team filter when listing organization users

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Paginated list of organization users

application/json

Paginated list of users with organization and team role context
FieldTypeRequiredDescription
dataarray of objectNoThe data of the userspageforadmin.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal 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

404
Result not found

text/plain

Schema: string

Schema: string

500
Internal server error

text/plain

Schema: string

Schema: string

GET Key

/api/identity/orgs/{orgId}/users/keys

Get User Keys

Get all keys based on roles assigned to user

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}/users/keys

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesOrganization ID

Query parameters

NameTypeRequiredDescription
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Returns user keys based on roles assigned to user

application/json

Schema: object

FieldTypeRequiredDescription
pageintegerYesNo description provided.
page_sizeintegerYesNo description provided.
total_countintegerYesNo description provided.
keysarray of objectYesThe keys of the keypage.
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

POST Organization

/api/identity/orgs/{orgId}/users/{userId}

Add user to 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}/users/{userId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.
userIdstringYesNo description provided.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

201
User added to organization

application/json

Schema: object

Schema: object

400
Invalid request body or request param

text/plain

Schema: string

Schema: string

401
Unauthorized
404
Result not found

text/plain

Schema: string

Schema: string

500
Internal server error
DELETE Organization

/api/identity/orgs/{orgId}/users/{userId}

Remove user from 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}/users/{userId}

Parameters

Path parameters

NameTypeRequiredDescription
orgIdstring (uuid)YesNo description provided.
userIdstringYesNo description provided.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

204
User removed from organization
401
Unauthorized
404
Result not found

text/plain

Schema: string

Schema: string

500
Internal server error
GET Team

/api/identity/teams/{teamId}/users

Get all users in a team

Gets all users that belong to a team

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/teams/{teamId}/users

Parameters

Path parameters

NameTypeRequiredDescription
teamIdstring (uuid)YesTeam ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Team users mapping

application/json

Paginated list of team-user mappings
FieldTypeRequiredDescription
pageintegerNoNo description provided.
page_sizeintegerNoNo description provided.
teamsUsersMappingarray of objectNoThe teams users mapping of the teamsusersmappingpage.
total_countintegerNoNo 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

GET User

/api/identity/users/profile

Get current user profile

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/users/profile

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Current user profile and role context

application/json

Represents a user in Layer5 Cloud (Meshery)
FieldTypeRequiredDescription
accepted_terms_atstring (date-time)NoTimestamp when user accepted terms and conditions
avatar_urlstring (uri)NoURL to user’s avatar image
biostringNoUser’s biography or description
countryobjectNoUser’s country information stored as JSONB
created_atstring (date-time)YesTimestamp when the user record was created
deleted_atstring | null (date-time)YesTimestamp when the user record was soft-deleted (null if not deleted)
emailstring (email)YesUser’s email address
first_login_timestring (date-time)NoTimestamp of user’s first login
first_namestringYesUser’s first name
idstring (uuid)YesUnique identifier for the user
last_login_timestring (date-time)YesTimestamp of user’s most recent login
last_namestringYesUser’s last name
organizationsobjectNoOrganizations the user belongs to with role information
preferencesobjectNoUser preferences stored as JSONB
providerstringYesAuthentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)
regionobjectNoUser’s region information stored as JSONB
role_namesarray of stringNoList of global roles assigned to the user
socialsarray of objectNoVarious online profiles associated with the user account
statusstringYesUser account status
teamsobjectNoTeams the user belongs to with role information
updated_atstring (date-time)YesTimestamp when the user record was last updated
user_idstringYesUser identifier (username or external ID)
401
Expired JWT token used or insufficient privilege

text/plain

Schema: string

Schema: string

500
Internal server error

text/plain

Schema: string

Schema: string

GET User

/api/identity/users/profile/{id}

Get user profile by 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)

http://localhost:9876/api/identity/users/profile/{id}

Parameters

Path parameters

NameTypeRequiredDescription
idstring (uuid)YesUser ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
User profile for the requested ID

application/json

Represents a user in Layer5 Cloud (Meshery)
FieldTypeRequiredDescription
accepted_terms_atstring (date-time)NoTimestamp when user accepted terms and conditions
avatar_urlstring (uri)NoURL to user’s avatar image
biostringNoUser’s biography or description
countryobjectNoUser’s country information stored as JSONB
created_atstring (date-time)YesTimestamp when the user record was created
deleted_atstring | null (date-time)YesTimestamp when the user record was soft-deleted (null if not deleted)
emailstring (email)YesUser’s email address
first_login_timestring (date-time)NoTimestamp of user’s first login
first_namestringYesUser’s first name
idstring (uuid)YesUnique identifier for the user
last_login_timestring (date-time)YesTimestamp of user’s most recent login
last_namestringYesUser’s last name
organizationsobjectNoOrganizations the user belongs to with role information
preferencesobjectNoUser preferences stored as JSONB
providerstringYesAuthentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)
regionobjectNoUser’s region information stored as JSONB
role_namesarray of stringNoList of global roles assigned to the user
socialsarray of objectNoVarious online profiles associated with the user account
statusstringYesUser account status
teamsobjectNoTeams the user belongs to with role information
updated_atstring (date-time)YesTimestamp when the user record was last updated
user_idstringYesUser identifier (username or external ID)
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

GET Connection

/api/integrations/connections

Get all connections

Returns a paginated list of connections for the authenticated user with filtering, sorting and pagination support

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/integrations/connections

Parameters

Query parameters

NameTypeRequiredDescription
pageintegerNoPage number
pagesizeintegerNoNumber of items per page
searchstringNoSearch term
orderstringNoSort order
filterstringNoFilter connections (general filter string)
kindarray of stringNoFilter by connection kind (e.g., kubernetes, prometheus, grafana)
statusarray of stringNoFilter by connection status
typearray of stringNoFilter by connection type
namestringNoFilter by connection name (partial match supported)

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Paginated list of connections with summary information

application/json

Represents a page of connections with meta information about connections count
FieldTypeRequiredDescription
connectionsarray of objectYesList of connections on this page
total_countintegerYesTotal number of connections on all pages
pageintegerYesCurrent page number
page_sizeintegerYesNumber of elements per page
statusSummaryobjectNoAggregate count of connections grouped by status
401
Expired JWT token used or insufficient privilege

text/plain

Schema: string

Schema: string

500
Internal server error

text/plain

Schema: string

Schema: string

POST Connection

/api/integrations/connections

Register a new connection

Register a new connection with credentials

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/integrations/connections

Request body

application/json Required
Payload for creating or updating a connection
FieldTypeRequiredDescription
credentialIdstring (uuid)NoAssociated credential ID
credentialSecretobjectNoCredential secret data
idstring (uuid)NoConnection ID
kindstringYesConnection kind
metadataobjectNoConnection metadata
namestringYesConnection name
statusstringYesConnection status
subTypestringYesConnection sub-type
typestringYesConnection type

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

201
Connection registered

application/json

Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections
FieldTypeRequiredDescription
idstring (uuid)YesConnection ID
namestringYesConnection Name
credential_idstring (uuid)NoAssociated Credential ID
typestringYesConnection Type (platform, telemetry, collaboration)
sub_typestringYesConnection Subtype (cloud, identity, metrics, chat, git, orchestration)
kindstringYesConnection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)
metadataobjectNoAdditional connection metadata
statusstringYesConnection Status
user_idstring (uuid)NoUser ID who owns this connection
created_atstring (date-time)NoNo description provided.
updated_atstring (date-time)NoNo description provided.
deleted_atstring (date-time)NoSQL null Timestamp to handle null values of time.
environmentsarray of objectNoAssociated environments for this connection
schemaVersionstringYesSpecifies the version of the schema used for the definition.
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

GET Connection

/api/integrations/connections/kubernetes/{connectionId}/context

Get Kubernetes context

Get Kubernetes context for a specific connection

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/integrations/connections/kubernetes/{connectionId}/context

Parameters

Path parameters

NameTypeRequiredDescription
connectionIdstring (uuid)YesConnection ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Kubernetes context

application/json

Schema: object

Schema: object

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

DELETE Connection

/api/integrations/connections/meshery/{mesheryServerId}

Delete Meshery instance connection

Delete a Meshery server connection by server 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)

http://localhost:9876/api/integrations/connections/meshery/{mesheryServerId}

Parameters

Path parameters

NameTypeRequiredDescription
mesheryServerIdstring (uuid)YesMeshery server ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

204
Meshery 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

GET Connection

/api/integrations/connections/{connectionId}

Get connection by ID

Returns a specific connection 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)

http://localhost:9876/api/integrations/connections/{connectionId}

Parameters

Path parameters

NameTypeRequiredDescription
connectionIdstring (uuid)YesConnection ID

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Connection details

application/json

Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections
FieldTypeRequiredDescription
idstring (uuid)YesConnection ID
namestringYesConnection Name
credential_idstring (uuid)NoAssociated Credential ID
typestringYesConnection Type (platform, telemetry, collaboration)
sub_typestringYesConnection Subtype (cloud, identity, metrics, chat, git, orchestration)
kindstringYesConnection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)
metadataobjectNoAdditional connection metadata
statusstringYesConnection Status
user_idstring (uuid)NoUser ID who owns this connection
created_atstring (date-time)NoNo description provided.
updated_atstring (date-time)NoNo description provided.
deleted_atstring (date-time)NoSQL null Timestamp to handle null values of time.
environmentsarray of objectNoAssociated environments for this connection
schemaVersionstringYesSpecifies the version of the schema used for the definition.
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

PUT Connection

/api/integrations/connections/{connectionId}

Update a connection

Update an existing connection

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/integrations/connections/{connectionId}

Parameters

Path parameters

NameTypeRequiredDescription
connectionIdstring (uuid)YesConnection ID

Request body

application/json Required
Payload for creating or updating a connection
FieldTypeRequiredDescription
credentialIdstring (uuid)NoAssociated credential ID
credentialSecretobjectNoCredential secret data
idstring (uuid)NoConnection ID
kindstringYesConnection kind
metadataobjectNoConnection metadata
namestringYesConnection name
statusstringYesConnection status
subTypestringYesConnection sub-type
typestringYesConnection type

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Connection updated

application/json

Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections
FieldTypeRequiredDescription
idstring (uuid)YesConnection ID
namestringYesConnection Name
credential_idstring (uuid)NoAssociated Credential ID
typestringYesConnection Type (platform, telemetry, collaboration)
sub_typestringYesConnection Subtype (cloud, identity, metrics, chat, git, orchestration)
kindstringYesConnection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)
metadataobjectNoAdditional connection metadata
statusstringYesConnection Status
user_idstring (uuid)NoUser ID who owns this connection
created_atstring (date-time)NoNo description provided.
updated_atstring (date-time)NoNo description provided.
deleted_atstring (date-time)NoSQL null Timestamp to handle null values of time.
environmentsarray of objectNoAssociated environments for this connection
schemaVersionstringYesSpecifies the version of the schema used for the definition.
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

DELETE Connection

/api/integrations/connections/{connectionId}

Delete a connection

Delete a specific connection

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/integrations/connections/{connectionId}

Parameters

Path parameters

NameTypeRequiredDescription
connectionIdstring (uuid)YesConnection ID

Returned data

Responses

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

POST Model

/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-data Required

Schema: object

FieldTypeRequiredDescription
importBodyone of File Import, URL Import, CSV Import, Model CreateYesNo description provided.
registerbooleanYesThe register of the importrequest.
uploadTypestringYesChoose 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

FieldTypeRequiredDescription
messagestringNoNo description provided.
400
Invalid request format
401
Expired JWT token used or insufficient privilege

text/plain

Schema: string

Schema: string

500
Internal server error
POST Design

/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-data Required
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.
FieldTypeRequiredDescription
filestring (file)NoSupported formats: Kubernetes Manifests, Helm Charts, Docker Compose, and Meshery Designs. See Import Designs Documentation for details
fileNamestringNoThe name of the pattern file being imported.
namestringNoProvide 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.
urlstring (uri)NoProvide 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

FieldTypeRequiredDescription
messagestringNoNo description provided.
400
Invalid request format
401
Expired JWT token used or insufficient privilege

text/plain

Schema: string

Schema: string

500
Internal server error
GET User

/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

NameTypeRequiredDescription
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
filterstringNoGet 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
FieldTypeRequiredDescription
dataarray of objectNoThe data of the userspagefornonadmin.
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal 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

POST Evaluation

/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/json Required

Schema: object

FieldTypeRequiredDescription
designobjectYesDesigns are your primary tool for collaborative authorship of your infrastructure, workflow, and processes.
optionsobjectNoThe 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
FieldTypeRequiredDescription
actionsarray of objectYesThe actions of the evaluationresponse.
designobjectYesThe 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.
evaluationHashstringNoHash of the input parameters and configuration used for this evaluation. Useful for identifying duplicate evaluations or caching results.
schemaVersionstringYesSpecifies the version of the schema to which the evaluation response conforms.
timestampstring (date-time)NoISO 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
POST Events

/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/json Required

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

POST Events

/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/json Required

Schema: object

FieldTypeRequiredDescription
idsarray of string (uuid)YesThe 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

FieldTypeRequiredDescription
deletedarray of string (uuid)NoNo 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

PUT Events

/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/json Required

Schema: object

FieldTypeRequiredDescription
idsarray of string (uuid)YesThe ids of the bulkupdatestatusrequest.
statusstringYesCurrent 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

FieldTypeRequiredDescription
updatedarray of string (uuid)NoNo 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

DELETE Events

/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

NameTypeRequiredDescription
idstring (uuid)YesID 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

PUT Events

/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

NameTypeRequiredDescription
idstring (uuid)YesID of the event

Request body

application/json Required

Schema: object

FieldTypeRequiredDescription
statusstringYesCurrent status of the resource.

Returned data

Responses

Status codes, content types, and response schemas returned by this endpoint.

200
Event status updated

application/json

Schema: object

FieldTypeRequiredDescription
event_idstring (uuid)NoNo description provided.
messagestringNoNo description provided.
statusstringNoNo 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