Amazon IoT SiteWise Portals API

The Portals API from Amazon IoT SiteWise — 2 operation(s) for portals.

GitHub OpenAPI

Operations 5

POST /portals Create Portal #
GET /portals List Portals #
DELETE /portals/{portalId} Delete Portal #
GET /portals/{portalId} Describe Portal #
PUT /portals/{portalId} Update Portal #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-iot-sitewise:amazon-iot-sitewise-portals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-iot-sitewise-portals-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT SiteWise Portals API
  version: '2019-12-02'
  description: Generated from AWS's published Smithy model for AWS IoT SiteWise. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://iotsitewise.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /portals:
    post:
      operationId: CreatePortal
      summary: Create Portal
      description: The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If
        you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue
        to use the service as normal. For more information, see IoT SiteWise Monitor availability change. Creates a portal,
        which can contain projects and dashboards. IoT SiteWise Monitor uses IAM Identity Center or IAM to authenticate portal
        users and manage user permissions. Before you can sign in to a new portal, you must add at least one identity to that
        portal. For more information, see Adding or removing portal administrators in the IoT SiteWise User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatePortalResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '410':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                portalName:
                  type: string
                  description: A friendly name for the portal.
                portalDescription:
                  type: string
                  description: A description for the portal.
                portalContactEmail:
                  type: string
                  description: The Amazon Web Services administrator's contact email address.
                clientToken:
                  type: string
                  description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
                    Don't reuse this client token if a new idempotent request is required.
                portalLogoImageFile:
                  $ref: '#/components/schemas/ImageFile'
                roleArn:
                  type: string
                  description: The ARN of a service role that allows the portal's users to access your IoT SiteWise resources
                    on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise
                    User Guide.
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A list of key-value pairs that contain metadata for the portal. For more information, see Tagging
                    your IoT SiteWise resources in the IoT SiteWise User Guide.
                portalAuthMode:
                  type: string
                  enum:
                  - IAM
                  - SSO
                  description: 'The service to use to authenticate users to the portal. Choose from the following options:
                    SSO – The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you
                    can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information,
                    see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon
                    Web Services Regions other than the China Regions. IAM – The portal uses Identity and Access Management
                    to authenticate users and manage user permissions. You can''t change this value after y'
                notificationSenderEmail:
                  type: string
                  description: The email address that sends alarm notifications. If you use the IoT Events managed Lambda
                    function to manage your emails, you must verify the sender email address in Amazon SES.
                alarms:
                  $ref: '#/components/schemas/Alarms'
                portalType:
                  type: string
                  enum:
                  - SITEWISE_PORTAL_V1
                  - SITEWISE_PORTAL_V2
                  description: Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1.
                    The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.
                portalTypeConfiguration:
                  type: object
                  additionalProperties:
                    $ref: '#/components/schemas/PortalTypeEntry'
                  description: The configuration entry associated with the specific portal type. The value for IoT SiteWise
                    Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.
              required:
              - portalName
              - portalContactEmail
              - roleArn
      tags:
      - Portals
    get:
      operationId: ListPortals
      summary: List Portals
      description: Retrieves a paginated list of IoT SiteWise Monitor portals.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPortalsResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token to be used for the next set of paginated results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: 'The maximum number of results to return for each paginated request. Default: 50'
      tags:
      - Portals
  /portals/{portalId}:
    delete:
      operationId: DeletePortal
      summary: Delete Portal
      description: Deletes a portal from IoT SiteWise Monitor.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletePortalResponse'
        '409':
          description: ConflictingOperationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictingOperationException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: portalId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the portal to delete.
      - name: clientToken
        in: query
        schema:
          type: string
        description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
          reuse this client token if a new idempotent request is required.
      tags:
      - Portals
    get:
      operationId: DescribePortal
      summary: Describe Portal
      description: Retrieves information about a portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribePortalResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: portalId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the portal.
      tags:
      - Portals
    put:
      operationId: UpdatePortal
      summary: Update Portal
      description: The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If
        you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue
        to use the service as normal. For more information, see IoT SiteWise Monitor availability change. Updates an IoT SiteWise
        Monitor portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdatePortalResponse'
        '409':
          description: ConflictingOperationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictingOperationException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: portalId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the portal to update.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                portalName:
                  type: string
                  description: A new friendly name for the portal.
                portalDescription:
                  type: string
                  description: A new description for the portal.
                portalContactEmail:
                  type: string
                  description: The Amazon Web Services administrator's contact email address.
                portalLogoImage:
                  $ref: '#/components/schemas/Image'
                roleArn:
                  type: string
                  description: The ARN of a service role that allows the portal's users to access your IoT SiteWise resources
                    on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise
                    User Guide.
                clientToken:
                  type: string
                  description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
                    Don't reuse this client token if a new idempotent request is required.
                notificationSenderEmail:
                  type: string
                  description: The email address that sends alarm notifications.
                alarms:
                  $ref: '#/components/schemas/Alarms'
                portalType:
                  type: string
                  enum:
                  - SITEWISE_PORTAL_V1
                  - SITEWISE_PORTAL_V2
                  description: Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1.
                    The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.
                portalTypeConfiguration:
                  type: object
                  additionalProperties:
                    $ref: '#/components/schemas/PortalTypeEntry'
                  description: The configuration entry associated with the specific portal type. The value for IoT SiteWise
                    Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.
              required:
              - portalName
              - portalContactEmail
              - roleArn
      tags:
      - Portals
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: iotsitewise
  schemas:
    Alarms:
      type: object
      properties:
        alarmRoleArn:
          type: string
          description: The ARN of the IAM role that allows the alarm to perform actions and access Amazon Web Services resources
            and services, such as IoT Events.
        notificationLambdaArn:
          type: string
          description: The ARN of the Lambda function that manages alarm notifications. For more information, see Managing
            alarm notifications in the IoT Events Developer Guide.
      required:
      - alarmRoleArn
    ConflictingOperationException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the resource that conflicts with this operation.
        resourceArn:
          type: string
          description: The ARN of the resource that conflicts with this operation.
      required:
      - message
      - resourceId
      - resourceArn
    CreatePortalResponse:
      type: object
      properties:
        portalId:
          type: string
          description: The ID of the created portal.
        portalArn:
          type: string
          description: The ARN of the portal, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
        portalStartUrl:
          type: string
          description: The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity
            Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console
            to get a URL that you can use to access the portal.
        portalStatus:
          $ref: '#/components/schemas/PortalStatus'
        ssoApplicationId:
          type: string
          description: The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.
      required:
      - portalId
      - portalArn
      - portalStartUrl
      - portalStatus
      - ssoApplicationId
    DeletePortalResponse:
      type: object
      properties:
        portalStatus:
          $ref: '#/components/schemas/PortalStatus'
      required:
      - portalStatus
    DescribePortalResponse:
      type: object
      properties:
        portalId:
          type: string
          description: The ID of the portal.
        portalArn:
          type: string
          description: The ARN of the portal, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
        portalName:
          type: string
          description: The name of the portal.
        portalDescription:
          type: string
          description: The portal's description.
        portalClientId:
          type: string
          description: The IAM Identity Center application generated client ID (used with IAM Identity Center API operations).
            IoT SiteWise includes portalClientId for only portals that use IAM Identity Center to authenticate users.
        portalStartUrl:
          type: string
          description: The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity
            Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console
            to get a URL that you can use to access the portal.
        portalContactEmail:
          type: string
          description: The Amazon Web Services administrator's contact email address.
        portalStatus:
          $ref: '#/components/schemas/PortalStatus'
        portalCreationDate:
          type: string
          format: date-time
          description: The date the portal was created, in Unix epoch time.
        portalLastUpdateDate:
          type: string
          format: date-time
          description: The date the portal was last updated, in Unix epoch time.
        portalLogoImageLocation:
          $ref: '#/components/schemas/ImageLocation'
        roleArn:
          type: string
          description: The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on
            your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
        portalAuthMode:
          type: string
          enum:
          - IAM
          - SSO
          description: The service to use to authenticate users to the portal.
        notificationSenderEmail:
          type: string
          description: The email address that sends alarm notifications.
        alarms:
          $ref: '#/components/schemas/Alarms'
        portalType:
          type: string
          enum:
          - SITEWISE_PORTAL_V1
          - SITEWISE_PORTAL_V2
          description: Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The
            value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.
        portalTypeConfiguration:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/PortalTypeEntry'
          description: The configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor
            (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.
      required:
      - portalId
      - portalArn
      - portalName
      - portalClientId
      - portalStartUrl
      - portalContactEmail
      - portalStatus
      - portalCreationDate
      - portalLastUpdateDate
    Image:
      type: object
      properties:
        id:
          type: string
          description: The ID of an existing image. Specify this parameter to keep an existing image.
        file:
          $ref: '#/components/schemas/ImageFile'
    ImageFile:
      type: object
      properties:
        data:
          type: string
          format: byte
          description: The image file contents, represented as a base64-encoded string. The file size must be less than 1
            MB.
        type:
          type: string
          enum:
          - PNG
          description: The file type of the image.
      required:
      - data
      - type
    ImageLocation:
      type: object
      properties:
        id:
          type: string
          description: The ID of the image.
        url:
          type: string
          description: The URL where the image is available. The URL is valid for 15 minutes so that you can view and download
            the image
      required:
      - id
      - url
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    LimitExceededException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListPortalsResponse:
      type: object
      properties:
        portalSummaries:
          type: array
          items:
            $ref: '#/components/schemas/PortalSummary'
          description: A list that summarizes each portal.
        nextToken:
          type: string
          description: The token for the next set of results, or null if there are no additional results.
    MonitorErrorDetails:
      type: object
      properties:
        code:
          type: string
          enum:
          - INTERNAL_FAILURE
          - VALIDATION_ERROR
          - LIMIT_EXCEEDED
          description: The error code.
        message:
          type: string
          description: The error message.
    PortalStatus:
      type: object
      properties:
        state:
          type: string
          enum:
          - CREATING
          - PENDING
          - UPDATING
          - DELETING
          - ACTIVE
          - FAILED
          description: The current state of the portal.
        error:
          $ref: '#/components/schemas/MonitorErrorDetails'
      required:
      - state
    PortalSummary:
      type: object
      properties:
        id:
          type: string
          description: The ID of the portal.
        name:
          type: string
          description: The name of the portal.
        description:
          type: string
          description: The portal's description.
        startUrl:
          type: string
          description: The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity
            Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console
            to get a URL that you can use to access the portal.
        creationDate:
          type: string
          format: date-time
          description: The date the portal was created, in Unix epoch time.
        lastUpdateDate:
          type: string
          format: date-time
          description: The date the portal was last updated, in Unix epoch time.
        roleArn:
          type: string
          description: The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on
            your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
        status:
          $ref: '#/components/schemas/PortalStatus'
        portalType:
          type: string
          enum:
          - SITEWISE_PORTAL_V1
          - SITEWISE_PORTAL_V2
          description: Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The
            value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.
      required:
      - id
      - name
      - startUrl
      - status
    PortalTypeEntry:
      type: object
      properties:
        portalTools:
          type: array
          items:
            type: string
          description: The array of tools associated with the specified portal type. The possible values are ASSISTANT and
            DASHBOARD.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    UpdatePortalResponse:
      type: object
      properties:
        portalStatus:
          $ref: '#/components/schemas/PortalStatus'
      required:
      - portalStatus
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iotsitewise/service/2019-12-02/iotsitewise-2019-12-02.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)