REST API Reference

Meshery REST API reference

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.

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
orgIdstring (uuid)YesUser’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.
FieldTypeRequiredDescription
environmentsarray of objectNoEnvironments associated with this resource.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

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
Payload for creating or updating an environment.
FieldTypeRequiredDescription
descriptionstringNoAn 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.
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.
organizationIdstring (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
organizationIdstring (uuid)YesEnvironment organization ID
ownerstring (uuid)NoEnvironment owner
createdAtstring (date-time)NoTimestamp when the environment was created.
metadataobjectNoAdditional metadata associated with the environment.
updatedAtstring (date-time)NoTimestamp when the environment was last updated.
deletedAtstring | null (date-time)NoTimestamp when the environment was soft deleted. Null while the environment remains active.

Example response

{
  "createdAt": "0001-01-01T00:00:00Z",
  "deletedAt": null,
  "description": "Connections and credentials for the production cluster.",
  "id": "00000000-0000-0000-0000-000000000000",
  "metadata": {},
  "name": "Production Environment",
  "organizationId": "00000000-0000-0000-0000-000000000000",
  "owner": "00000000-0000-0000-0000-000000000000",
  "schemaVersion": "environments.meshery.io/v1beta3",
  "updatedAt": "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
orgIdstring (uuid)YesUser’s organization ID

Returned data

Responses

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

200
Environment page

application/json

Paginated list of environments.
FieldTypeRequiredDescription
environmentsarray of objectNoEnvironments associated with this resource.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

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
Payload for creating or updating an environment.
FieldTypeRequiredDescription
descriptionstringNoAn 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.
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.
organizationIdstring (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

Paginated list of environments.
FieldTypeRequiredDescription
environmentsarray of objectNoEnvironments associated with this resource.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

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
filterstringNoJSON-encoded filter string used to scope the connection listing.

Returned data

Responses

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

200
Environment connections

application/json

Paginated list of connections associated with an environment.
FieldTypeRequiredDescription
connectionsarray of objectNoThe connections of the environmentconnectionspage.
pageintegerNoCurrent page number of the result set.
pageSizeintegerNoNumber of items per page.
totalCountintegerNoTotal 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
pageintegerNoZero-based index of the result page to return.
pageSizeintegerNoMaximum number of items returned on each page.
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

Paginated list of organizations.
FieldTypeRequiredDescription
organizationsarray of objectNoOrganizations in this page.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

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
Payload for creating or updating an organization. Contains only client-settable fields.
FieldTypeRequiredDescription
countrystringNoCountry of the organization.
descriptionstringNoDescription of the organization.
namestringNoName of the organization.
notifyOrgUpdatebooleanNoIndicates whether organization members should be notified of this update.
preferencesobjectNoOrganization-level user experience preferences.
regionstringNoRegion 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.
FieldTypeRequiredDescription
organizationsarray of objectNoOrganizations returned in this single-item page wrapper.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

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
domainstringYesDomain 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
FieldTypeRequiredDescription
countrystringYesCountry of the organization.
createdAtstring (date-time)YesTimestamp when the organization was created.
deletedAtstring (date-time)NoTimestamp when the organization was soft-deleted. Null while the organization is active.
descriptionstringYesDescription of the organization.
domainstring | nullNoDomain of the organization.
idstring (uuid)YesOrganization ID.
metadataobjectYesFree-form metadata associated with the organization, including preferences.
namestringYesName of the organization.
ownerstring (uuid)YesOwner user ID of the organization.
regionstringYesRegion of the organization.
updatedAtstring (date-time)YesTimestamp 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
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)YesOrganization 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.
FieldTypeRequiredDescription
organizationsarray of objectNoOrganizations returned in this single-item page wrapper.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

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)YesOrganization ID.

Request body

application/json Required
Body for creating or updating an organization
Payload for creating or updating an organization. Contains only client-settable fields.
FieldTypeRequiredDescription
countrystringNoCountry of the organization.
descriptionstringNoDescription of the organization.
namestringNoName of the organization.
notifyOrgUpdatebooleanNoIndicates whether organization members should be notified of this update.
preferencesobjectNoOrganization-level user experience preferences.
regionstringNoRegion 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.
FieldTypeRequiredDescription
organizationsarray of objectNoOrganizations returned in this single-item page wrapper.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

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

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)YesOrganization ID.

Returned data

Responses

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

200
Organization metadata, including preferences

application/json

Free-form metadata associated with an organization, including preferences.
FieldTypeRequiredDescription
preferencesobjectYesOrganization-level user experience preferences.
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
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
teamsarray of objectNoThe teams of the teampage.
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

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
createdAtstring (date-time)YesTimestamp when the team was created.
updatedAtstring (date-time)YesTimestamp when the team was last updated.
deletedAtstring (date-time)NoTimestamp 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

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
createdAtstring (date-time)YesTimestamp when the team was created.
updatedAtstring (date-time)YesTimestamp when the team was last updated.
deletedAtstring (date-time)NoTimestamp 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

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

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

Paginated list of team-organization mappings.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
teamsOrganizationsMappingarray of objectNoTeam-organization mapping entries.
totalCountintegerNoTotal number of items across all pages.

object

Paginated list of teams.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
teamsarray of objectNoTeams in this page.
totalCountintegerNoTotal number of items across all pages.
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
createdAtstring (date-time)YesTimestamp when the team was created.
updatedAtstring (date-time)YesTimestamp when the team was last updated.
deletedAtstring (date-time)NoTimestamp 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

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)YesOrganization ID.
teamIdstring (uuid)YesTeam ID.

Returned data

Responses

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

200
Team removed from organization

application/json

Paginated list of team-organization mappings.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
teamsOrganizationsMappingarray of objectNoTeam-organization mapping entries.
totalCountintegerNoTotal number of items across all pages.
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

Paginated list of team members.
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

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.
FieldTypeRequiredDescription
createdAtstring (date-time)NoTimestamp when the mapping was created.
deletedAtstring (date-time)NoTimestamp when the mapping was soft-deleted, if applicable.
idstring (uuid)NoNo description provided.
roleIdstring (uuid)NoOptional 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.
teamIdstring (uuid)NoTeam ID
updatedAtstring (date-time)NoTimestamp when the mapping was last updated.
userIdstring (uuid)NoUser 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

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 page size
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.
pageSizeintegerNoNumber of items per page.
totalCountintegerNoTotal 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

A paginated list of authorization keys.
FieldTypeRequiredDescription
pageintegerYesZero-based page index returned in this response.
pageSizeintegerYesMaximum number of items returned on each page.
totalCountintegerYesTotal number of items across all pages.
keysarray of objectYesKeys returned on the current page.
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)YesOrganization ID.
userIdstring (uuid)YesUser ID.

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)YesOrganization ID.
userIdstring (uuid)YesUser ID.

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 user-team mappings
FieldTypeRequiredDescription
pageintegerNoCurrent page number of the result set.
page_sizeintegerNoNumber of items per page.
total_countintegerNoTotal number of items available.
usersTeamsMappingarray of objectNoThe user-team mappings on the current page.
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
acceptedTermsAtstring (date-time)NoTimestamp when user accepted terms and conditions
avatarUrlstring (uri)NoURL to user’s avatar image
biostringNoUser’s biography or description
countryobjectNoUser’s country information stored as JSONB
createdAtstring (date-time)YesTimestamp when the user record was created
deletedAtstring | null (date-time)YesTimestamp when the user record was soft-deleted (null if not deleted)
emailstring (email)YesUser’s email address
firstLoginTimestring (date-time)NoTimestamp of user’s first login
firstNamestringYesUser’s first name
idstring (uuid)YesUnique identifier for the user
lastLoginTimestring (date-time)YesTimestamp of user’s most recent login
lastNamestringYesUser’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
roleNamesarray 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
updatedAtstring (date-time)YesTimestamp when the user record was last updated
userIdstringYesUser 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
acceptedTermsAtstring (date-time)NoTimestamp when user accepted terms and conditions
avatarUrlstring (uri)NoURL to user’s avatar image
biostringNoUser’s biography or description
countryobjectNoUser’s country information stored as JSONB
createdAtstring (date-time)YesTimestamp when the user record was created
deletedAtstring | null (date-time)YesTimestamp when the user record was soft-deleted (null if not deleted)
emailstring (email)YesUser’s email address
firstLoginTimestring (date-time)NoTimestamp of user’s first login
firstNamestringYesUser’s first name
idstring (uuid)YesUnique identifier for the user
lastLoginTimestring (date-time)YesTimestamp of user’s most recent login
lastNamestringYesUser’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
roleNamesarray 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
updatedAtstring (date-time)YesTimestamp when the user record was last updated
userIdstringYesUser 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
orgIdstring (uuid)NoOrganization ID to scope the request.
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
totalCountintegerYesTotal number of connections on all pages
pageintegerYesCurrent page number
pageSizeintegerYesNumber 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
credentialIdstring (uuid)NoAssociated Credential ID
typestringYesConnection Type (platform, telemetry, collaboration)
subTypestringYesConnection Subtype (cloud, identity, metrics, chat, git, orchestration)
kindstringYesConnection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)
metadataobjectNoAdditional connection metadata
statusstringYesConnection Status
userIdstring (uuid)NoUser ID who owns this connection
createdAtstring (date-time)NoTimestamp when the connection was created.
updatedAtstring (date-time)NoTimestamp when the connection was last updated.
deletedAtstring (date-time)NoTimestamp when the connection was soft-deleted, if applicable.
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
credentialIdstring (uuid)NoAssociated Credential ID
typestringYesConnection Type (platform, telemetry, collaboration)
subTypestringYesConnection Subtype (cloud, identity, metrics, chat, git, orchestration)
kindstringYesConnection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)
metadataobjectNoAdditional connection metadata
statusstringYesConnection Status
userIdstring (uuid)NoUser ID who owns this connection
createdAtstring (date-time)NoTimestamp when the connection was created.
updatedAtstring (date-time)NoTimestamp when the connection was last updated.
deletedAtstring (date-time)NoTimestamp when the connection was soft-deleted, if applicable.
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
credentialIdstring (uuid)NoAssociated Credential ID
typestringYesConnection Type (platform, telemetry, collaboration)
subTypestringYesConnection Subtype (cloud, identity, metrics, chat, git, orchestration)
kindstringYesConnection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)
metadataobjectNoAdditional connection metadata
statusstringYesConnection Status
userIdstring (uuid)NoUser ID who owns this connection
createdAtstring (date-time)NoTimestamp when the connection was created.
updatedAtstring (date-time)NoTimestamp when the connection was last updated.
deletedAtstring (date-time)NoTimestamp when the connection was soft-deleted, if applicable.
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

GET Credential

/api/integrations/credentials

Get credentials

Retrieves all credentials belonging to the authenticated 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/integrations/credentials

Parameters

Query parameters

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

Returned data

Responses

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

200
Credentials response

application/json

A paginated list of credentials.
FieldTypeRequiredDescription
credentialsarray of objectYesThe credentials returned on the current page.
total_countintegerYesTotal number of credentials across all pages.
pageintegerYesCurrent page number (zero-based).
page_sizeintegerYesNumber of credentials per page.
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 Credential

/api/integrations/credentials

Save credential

Saves a new credential for the authenticated 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/integrations/credentials

Request body

application/json Required
Payload for creating or updating a credential.
FieldTypeRequiredDescription
idstring (uuid)NoExisting credential ID for updates; omit on create.
namestringYesHuman-readable name for the credential.
userIdstring (uuid)NoUUID of the user who owns this credential.
typestringYesCredential type (e.g. token, basic, AWS).
secretobjectNoKey-value pairs containing the sensitive credential data.

Returned data

Responses

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

201
Credential saved

application/json

Meshery Credentials store sensitive information such as API keys, tokens, and passwords used by connections to external systems.
FieldTypeRequiredDescription
idstring (uuid)YesUnique identifier for the credential.
namestringYesHuman-readable name for the credential.
userIdstring (uuid)YesUUID of the user who owns this credential.
typestringYesCredential type (e.g. token, basic, AWS).
secretobjectNoKey-value pairs containing the sensitive credential data.
createdAtstring (date-time)YesTimestamp when the credential was created.
updatedAtstring (date-time)YesTimestamp when the credential was last updated.
deletedAtstring (date-time)NoTimestamp when the credential was soft-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

PUT Credential

/api/integrations/credentials

Update credential

Updates an existing credential for the authenticated 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/integrations/credentials

Request body

application/json Required
Payload for creating or updating a credential.
FieldTypeRequiredDescription
idstring (uuid)NoExisting credential ID for updates; omit on create.
namestringYesHuman-readable name for the credential.
userIdstring (uuid)NoUUID of the user who owns this credential.
typestringYesCredential type (e.g. token, basic, AWS).
secretobjectNoKey-value pairs containing the sensitive credential data.

Returned data

Responses

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

200
Credential updated

application/json

Meshery Credentials store sensitive information such as API keys, tokens, and passwords used by connections to external systems.
FieldTypeRequiredDescription
idstring (uuid)YesUnique identifier for the credential.
namestringYesHuman-readable name for the credential.
userIdstring (uuid)YesUUID of the user who owns this credential.
typestringYesCredential type (e.g. token, basic, AWS).
secretobjectNoKey-value pairs containing the sensitive credential data.
createdAtstring (date-time)YesTimestamp when the credential was created.
updatedAtstring (date-time)YesTimestamp when the credential was last updated.
deletedAtstring (date-time)NoTimestamp when the credential was soft-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

DELETE Credential

/api/integrations/credentials

Delete credential

Deletes a credential belonging to the authenticated 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/integrations/credentials

Parameters

Query parameters

NameTypeRequiredDescription
credentialIdstring (uuid)YesCredential ID

Returned data

Responses

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

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

/api/integrations/credentials/{credentialId}

Get credential by ID

Retrieves a specific credential 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/credentials/{credentialId}

Parameters

Path parameters

NameTypeRequiredDescription
credentialIdstring (uuid)YesCredential ID

Returned data

Responses

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.
FieldTypeRequiredDescription
idstring (uuid)YesUnique identifier for the credential.
namestringYesHuman-readable name for the credential.
userIdstring (uuid)YesUUID of the user who owns this credential.
typestringYesCredential type (e.g. token, basic, AWS).
secretobjectNoKey-value pairs containing the sensitive credential data.
createdAtstring (date-time)YesTimestamp when the credential was created.
updatedAtstring (date-time)YesTimestamp when the credential was last updated.
deletedAtstring (date-time)NoTimestamp 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

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
Model registered

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

application/json Required
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).
FieldTypeRequiredDescription
filestring (byte)YesBase64-encoded file bytes. Supported formats: Kubernetes Manifests, Helm Charts, Docker Compose, and Meshery Designs. See Import Designs Documentation for details.
fileNamestringYesThe name of the pattern file being imported. Include the extension (e.g. design.yaml), as the server uses it to identify the file type.
namestringNoProvide 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.
FieldTypeRequiredDescription
namestringNoProvide 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.
urlstring (uri)YesA direct URL to a single file, for example: https://raw.github.com/your-design-file.yaml. Ensure the resource 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 page size
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.
pageSizeintegerNoNumber of items per page.
totalCountintegerNoTotal 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 Workspace

/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

NameTypeRequiredDescription
orgIdstring (uuid)NoOrganization ID used to scope the workspace listing.
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
filterstringNoJSON-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.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal number of items across all pages.
workspacesarray of objectNoList 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

POST Workspace

/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/json Required
Body for creating a workspace
Payload for creating a workspace.
FieldTypeRequiredDescription
descriptionstringNoDescription of the workspace.
metadataobjectNoMetadata associated with the workspace.
namestringYesName of the workspace.
organizationIdstring (uuid)YesOrganization 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
FieldTypeRequiredDescription
createdAtstring (date-time)YesTimestamp when the workspace was created.
deletedAtstring (date-time)NoTimestamp when the workspace was soft-deleted. Null while the workspace is active.
descriptionstringNoDescription of the workspace.
idstring (uuid)YesNo description provided.
metadataobjectNoMetadata associated with the workspace.
namestringYesName of the workspace.
organizationIdstring (uuid)YesOrganization to which this workspace belongs.
ownerstring (uuid)NoUser ID of the workspace owner.
updatedAtstring (date-time)YesTimestamp 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

GET Workspace

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

http://localhost:9876/api/workspaces/{workspaceId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID

Returned data

Responses

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
FieldTypeRequiredDescription
createdAtstring (date-time)YesTimestamp when the workspace was created.
deletedAtstring (date-time)NoTimestamp when the workspace was soft-deleted. Null while the workspace is active.
descriptionstringNoDescription of the workspace.
idstring (uuid)YesNo description provided.
metadataobjectNoMetadata associated with the workspace.
namestringYesName of the workspace.
organizationIdstring (uuid)YesOrganization to which this workspace belongs.
ownerstring (uuid)NoUser ID of the workspace owner.
updatedAtstring (date-time)YesTimestamp 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

PUT Workspace

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

http://localhost:9876/api/workspaces/{workspaceId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID

Request body

application/json Required
Body for updating a workspace
Payload for updating a workspace.
FieldTypeRequiredDescription
descriptionstringNoDescription of the workspace.
metadataobjectNoMetadata associated with the workspace.
namestringNoName of the workspace.
organizationIdstring (uuid)YesOrganization ID.

Returned data

Responses

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
FieldTypeRequiredDescription
createdAtstring (date-time)YesTimestamp when the workspace was created.
deletedAtstring (date-time)NoTimestamp when the workspace was soft-deleted. Null while the workspace is active.
descriptionstringNoDescription of the workspace.
idstring (uuid)YesNo description provided.
metadataobjectNoMetadata associated with the workspace.
namestringYesName of the workspace.
organizationIdstring (uuid)YesOrganization to which this workspace belongs.
ownerstring (uuid)NoUser ID of the workspace owner.
updatedAtstring (date-time)YesTimestamp 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

DELETE Workspace

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

http://localhost:9876/api/workspaces/{workspaceId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID

Returned data

Responses

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

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

/api/workspaces/{workspaceId}/designs

Get designs assigned to a workspace

Gets designs assigned to or available for a workspace depending on the filter.

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/{workspaceId}/designs

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
filterstringNoJSON-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
Designs

application/json

Paginated list of designs.
FieldTypeRequiredDescription
designsarray of objectNoDesigns in this page.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

POST Workspace

/api/workspaces/{workspaceId}/designs/{designId}

Assign a design to a workspace

Assigns a design to 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)

http://localhost:9876/api/workspaces/{workspaceId}/designs/{designId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
designIdstring (uuid)YesDesign ID

Returned data

Responses

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

200
Workspace design mappings

application/json

Paginated list of workspace-design mappings.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal number of items across all pages.
workspacesDesignsMappingarray of objectNoWorkspace-design mapping entries.
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 Workspace

/api/workspaces/{workspaceId}/designs/{designId}

Unassign a design from a workspace

Removes a design from 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)

http://localhost:9876/api/workspaces/{workspaceId}/designs/{designId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
designIdstring (uuid)YesDesign ID

Returned data

Responses

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

204
Workspace design 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

GET Workspace

/api/workspaces/{workspaceId}/environments

Get environments assigned to a workspace

Gets environments assigned to or available for a workspace depending on the filter.

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/{workspaceId}/environments

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
filterstringNoJSON-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
Environments

application/json

Paginated list of environments.
FieldTypeRequiredDescription
environmentsarray of objectNoEnvironments associated with this resource.
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal 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

POST Workspace

/api/workspaces/{workspaceId}/environments/{environmentId}

Assign an environment to a workspace

Assigns an environment to 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)

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

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
environmentIdstring (uuid)YesEnvironment ID

Returned data

Responses

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

200
Workspace environment mappings

application/json

Paginated list of workspace-environment mappings.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal number of items across all pages.
workspacesEnvironmentsMappingarray of objectNoWorkspace-environment mapping entries.
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 Workspace

/api/workspaces/{workspaceId}/environments/{environmentId}

Unassign an environment from a workspace

Removes an environment from 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)

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

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
environmentIdstring (uuid)YesEnvironment ID

Returned data

Responses

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

204
Workspace environment 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

GET Workspace

/api/workspaces/{workspaceId}/teams

Get teams assigned to a workspace

Gets teams assigned to or available for a workspace depending on the filter.

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

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
filterstringNoJSON-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
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.
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 Workspace

/api/workspaces/{workspaceId}/teams/{teamId}

Assign a team to a workspace

Assigns a team to 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)

http://localhost:9876/api/workspaces/{workspaceId}/teams/{teamId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
teamIdstring (uuid)YesTeam ID

Returned data

Responses

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

200
Workspace team mappings

application/json

Paginated list of workspace-team mappings.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal number of items across all pages.
workspacesTeamsMappingarray of objectNoWorkspace-team mapping entries.
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 Workspace

/api/workspaces/{workspaceId}/teams/{teamId}

Unassign a team from a workspace

Removes a team from 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)

http://localhost:9876/api/workspaces/{workspaceId}/teams/{teamId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
teamIdstring (uuid)YesTeam ID

Returned data

Responses

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

204
Workspace team 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

GET Workspace

/api/workspaces/{workspaceId}/views

Get views assigned to a workspace

Gets views assigned to or available for a workspace depending on the filter.

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/{workspaceId}/views

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID

Query parameters

NameTypeRequiredDescription
searchstringNoGet responses that match search param value
orderstringNoGet ordered responses
pagestringNoGet responses by page
pagesizestringNoGet responses by pagesize
filterstringNoJSON-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
Views

application/json

Paginated list of views with location enrichment.
FieldTypeRequiredDescription
pageintegerNoNo description provided.
page_sizeintegerNoNo description provided.
total_countintegerNoNo description provided.
viewsarray of objectNoViews in this page, enriched with workspace and organization context.
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 Workspace

/api/workspaces/{workspaceId}/views/{viewId}

Assign a view to a workspace

Assigns a view to 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)

http://localhost:9876/api/workspaces/{workspaceId}/views/{viewId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
viewIdstring (uuid)YesView ID

Returned data

Responses

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

200
Workspace view mappings

application/json

Paginated list of workspace-view mappings.
FieldTypeRequiredDescription
pageintegerNoZero-based page index returned in this response.
pageSizeintegerNoMaximum number of items returned on each page.
totalCountintegerNoTotal number of items across all pages.
workspacesViewsMappingarray of objectNoWorkspace-view mapping entries.
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 Workspace

/api/workspaces/{workspaceId}/views/{viewId}

Unassign a view from a workspace

Removes a view from 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)

http://localhost:9876/api/workspaces/{workspaceId}/views/{viewId}

Parameters

Path parameters

NameTypeRequiredDescription
workspaceIdstring (uuid)YesWorkspace ID
viewIdstring (uuid)YesView ID

Returned data

Responses

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

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
Payload for creating a new event.
FieldTypeRequiredDescription
actionstringNoThe action of the event.
categorystringNoThe category of the event.
descriptionstringNoDescription of the event.
userIdstring (uuid)NoUUID 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

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
Payload for bulk-deleting events by ID.
FieldTypeRequiredDescription
idsarray of string (uuid)YesUUIDs 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.
FieldTypeRequiredDescription
deletedarray of string (uuid)NoUUIDs 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

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
Payload for bulk-updating the status of events.
FieldTypeRequiredDescription
idsarray of string (uuid)YesUUIDs of the events to update.
statusstringYesNew 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.
FieldTypeRequiredDescription
updatedarray of string (uuid)NoUUIDs 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

DELETE Events

/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

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

PUT Events

/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

NameTypeRequiredDescription
eventIdstring (uuid)YesID of the event.

Request body

application/json Required
Payload for updating the status of a single event.
FieldTypeRequiredDescription
statusstringYesCurrent 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.
FieldTypeRequiredDescription
eventIdstring (uuid)NoUUID of the event whose status was updated.
messagestringNoHuman-readable status message.
statusstringNoUpdated status of the event.
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