Moesif · Capability

Management API

Management API to query data in Moesif. You can use the management API to export data for custom reports or to build custom dashboards.

Run with Naftiko MoesifAPI

What You Can Do

POST
Updatecompanies — Update a Company
/search/~/companies
POST
Batchupdatecompanies — Update Companies in Batch
/search/~/companies/batch
GET
Getcompany — Get a Company
/search/~/companies/{id}
DELETE
Deletecompany — Delete a Company
/search/~/companies/{id}
GET
Getcompanysubscriptions — Get the Subscriptions of a Company
/search/~/companies/{id}/subscriptions
POST
Countcompanies — Count Companies
/search/~/count/companies
POST
Countevents — Count Events
/search/~/count/events
POST
Countusers — Count Users
/search/~/count/users
GET
Getevent — Get an Event
/search/~/events/{id}
GET
Getproperties — Get Property Mapping for Companies
/search/~/mappings/companies/properties
GET
Getproperties — Get Property Mapping for CompanyMetrics
/search/~/mappings/companymetrics/properties
GET
Getproperties — Get Property Mapping for Events
/search/~/mappings/events/properties
GET
Getrequestbodyproperties — Get Property Mapping for Events Request Body
/search/~/mappings/events/request/body/properties
GET
Getresponsebodyproperties — Get Property Mapping for Events Response Body
/search/~/mappings/events/response/body/properties
GET
Getproperties — Get Property Mapping for UserMetrics
/search/~/mappings/usermetrics/properties
GET
Getproperties — Get Property Mapping for Users
/search/~/mappings/users/properties
POST
Searchcompanymetrics — Search CompanyMetrics/Companies
/search/~/search/companymetrics/companies
POST
Searchevents — Search Events
/search/~/search/events
POST
Searchusermetrics — Search UserMetrics/Users
/search/~/search/usermetrics/users
POST
Createsubscription — Create or Update a Subscription
/search/~/subscriptions
POST
Batchcreatesubscriptions — Create or Update Subscriptions in Batch
/search/~/subscriptions/batch
GET
Getsubscription — Get a Subscription
/search/~/subscriptions/{id}
POST
Updateusers — Update a User
/search/~/users
POST
Batchupdateusers — Update Users in Batch
/search/~/users/batch
GET
Getuser — Get a User
/search/~/users/{id}
DELETE
Deleteuser — Delete a User
/search/~/users/{id}
POST
Searchpublicworkspaces — Search Events in saved public Workspace
/search/~/workspaces/{workspaceId}/search
GET
Getworkspacetoken — Get new Workspace Token
/workspaces/access_token
GET
Getpublicworkspace — Get a Public Workspace
/workspaces/public/{id}
POST
Addapp — Create a new App
/~/apps
GET
Getapps — Gets Apps
/~/apps
POST
Updateapp — Update Apps
/~/apps/{id}
DELETE
Deleteapp — Delete Apps
/~/apps/{id}
POST
Createmoesifplan — Create a new Moesif Plan
/~/billing/catalog/plans
GET
Listmoesifplans — List all Moesif Plans
/~/billing/catalog/plans
GET
Getmoesifplan — Get a Moesif Plan
/~/billing/catalog/plans/{id}
DELETE
Deletemoesifplan — Delete a Moesif Plan
/~/billing/catalog/plans/{id}
PUT
Updatemoesifplan — Update a Moesif Plan
/~/billing/catalog/plans/{id}
POST
Createmoesifprice — Create a new Moesif Price
/~/billing/catalog/prices
GET
Listmoesifprices — List all Moesif Prices for a specific Plan
/~/billing/catalog/prices
GET
Getmoesifprice — Get a Moesif Price
/~/billing/catalog/prices/{id}
DELETE
Deletemoesifprice — Delete a Moesif Price
/~/billing/catalog/prices/{id}
PUT
Updatemoesifprice — Update a Moesif Price
/~/billing/catalog/prices/{id}
GET
Listmeters — List Billing Meters
/~/billing/meters
GET
Getmeter — Get Billing Meter by id
/~/billing/meters/{meterId}
DELETE
Deletemeter — Delete Billing Meter by id
/~/billing/meters/{meterId}
GET
Getbillingreports — Get BillingReports
/~/billing/reports
POST
Createbalancetransaction — Post BillingReports Balance Transactions
/~/billing/reports/balance_transactions
GET
Getbillingreportsmetrics — Get BillingReports' values for a given meter and time range for a single company or all companies
/~/billing/reports/metrics
POST
Createcohort — Create New Cohort
/~/cohorts
GET
Getcohorts — Get Cohorts
/~/cohorts
POST
Updatecohort — Update a Cohort
/~/cohorts/{cohortId}
GET
Getcohort — Get Cohort
/~/cohorts/{cohortId}
DELETE
Deletecohort — Delete Cohort
/~/cohorts/{cohortId}
DELETE
Deletecohortsamplerate — Delete Sample Rate for a Cohort
/~/cohorts/{cohortId}/sample_rate
DELETE
Deletedashboards — Delete a Dashboard
/~/dashboard/{dashId}
POST
Copydashboard — Copy Dashboard
/~/dashboard/{id}/copy
POST
Createdashboard — Create New Dashboard
/~/dashboards
GET
Getdashboards — Get a Dashboard
/~/dashboards
POST
Copyalldashboards — Copy All Dashboards
/~/dashboards/copy

MCP Tools

updatecompanies

Update a Company

batchupdatecompanies

Update Companies in Batch

getcompany

Get a Company

read-only idempotent
deletecompany

Delete a Company

idempotent
getcompanysubscriptions

Get the Subscriptions of a Company

read-only idempotent
countcompanies

Count Companies

countevents

Count Events

countusers

Count Users

getevent

Get an Event

read-only idempotent
getproperties

Get Property Mapping for Companies

read-only idempotent
getproperties

Get Property Mapping for CompanyMetrics

read-only idempotent
getproperties

Get Property Mapping for Events

read-only idempotent
getrequestbodyproperties

Get Property Mapping for Events Request Body

read-only idempotent
getresponsebodyproperties

Get Property Mapping for Events Response Body

read-only idempotent
getproperties

Get Property Mapping for UserMetrics

read-only idempotent
getproperties

Get Property Mapping for Users

read-only idempotent
searchcompanymetrics

Search CompanyMetrics/Companies

searchevents

Search Events

searchusermetrics

Search UserMetrics/Users

createsubscription

Create or Update a Subscription

batchcreatesubscriptions

Create or Update Subscriptions in Batch

getsubscription

Get a Subscription

read-only idempotent
updateusers

Update a User

batchupdateusers

Update Users in Batch

getuser

Get a User

read-only idempotent
deleteuser

Delete a User

idempotent
searchpublicworkspaces

Search Events in saved public Workspace

getworkspacetoken

Get new Workspace Token

read-only idempotent
getpublicworkspace

Get a Public Workspace

read-only idempotent
addapp

Create a new App

getapps

Gets Apps

read-only idempotent
updateapp

Update Apps

deleteapp

Delete Apps

idempotent
createmoesifplan

Create a new Moesif Plan

listmoesifplans

List all Moesif Plans

read-only idempotent
getmoesifplan

Get a Moesif Plan

read-only idempotent
deletemoesifplan

Delete a Moesif Plan

idempotent
updatemoesifplan

Update a Moesif Plan

idempotent
createmoesifprice

Create a new Moesif Price

listmoesifprices

List all Moesif Prices for a specific Plan

read-only idempotent
getmoesifprice

Get a Moesif Price

read-only idempotent
deletemoesifprice

Delete a Moesif Price

idempotent
updatemoesifprice

Update a Moesif Price

idempotent
listmeters

List Billing Meters

read-only idempotent
getmeter

Get Billing Meter by id

read-only idempotent
deletemeter

Delete Billing Meter by id

idempotent
getbillingreports

Get BillingReports

read-only idempotent
createbalancetransaction

Post BillingReports Balance Transactions

getbillingreportsmetrics

Get BillingReports' values for a given meter and time range for a single company or all companies

read-only idempotent
createcohort

Create New Cohort

getcohorts

Get Cohorts

read-only idempotent
updatecohort

Update a Cohort

getcohort

Get Cohort

read-only idempotent
deletecohort

Delete Cohort

idempotent
deletecohortsamplerate

Delete Sample Rate for a Cohort

idempotent
deletedashboards

Delete a Dashboard

idempotent
copydashboard

Copy Dashboard

createdashboard

Create New Dashboard

getdashboards

Get a Dashboard

read-only idempotent
copyalldashboards

Copy All Dashboards

Capability Spec

moesif-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Management API
  description: Management API to query data in Moesif. You can use the management API to export data for custom reports or
    to build custom dashboards.
  tags:
  - Moesif
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: moesif
    baseUri: https://api.moesif.com/v1
    description: Management API HTTP API.
    authentication:
      type: bearer
      token: '{{MOESIF_TOKEN}}'
    resources:
    - name: search-companies
      path: /search/~/companies
      operations:
      - name: updatecompanies
        method: POST
        description: Update a Company
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-companies-batch
      path: /search/~/companies/batch
      operations:
      - name: batchupdatecompanies
        method: POST
        description: Update Companies in Batch
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-companies-id
      path: /search/~/companies/{id}
      operations:
      - name: getcompany
        method: GET
        description: Get a Company
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletecompany
        method: DELETE
        description: Delete a Company
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: delete_events
          in: query
          type: boolean
          description: Delete events associated with the company which can be set to true or false(default)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-companies-id-subscriptions
      path: /search/~/companies/{id}/subscriptions
      operations:
      - name: getcompanysubscriptions
        method: GET
        description: Get the Subscriptions of a Company
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-count-companies
      path: /search/~/count/companies
      operations:
      - name: countcompanies
        method: POST
        description: Count Companies
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-count-events
      path: /search/~/count/events
      operations:
      - name: countevents
        method: POST
        description: Count Events
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: from
          in: query
          type: string
          required: true
          description: The start date, which can be absolute such as 2019-07-01T00:00:00Z or relative such as -24h
        - name: to
          in: query
          type: string
          required: true
          description: The end date, which can be absolute such as 2019-07-02T00:00:00Z or relative such as now
        - name: track_total_hits
          in: query
          type: boolean
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-count-users
      path: /search/~/count/users
      operations:
      - name: countusers
        method: POST
        description: Count Users
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-events-id
      path: /search/~/events/{id}
      operations:
      - name: getevent
        method: GET
        description: Get an Event
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: event_time
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-mappings-companies-properties
      path: /search/~/mappings/companies/properties
      operations:
      - name: getproperties
        method: GET
        description: Get Property Mapping for Companies
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-mappings-companymetrics-properties
      path: /search/~/mappings/companymetrics/properties
      operations:
      - name: getproperties
        method: GET
        description: Get Property Mapping for CompanyMetrics
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        - name: from
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-mappings-events-properties
      path: /search/~/mappings/events/properties
      operations:
      - name: getproperties
        method: GET
        description: Get Property Mapping for Events
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        - name: from
          in: query
          type: string
        - name: to
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-mappings-events-request-body-properties
      path: /search/~/mappings/events/request/body/properties
      operations:
      - name: getrequestbodyproperties
        method: GET
        description: Get Property Mapping for Events Request Body
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        - name: from
          in: query
          type: string
          required: true
        - name: to
          in: query
          type: string
          required: true
        - name: include_values
          in: query
          type: boolean
        - name: key_path
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-mappings-events-response-body-properties
      path: /search/~/mappings/events/response/body/properties
      operations:
      - name: getresponsebodyproperties
        method: GET
        description: Get Property Mapping for Events Response Body
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        - name: from
          in: query
          type: string
          required: true
        - name: to
          in: query
          type: string
          required: true
        - name: include_values
          in: query
          type: boolean
        - name: key_path
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-mappings-usermetrics-properties
      path: /search/~/mappings/usermetrics/properties
      operations:
      - name: getproperties
        method: GET
        description: Get Property Mapping for UserMetrics
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        - name: from
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-mappings-users-properties
      path: /search/~/mappings/users/properties
      operations:
      - name: getproperties
        method: GET
        description: Get Property Mapping for Users
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-search-companymetrics-companies
      path: /search/~/search/companymetrics/companies
      operations:
      - name: searchcompanymetrics
        method: POST
        description: Search CompanyMetrics/Companies
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: from
          in: query
          type: string
          description: The start date, which can be absolute such as 2023-07-01T00:00:00Z or relative such as -24h
        - name: to
          in: query
          type: string
          description: The end date, which can be absolute such as 2023-07-02T00:00:00Z or relative such as now
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-search-events
      path: /search/~/search/events
      operations:
      - name: searchevents
        method: POST
        description: Search Events
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: from
          in: query
          type: string
          required: true
          description: The start date, which can be absolute such as 2023-07-01T00:00:00Z or relative such as -24h
        - name: to
          in: query
          type: string
          required: true
          description: The end date, which can be absolute such as 2023-07-02T00:00:00Z or relative such as now
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-search-usermetrics-users
      path: /search/~/search/usermetrics/users
      operations:
      - name: searchusermetrics
        method: POST
        description: Search UserMetrics/Users
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: from
          in: query
          type: string
          description: The start date, which can be absolute such as 2023-07-01T00:00:00Z or relative such as -24h
        - name: to
          in: query
          type: string
          description: The end date, which can be absolute such as 2023-07-02T00:00:00Z or relative such as now
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-subscriptions
      path: /search/~/subscriptions
      operations:
      - name: createsubscription
        method: POST
        description: Create or Update a Subscription
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-subscriptions-batch
      path: /search/~/subscriptions/batch
      operations:
      - name: batchcreatesubscriptions
        method: POST
        description: Create or Update Subscriptions in Batch
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-subscriptions-id
      path: /search/~/subscriptions/{id}
      operations:
      - name: getsubscription
        method: GET
        description: Get a Subscription
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-users
      path: /search/~/users
      operations:
      - name: updateusers
        method: POST
        description: Update a User
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-users-batch
      path: /search/~/users/batch
      operations:
      - name: batchupdateusers
        method: POST
        description: Update Users in Batch
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-users-id
      path: /search/~/users/{id}
      operations:
      - name: getuser
        method: GET
        description: Get a User
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteuser
        method: DELETE
        description: Delete a User
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: delete_events
          in: query
          type: boolean
          description: Delete events associated with the user which can be set to true or false(default)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search-workspaces-workspaceid-search
      path: /search/~/workspaces/{workspaceId}/search
      operations:
      - name: searchpublicworkspaces
        method: POST
        description: Search Events in saved public Workspace
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: from
          in: query
          type: string
          required: true
          description: The start date, which can be absolute such as 2023-07-01T00:00:00Z or relative such as -24h
        - name: to
          in: query
          type: string
          required: true
          description: The end date, which can be absolute such as 2023-07-02T00:00:00Z or relative such as now
        - name: workspaceId
          in: path
          type: string
          required: true
        - name: include_details
          in: query
          type: boolean
        - name: take
          in: query
          type: integer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-access-token
      path: /workspaces/access_token
      operations:
      - name: getworkspacetoken
        method: GET
        description: Get new Workspace Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-public-id
      path: /workspaces/public/{id}
      operations:
      - name: getpublicworkspace
        method: GET
        description: Get a Public Workspace
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apps
      path: /~/apps
      operations:
      - name: addapp
        method: POST
        description: Create a new App
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getapps
        method: GET
        description: Gets Apps
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: take
          in: query
          type: integer
          required: true
        - name: before_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apps-id
      path: /~/apps/{id}
      operations:
      - name: updateapp
        method: POST
        description: Update Apps
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteapp
        method: DELETE
        description: Delete Apps
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-catalog-plans
      path: /~/billing/catalog/plans
      operations:
      - name: createmoesifplan
        method: POST
        description: Create a new Moesif Plan
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: listmoesifplans
        method: GET
        description: List all Moesif Plans
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: provider
          in: query
          type: string
        - name: includes
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-catalog-plans-id
      path: /~/billing/catalog/plans/{id}
      operations:
      - name: getmoesifplan
        method: GET
        description: Get a Moesif Plan
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletemoesifplan
        method: DELETE
        description: Delete a Moesif Plan
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatemoesifplan
        method: PUT
        description: Update a Moesif Plan
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-catalog-prices
      path: /~/billing/catalog/prices
      operations:
      - name: createmoesifprice
        method: POST
        description: Create a new Moesif Price
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: listmoesifprices
        method: GET
        description: List all Moesif Prices for a specific Plan
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: provider
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-catalog-prices-id
      path: /~/billing/catalog/prices/{id}
      operations:
      - name: getmoesifprice
        method: GET
        description: Get a Moesif Price
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletemoesifprice
        method: DELETE
        description: Delete a Moesif Price
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatemoesifprice
        method: PUT
        description: Update a Moesif Price
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
        - name: provider
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-meters
      path: /~/billing/meters
      operations:
      - name: listmeters
        method: GET
        description: List Billing Meters
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-meters-meterid
      path: /~/billing/meters/{meterId}
      operations:
      - name: getmeter
        method: GET
        description: Get Billing Meter by id
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: meterId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletemeter
        method: DELETE
        description: Delete Billing Meter by id
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: meterId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-reports
      path: /~/billing/reports
      operations:
      - name: getbillingreports
        method: GET
        description: Get BillingReports
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: from
          in: query
          type: string
        - name: to
          in: query
          type: string
        - name: billing_meter_id
          in: query
          type: string
        - name: company_id
          in: query
          type: string
        - name: provider
          in: query
          type: string
        - name: subscription_id
          in: query
          type: string
        - name: success
          in: query
          type: boolean
        - name: status_code
          in: query
          type: integer
        - name: error_code
          in: query
          type: string
        - name: '`type`'
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-reports-balance-transactions
      path: /~/billing/reports/balance_transactions
      operations:
      - name: createbalancetransaction
        method: POST
        description: Post BillingReports Balance Transactions
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: billing-reports-metrics
      path: /~/billing/reports/metrics
      operations:
      - name: getbillingreportsmetrics
        method: GET
        description: Get BillingReports' values for a given meter and time range for a single company or all companies
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: from
          in: query
          type: string
          required: true
        - name: to
          in: query
          type: string
          required: true
        - name: billing_meter_id
          in: query
          type: string
        - name: success
          in: query
          type: boolean
        - name: aggregator
          in: query
          type: string
        - name: interval
          in: query
          type: string
        - name: company_id
          in: query
          type: string
        - name: subscription_id
          in: query
          type: string
        - name: '`type`'
          in: query
          type: array
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: cohorts
      path: /~/cohorts
      operations:
      - name: createcohort
        method: POST
        description: Create New Cohort
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getcohorts
        method: GET
        description: Get Cohorts
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: cohort_type
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: cohorts-cohortid
      path: /~/cohorts/{cohortId}
      operations:
      - name: updatecohort
        method: POST
        description: Update a Cohort
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: cohortId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getcohort
        method: GET
        description: Get Cohort
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
        - name: cohort_type
          in: query
    

# --- truncated at 32 KB (96 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/moesif/refs/heads/main/capabilities/moesif-capability.yaml