Wherobots management API
The management API from Wherobots — 16 operation(s) for management.
The management API from Wherobots — 16 operation(s) for management.
openapi: 3.1.0
info:
title: Wherobots Cloud apikey management API
description: "Wherobots Cloud API OpenAPI specification.\n\n These are the API docs for the Wherobots API. You can use this to test out the API and see what it does.\n The underlying OPENAPI spec can be found at /openapi.json. This can be used to generate clients for the API.\n\n The Authorize button below will allow you to input an access token to authenticate to our API.\n Then all of the requests on the page should work.\n "
version: 0.0.1
servers:
- url: https://api.cloud.wherobots.com
description: Wherobots Cloud API
tags:
- name: management
paths:
/management/organization/{organization_id}/subscription:
get:
tags:
- management
summary: Get organization subscription
description: 'Get organization''s active subscription details.
This endpoint is for superusers only and returns the active subscription
information including type-specific details (AWS Marketplace, Stripe, etc.).'
operationId: getOrganizationSubscription
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/SubscriptionInfo'
- type: 'null'
title: Response Getorganizationsubscription
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/usage/costs:
post:
tags:
- management
summary: Get organization workload costs
description: 'Get Orb-calculated workload costs for any organization.
This endpoint is for superusers only. Unlike the org-scoped
``POST /usage/costs``, it resolves costs for an arbitrary organization
identified by ``organization_id``.'
operationId: getOrganizationWorkloadCosts
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GetKubeAppCostsInput'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkloadCostsOutput'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/quotas/all:
get:
tags:
- management
summary: List all organization quotas
operationId: listAllQuotas
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties:
additionalProperties:
type: integer
propertyNames:
$ref: '#/components/schemas/QuotaType'
type: object
type: object
title: Response Listallquotas
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
security:
- bearerToken: []
- wherobotsApiKey: []
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/quotas:
get:
tags:
- management
summary: Get quotas for an organization
operationId: getOrganizationQuotas
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties:
type: integer
propertyNames:
$ref: '#/components/schemas/QuotaType'
title: Response Getorganizationquotas
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/update-quota:
post:
tags:
- management
summary: Update a quota for an organization
operationId: updateOrganizationQuota
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
- name: quota_type
in: query
required: true
schema:
$ref: '#/components/schemas/QuotaType'
- name: quota_value
in: query
required: true
schema:
type: integer
title: Quota Value
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties:
type: integer
propertyNames:
$ref: '#/components/schemas/QuotaType'
title: Response Updateorganizationquota
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/refresh-quotas:
post:
tags:
- management
summary: Refresh org resource quotas in K8s
operationId: refreshOrganizationQuotas
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/refresh-users:
post:
tags:
- management
summary: Refresh users in an organization
operationId: refreshOrganizationUsers
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/verify:
post:
tags:
- management
summary: Verify an organization
operationId: verifyOrganization
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/mark-fraudulent:
post:
tags:
- management
summary: Mark organization as fraudulent
operationId: markOrganizationFraudulent
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/update-plan:
post:
tags:
- management
summary: Update organization plan and subscription
description: 'Update an organization''s plan and optionally change its subscription type.
If subscription_type is provided and the org already has an active subscription
of a different type, the old subscription will be stopped and a new one created.'
operationId: updateOrganizationPlan
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
- name: plan
in: query
required: true
schema:
$ref: '#/components/schemas/Plan'
- name: subscription_type
in: query
required: false
schema:
anyOf:
- $ref: '#/components/schemas/SubscriptionType'
- type: 'null'
title: Subscription Type
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/refresh-catalogs:
post:
tags:
- management
summary: Refresh catalogs for an organization
description: 'Refresh catalogs for a specific organization.
Only accessible by super users.'
operationId: refreshOrganizationCatalogs
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/kube_app/{kube_app_id}/destroy:
post:
tags:
- management
summary: Destroy a workload
operationId: destroyWorkload
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: kube_app_id
in: path
required: true
schema:
type: string
title: Kube App Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/feature-overrides:
get:
tags:
- management
summary: Get feature flag overrides for an org
operationId: getFeatureOverrides
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties:
$ref: '#/components/schemas/FeatureEnabledState'
propertyNames:
$ref: '#/components/schemas/WherobotsCloudFeature'
title: Response Getfeatureoverrides
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}/update-feature-override:
post:
tags:
- management
summary: Update a feature flag override
operationId: updateFeatureOverride
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Body_updateFeatureOverride'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/organization/{organization_id}:
delete:
tags:
- management
summary: Delete an organization
operationId: deleteOrganization
security:
- bearerToken: []
- wherobotsApiKey: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: string
title: Organization Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
x-exclude-from-cli: true
x-excluded: true
/management/async_operation_task:
post:
tags:
- management
summary: Create an async operation task
operationId: createAsyncOperationTask
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OperationTaskPayload'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: string
title: Response Createasyncoperationtask
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/wherobots/refs/heads/main/openapi/wherobots-management-api-openapi.yml