# PI Web API 2018 SP1 Swagger Spec API

> Swagger Spec file that describes PI Web API.

PI Web API 2018 SP1 Swagger Spec is a business API from osisoft.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 413 endpoints.

## At a glance

- Category: [Business](https://www.openparable.com/apis/category/business)
- Provider: osisoft.com
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://devdata.osisoft.com/piwebapi
- Documentation: https://techsupport.osisoft.com/
- OpenAPI description: https://api.apis.guru/v2/specs/osisoft.com/1.11.1.5383/swagger.json
- Version: 1.11.1.5383
- Specification updated: 2020-07-22

## Example request

```bash
curl -X GET "https://devdata.osisoft.com/piwebapi/" \
  -H "Accept: application/json"
```

## Endpoints

- `GET /` — Get top level links for this PI System Web API instance.
- `GET /analyses` — Retrieve an Analysis by path.
- `GET /analyses/search` — Retrieve analyses based on the specified conditions. By default, returns all analyses.
- `GET /analyses/{webId}` — Retrieve an Analysis.
- `PATCH /analyses/{webId}` — Update an Analysis.
- `DELETE /analyses/{webId}` — Delete an Analysis.
- `GET /analyses/{webId}/categories` — Get an Analysis' categories.
- `GET /analyses/{webId}/security` — Get the security information of the specified security item associated with the Analysis for a specified user.
- `GET /analyses/{webId}/securityentries` — Retrieve the security entries associated with the analysis based on the specified criteria. By default, all security entries for this analysis are returned.
- `POST /analyses/{webId}/securityentries` — Create a security entry owned by the analysis.
- `GET /analyses/{webId}/securityentries/{name}` — Retrieve the security entry associated with the analysis with the specified name.
- `PUT /analyses/{webId}/securityentries/{name}` — Update a security entry owned by the analysis.
- `DELETE /analyses/{webId}/securityentries/{name}` — Delete a security entry owned by the analysis.
- `GET /analysiscategories` — Retrieve an analysis category by path.
- `GET /analysiscategories/{webId}` — Retrieve an analysis category.
- `PATCH /analysiscategories/{webId}` — Update an analysis category by replacing items in its definition.
- `DELETE /analysiscategories/{webId}` — Delete an analysis category.
- `GET /analysiscategories/{webId}/security` — Get the security information of the specified security item associated with the analysis category for a specified user.
- `GET /analysiscategories/{webId}/securityentries` — Retrieve the security entries associated with the analysis category based on the specified criteria. By default, all security entries for this analysis category
- `POST /analysiscategories/{webId}/securityentries` — Create a security entry owned by the analysis category.
- `GET /analysiscategories/{webId}/securityentries/{name}` — Retrieve the security entry associated with the analysis category with the specified name.
- `PUT /analysiscategories/{webId}/securityentries/{name}` — Update a security entry owned by the analysis category.
- `DELETE /analysiscategories/{webId}/securityentries/{name}` — Delete a security entry owned by the analysis category.
- `GET /analysisruleplugins` — Retrieve an Analysis Rule Plug-in by path.
- `GET /analysisruleplugins/{webId}` — Retrieve an Analysis Rule Plug-in.
- `GET /analysisrules` — Retrieve an Analysis Rule by path.
- `GET /analysisrules/{webId}` — Retrieve an Analysis Rule.
- `PATCH /analysisrules/{webId}` — Update an Analysis Rule by replacing items in its definition.
- `DELETE /analysisrules/{webId}` — Delete an Analysis Rule.
- `GET /analysisrules/{webId}/analysisrules` — Get the child Analysis Rules of the Analysis Rule.
- `POST /analysisrules/{webId}/analysisrules` — Create a new Analysis Rule as a child of an existing Analysis Rule.
- `GET /analysistemplates` — Retrieve an analysis template by path.
- `POST /analysistemplates` — Create an Analysis template based upon a specified Analysis.
- `GET /analysistemplates/search` — Retrieve analysis templates based on the specified conditions. By default, returns all analysis templates.
- `GET /analysistemplates/{webId}` — Retrieve an analysis template.
- `PATCH /analysistemplates/{webId}` — Update an analysis template by replacing items in its definition.
- `DELETE /analysistemplates/{webId}` — Delete an analysis template.
- `GET /analysistemplates/{webId}/categories` — Get an analysis template's categories.
- `GET /analysistemplates/{webId}/security` — Get the security information of the specified security item associated with the analysis template for a specified user.
- `GET /analysistemplates/{webId}/securityentries` — Retrieve the security entries associated with the analysis template based on the specified criteria. By default, all security entries for this analysis template
- `POST /analysistemplates/{webId}/securityentries` — Create a security entry owned by the analysis template.
- `GET /analysistemplates/{webId}/securityentries/{name}` — Retrieve the security entry associated with the analysis template with the specified name.
- `PUT /analysistemplates/{webId}/securityentries/{name}` — Update a security entry owned by the analysis template.
- `DELETE /analysistemplates/{webId}/securityentries/{name}` — Delete a security entry owned by the analysis template.
- `GET /assetdatabases` — Retrieve an Asset Database by path.
- `GET /assetdatabases/{webId}` — Retrieve an Asset Database.
- `PATCH /assetdatabases/{webId}` — Update an asset database by replacing items in its definition.
- `DELETE /assetdatabases/{webId}` — Delete an asset database.
- `GET /assetdatabases/{webId}/analyses` — Retrieve analyses based on the specified conditions.
- `GET /assetdatabases/{webId}/analysiscategories` — Retrieve analysis categories for a given Asset Database.
- `POST /assetdatabases/{webId}/analysiscategories` — Create an analysis category at the Asset Database root.
- `GET /assetdatabases/{webId}/analysistemplates` — Retrieve analysis templates based on the specified criteria. By default, all analysis templates in the specified Asset Database are returned.
- `POST /assetdatabases/{webId}/analysistemplates` — Create an analysis template at the Asset Database root.
- `GET /assetdatabases/{webId}/attributecategories` — Retrieve attribute categories for a given Asset Database.
- `POST /assetdatabases/{webId}/attributecategories` — Create an attribute category at the Asset Database root.
- `GET /assetdatabases/{webId}/elementattributes` — Retrieves a list of element attributes matching the specified filters from the specified asset database.
- `GET /assetdatabases/{webId}/elementcategories` — Retrieve element categories for a given Asset Database.
- `POST /assetdatabases/{webId}/elementcategories` — Create an element category at the Asset Database root.
- `GET /assetdatabases/{webId}/elements` — Retrieve elements based on the specified conditions. By default, this method selects immediate children of the specified asset database.
- `POST /assetdatabases/{webId}/elements` — Create a child element.
- `GET /assetdatabases/{webId}/elementtemplates` — Retrieve element templates based on the specified criteria. Only templates of instance type "Element" and "EventFrame" are returned. By default, all element and
- `POST /assetdatabases/{webId}/elementtemplates` — Create a template at the Asset Database root. Specify InstanceType of "Element" or "EventFrame" to create element or event frame template respectively. Only the
- `GET /assetdatabases/{webId}/enumerationsets` — Retrieve enumeration sets for given asset database.
- `POST /assetdatabases/{webId}/enumerationsets` — Create an enumeration set at the Asset Database.
- `GET /assetdatabases/{webId}/eventframeattributes` — Retrieves a list of event frame attributes matching the specified filters from the specified asset database.
- `GET /assetdatabases/{webId}/eventframes` — Retrieve event frames based on the specified conditions. By default, returns all children of the specified root resource that have been active in the past 8 hou
- `POST /assetdatabases/{webId}/eventframes` — Create an event frame.
- `GET /assetdatabases/{webId}/export` — Export the asset database.
- `POST /assetdatabases/{webId}/import` — Import an asset database.
- `GET /assetdatabases/{webId}/referencedelements` — Retrieve referenced elements based on the specified conditions. By default, this method selects all referenced elements at the root level of the asset database.
- `POST /assetdatabases/{webId}/referencedelements` — Add a reference to an existing element to the specified database.
- `DELETE /assetdatabases/{webId}/referencedelements` — Remove a reference to an existing element from the specified database.
- `GET /assetdatabases/{webId}/security` — Get the security information of the specified security item associated with the asset database for a specified user.
- `GET /assetdatabases/{webId}/securityentries` — Retrieve the security entries of the specified security item associated with the asset database based on the specified criteria. By default, all security entrie
- `POST /assetdatabases/{webId}/securityentries` — Create a security entry owned by the asset database.
- `GET /assetdatabases/{webId}/securityentries/{name}` — Retrieve the security entry of the specified security item associated with the asset database with the specified name.
- `PUT /assetdatabases/{webId}/securityentries/{name}` — Update a security entry owned by the asset database.
- `DELETE /assetdatabases/{webId}/securityentries/{name}` — Delete a security entry owned by the asset database.
- `GET /assetdatabases/{webId}/tablecategories` — Retrieve table categories for a given Asset Database.
- `POST /assetdatabases/{webId}/tablecategories` — Create a table category on the Asset Database.
- `GET /assetdatabases/{webId}/tables` — Retrieve tables for given Asset Database.
- `POST /assetdatabases/{webId}/tables` — Create a table on the Asset Database.
- `GET /assetservers` — Retrieve a list of all Asset Servers known to this service.
- `GET /assetservers#name` — Retrieve an Asset Server by name.
- `GET /assetservers#path` — Retrieve an Asset Server by path.
- `GET /assetservers/{webId}` — Retrieve an Asset Server.
- `GET /assetservers/{webId}/analysisruleplugins` — Retrieve a list of all Analysis Rule Plug-in's.
- `GET /assetservers/{webId}/assetdatabases` — Retrieve a list of all Asset Databases on the specified Asset Server.
- `POST /assetservers/{webId}/assetdatabases` — Create an asset database.
- `GET /assetservers/{webId}/notificationcontacttemplates` — Retrieve a list of all notification contact templates on the specified Asset Server.
- `POST /assetservers/{webId}/notificationcontacttemplates` — Create a notification contact template.
- `GET /assetservers/{webId}/notificationplugins` — Retrieve a list of all notification plugins on the specified Asset Server.
- `GET /assetservers/{webId}/security` — Get the security information of the specified security item associated with the asset server for a specified user.
- `GET /assetservers/{webId}/securityentries` — Retrieve the security entries of the specified security item associated with the asset server based on the specified criteria. By default, all security entries
- `POST /assetservers/{webId}/securityentries` — Create a security entry owned by the asset server.
- `GET /assetservers/{webId}/securityentries/{name}` — Retrieve the security entry of the specified security item associated with the asset server with the specified name.
- `PUT /assetservers/{webId}/securityentries/{name}` — Update a security entry owned by the asset server.
- `DELETE /assetservers/{webId}/securityentries/{name}` — Delete a security entry owned by the asset server.
- `GET /assetservers/{webId}/securityidentities` — Retrieve security identities based on the specified criteria. By default, all security identities in the specified Asset Server are returned.
- `POST /assetservers/{webId}/securityidentities` — Create a security identity.

## Questions

### Does the PI Web API 2018 SP1 Swagger Spec API need an API key?

No. The PI Web API 2018 SP1 Swagger Spec API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the PI Web API 2018 SP1 Swagger Spec API support HTTPS?

Yes, the PI Web API 2018 SP1 Swagger Spec API is served over HTTPS.

### How many endpoints does the PI Web API 2018 SP1 Swagger Spec API have?

Its OpenAPI description lists 413 endpoints in version 1.11.1.5383. The first 100 are shown on this page.

### What are alternatives to the PI Web API 2018 SP1 Swagger Spec API?

Other Business APIs include Gmail, Google Analytics, Apache Superset, Trello, Square.

## Similar business APIs

- [Gmail](https://www.openparable.com/apis/gmail): Flexible, RESTful access to the user's inbox
- [Google Analytics](https://www.openparable.com/apis/google-analytics): Collect, configure and analyze your data to reach the right audience
- [Apache Superset](https://www.openparable.com/apis/apache-superset): API to manage your BI dashboards and data sources on Superset
- [Trello](https://www.openparable.com/apis/trello): Boards, lists and cards to help you organize and prioritize your projects
- [Square](https://www.openparable.com/apis/square): Easy way to take payments, manage refunds, and help customers checkout online
- [Mailchimp](https://www.openparable.com/apis/mailchimp): Send marketing campaigns and transactional mails
- [Braze Endpoints](https://www.openparable.com/apis/braze-endpoints): # Braze API Overview Braze provides a high performance REST API to allow you to track users, send messages, export data, and more. A REST API is a way to programmatically transfer information over the web using a predefined schema. Braze has created many different endpoints with specific requirements that will perform various actions and/or return various data. API access is done using HTTPS web requests to your company's REST API endpoint (this will correspond to your Dashboard URL as shown in the table below). Customers using Braze's EU database should use `https://rest.fra-01.braze.eu/`. For more information on REST API endpoints for customers using Braze's EU database see our [EU/US Implementation Differences documentation](https://www.braze.com/docs/developer_guide/eu01_us3_sdk_implementation_differences/overview/). ## Braze Instances Instance | Dashboard URL | REST Endpoint ----------- |---------------- | -------------------- US-01 | `https://dashboard.braze.com` or<br> `https://dashboard-01.braze.com` | `https://rest.iad-01.braze.com` US-02 | `https://dashboard-02.braze.com` | `https://rest.iad-02.braze.com` US-03 | `https://dashboard-03.braze.com` | `https://rest.iad-03.braze.com` US-04 | `https://dashboard-04.braze.com` | `https://rest.iad-04.braze.com` US-06 | `https://dashboard-06.braze.com` | `https://rest.iad-06.braze.com` EU-01 | `https://dashboard.braze.eu` or<br> `https://dashboard-01.braze.eu` | `https://rest.fra-01.braze.eu` # Using Braze's Postman Collection If you have a Postman account (MacOS, Windows, and Linux versions can be downloaded from their website located [here](https://www.getpostman.com)), you can go to our Postman documentation and click the orange `Run in Postman` button in the top, right corner. This will allow you to [create an environment](#setting-up-your-postman-environment), as well as edit the available `POST` and `GET` requests to suit your own needs. ## Setting Up Your Postman Environment The Braze Postman Collection uses a templating variable, `{{instance_url}}`, to substitute the REST API URL of your Braze instance into the pre-built requests. Rather than having to manually edit all requests in the Collection, you can set up this variable in your Postman environment. To do so, please follow the steps below: 1. Click on the gear icon in the top right corner of the Postman app. 2. Select "Manage Environments" to open a modal window which displays your active environments. 3. In the bottom right corner of the modal window, click "Add" to create a new environment. 4. Give this environment a name (e.g. "Braze API Requests") and add keys for `instance_url` and `api_key` with values corresponding to [your Braze instance](https://www.braze.com/docs/api/basics/#endpoints) and [Braze REST API Key](https://www.braze.com/docs/api/basics/#app-group-rest-api-keys), as pictured below. As of April, 2020 Braze has changed how we read App Group API keys. Instead of passing them in the request body or through url parameters, we now read the App Group Rest`api_key` through the HTTP Authorization header. API keys not passed through the HTTP Authorization Header will coninue to work until they have been sunset. ## Using the Pre-Built Requests from the Collection Once you have configured your environment. You can use any of the pre-built requests in the collection as a template for building new API requests. To start using one of the pre-built requests, simply click on it within the 'Collections' menu on the left side of Postman. This will open the request as a new tab in the main window of the Postman app. In general, there are two types of requests that Braze's API endpoints accept - `GET` and `POST`. Depending on which `HTTP` method the endpoint uses, you'll need to edit the pre-built request differently. ### Edit a POST Request When editing a `POST` request, you'll need to open the request and navigate to the `Body` section in the request editor. For readability, select the `raw` radio button to form
- [Freelancer](https://www.openparable.com/apis/freelancer): Hire freelancers to get work done
- [mailjet](https://www.openparable.com/apis/mailjet): Marketing email can be sent and mail templates made in MJML or HTML can be sent using API
- [Instatus](https://www.openparable.com/apis/instatus): Post to and update maintenance and incidents on your status page through an HTTP REST API
- [Mist API](https://www.openparable.com/apis/mist): > Version: **0.36.1** > > Date: **March 3, 2022** --- #### Available Documentation * [Postman](https://documenter.getpostman.com/view/224925/SzYgQufe) * [Open API](https://doc.mist-lab.fr/) --- #### Useful links * [Mist Homepage](https://www.mist.com) * [Mist Documentation](https://www.mist.com/documentation) * [Official API Documentation](https://api.mist.com/api/v1/docs/Home) (Mist account required) * [Mist Blog](https://www.mist.com/news/?md_post_type=post) * [Mist Updates](https://www.mist.com/documentation/category/product-updates/)
- [SalesLoft Platform](https://www.openparable.com/apis/salesloft-platform): SalesLoft helps transform sales teams into modern sales organizations - converting more target accounts into customer accounts

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/pi-web-2018-sp1-swagger-spec (OpenParable). Cite the canonical URL above.
