Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Elastic.io Workspaces API

Manage workspaces within contracts

Elastic.io Workspaces API is one of 22 APIs that Elastic.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Workspaces. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a JSON-LD context, and 3 JSON Schemas.

This API exposes 8 operations across 4 paths, and defines 12 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://api.elastic.io/v2.

8 operations 4 paths 12 schemas 2 DELETE3 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Server
https://api.elastic.io/v2
Authentication
HTTP Bearer
Contact
Terms of Service
Resource Areas
1

Authentication & Security 1

Elastic.io Workspaces API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer token authentication. Obtain a token through the elastic.io platform login or API key.

Paths & Operations 8

Across 4 paths, the API surfaces 8 operations — 2 DELETE, 3 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Workspaces 8

Manage workspaces within contracts

GET
/workspaces
Elastic.io List workspaces
listWorkspaces 3 params → 200401
POST
/workspaces
Elastic.io Create a workspace
createWorkspace body → 201401
GET
/workspaces/{workspace_id}
Elastic.io Get a workspace
getWorkspace 1 param → 200401404
PATCH
/workspaces/{workspace_id}
Elastic.io Update a workspace
updateWorkspace 1 param body → 200401404
DELETE
/workspaces/{workspace_id}
Elastic.io Delete a workspace
deleteWorkspace 1 param → 204401404
GET
/workspaces/{workspace_id}/members
Elastic.io List workspace members
listWorkspaceMembers 1 param → 200401
POST
/workspaces/{workspace_id}/members
Elastic.io Add a workspace member
addWorkspaceMember 1 param body → 200401
DELETE
/workspaces/{workspace_id}/members/{user_id}
Elastic.io Remove a workspace member
removeWorkspaceMember 2 params → 204401404

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are JsonApiLinks (5 properties), JsonApiMeta (4 properties), Workspace (4 properties), WorkspaceListResponse (3 properties). Each schema is shown below with its type and property counts.

MemberListResponse
object
2 properties
WorkspaceUpdateRequest
object
1 property 1 required
MemberResponse
object
1 property
Workspace
object
4 properties
ErrorResponse
object
1 property
WorkspaceListResponse
object
3 properties
JsonApiRelationship
object
1 property
MemberCreateRequest
object
1 property 1 required
JsonApiMeta
object
4 properties
JsonApiLinks
object
5 properties
WorkspaceCreateRequest
object
1 property 1 required
WorkspaceResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elastic-io-workspaces-api-openapi.yml Raw ↑

Other APIs Elastic.io publishes across the network.

Elastic.io Agents API
Elastic.io Auth Clients API
Elastic.io Auth Secrets API
Elastic.io Components API
Elastic.io Contracts API
Elastic.io Credentials API
Elastic.io Data Samples API
Elastic.io Executions API
Elastic.io Flow Drafts API
Elastic.io Flow Versions API
Elastic.io Flows API
Elastic.io Logs API