Bitvore Portfolios API API

Manage Organization-based Portfolios

Operations 42

GET /v2/corp/portfolios Get Portfolios #
POST /v2/corp/portfolios Add Portfolio #
GET /v2/corp/portfolios/{portfolioId} Get Portfolio #
PUT /v2/corp/portfolios/{portfolioId} Update Portfolio #
DELETE /v2/corp/portfolios/{portfolioId} Delete Portfolio #
POST /v2/corp/portfolios/{portfolioId}/itemUploads Upload Portfolio Items #
GET /v2/corp/portfolios/{portfolioId}/items Return Portfolio Items #
POST /v2/corp/portfolios/{portfolioId}/items Add Portfolio Item #
PUT /v2/corp/portfolios/{portfolioId}/items Replace Portfolio Items #
DELETE /v2/corp/portfolios/{portfolioId}/items Delete Portfolio Items #
GET /v2/corp/portfolios/{portfolioId}/items/ids Return Portfolio Ids #
POST /v2/corp/portfolios/{portfolioId}/items/ids Add Portfolio items by Ids #
PUT /v2/corp/portfolios/{portfolioId}/items/ids Replace Portfolio Items #
DELETE /v2/corp/portfolios/{portfolioId}/items/{id} Delete Portfolio Item #
GET /muni/portfolios Get Portfolios #
POST /muni/portfolios Add Portfolio #
GET /muni/portfolios/{portfolioId} Get Portfolio #
PUT /muni/portfolios/{portfolioId} Update Portfolio #
DELETE /muni/portfolios/{portfolioId} Delete Portfolio #
POST /muni/portfolios/{portfolioId}/itemUploads Upload Portfolio Items #
GET /muni/portfolios/{portfolioId}/items Return Portfolio Items #
POST /muni/portfolios/{portfolioId}/items Add Portfolio Item #
PUT /muni/portfolios/{portfolioId}/items Replace Portfolio Items #
DELETE /muni/portfolios/{portfolioId}/items Delete Portfolio Items #
GET /muni/portfolios/{portfolioId}/items/ids Return Portfolio Ids #
POST /muni/portfolios/{portfolioId}/items/ids Add Portfolio items by Ids #
PUT /muni/portfolios/{portfolioId}/items/ids Replace Portfolio Items #
DELETE /muni/portfolios/{portfolioId}/items/{id} Delete Portfolio Item #
GET /v2/muni/portfolios Get Portfolios #
POST /v2/muni/portfolios Add Portfolio #
GET /v2/muni/portfolios/{portfolioId} Get Portfolio #
PUT /v2/muni/portfolios/{portfolioId} Update Portfolio #
DELETE /v2/muni/portfolios/{portfolioId} Delete Portfolio #
POST /v2/muni/portfolios/{portfolioId}/itemUploads Upload Portfolio Items #
GET /v2/muni/portfolios/{portfolioId}/items Return Portfolio Items #
POST /v2/muni/portfolios/{portfolioId}/items Add Portfolio Item #
PUT /v2/muni/portfolios/{portfolioId}/items Replace Portfolio Items #
DELETE /v2/muni/portfolios/{portfolioId}/items Delete Portfolio Items #
GET /v2/muni/portfolios/{portfolioId}/items/ids Return Portfolio Ids #
POST /v2/muni/portfolios/{portfolioId}/items/ids Add Portfolio items by Ids #
PUT /v2/muni/portfolios/{portfolioId}/items/ids Replace Portfolio Items #
DELETE /v2/muni/portfolios/{portfolioId}/items/{id} Delete Portfolio Item #

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/bitvore-portfolios-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

bitvore-portfolios-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitvore Portfolios API
  license:
    name: Copyright Bitvore Corp. 2026
  version: '1.0'
  description: 'Operations tagged Portfolios API across 3 of this provider''s published API definitions: bitvore-corporate-openapi.yml, bitvore-custom-api-l-openapi.yml, bitvore-muni-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.bitvore.com/
tags:
- name: Portfolios API
  description: Manage Organization-based Portfolios
paths:
  /v2/corp/portfolios:
    get:
      tags:
      - Portfolios API
      summary: Get Portfolios
      description: Returns all portfolios for a user.
      operationId: handleGetPortfoliosUsingGET_1
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioResponse'
                originalRef: PortfolioResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
    post:
      tags:
      - Portfolios API
      summary: Add Portfolio
      description: Creates a new portfolio
      operationId: handleAddPortfolioUsingPOST_1
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortfolioSummary'
              originalRef: PortfolioSummary
        description: portfolio
        required: true
  /v2/corp/portfolios/{portfolioId}:
    get:
      tags:
      - Portfolios API
      summary: Get Portfolio
      description: Returns a portfolio by Id. Items can be optionally returned.
      operationId: handleGetPortfolioUsingGET_1
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
    put:
      tags:
      - Portfolios API
      summary: Update Portfolio
      description: Changes the portfolio with the given Id, the result of the changes are returned as a portfolio
      operationId: handleModifyPortfolioUsingPUT_1
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortfolioSummary'
              originalRef: PortfolioSummary
        description: portfolio
        required: true
    delete:
      tags:
      - Portfolios API
      summary: Delete Portfolio
      description: Deletes the portfolio with the given Id
      operationId: handleDeletePortfolioUsingDELETE_1
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
  /v2/corp/portfolios/{portfolioId}/itemUploads:
    post:
      tags:
      - Portfolios API
      summary: Upload Portfolio Items
      description: Uploads a CSV file of portfolio items. The Id Scheme column must exist in the header; CUSIP for Muni API and BVID for Corp API
      operationId: handleUploadPortfolioItemsUsingPOST_1
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                replaceItems:
                  description: Replace items (true|false), otherwise append/update
                file:
                  type: string
                  description: Portfolio CSV file
                  format: binary
              required:
              - file
  /v2/corp/portfolios/{portfolioId}/items:
    get:
      tags:
      - Portfolios API
      summary: Return Portfolio Items
      description: Returns the items in the portfolio with the given Id
      operationId: handleGetPortfolioItemsUsingGET_1
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemResponse'
                originalRef: PortfolioItemResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
    post:
      tags:
      - Portfolios API
      summary: Add Portfolio Item
      description: Adds items to the portfolio with the given Id, the added items are returned
      operationId: handleAddPortfolioItemsUsingPOST_1
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemResponse'
                originalRef: PortfolioItemResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PortfolioItem'
                originalRef: PortfolioItem
        description: items
        required: true
    put:
      tags:
      - Portfolios API
      summary: Replace Portfolio Items
      description: Replaces the items in the portfolio with the given Id, the added items are returned
      operationId: handleReplacePortfolioItemsUsingPUT_1
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemResponse'
                originalRef: PortfolioItemResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PortfolioItem'
                originalRef: PortfolioItem
        description: items
        required: true
    delete:
      tags:
      - Portfolios API
      summary: Delete Portfolio Items
      description: Deletes the specified items in the portfolio with the given Id. If ids is null, all items will be deleted.
      operationId: handleDeletePortfolioItemsUsingDELETE_2
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      - name: ids
        in: query
        description: Id of item(s) to remove
        required: false
        allowEmptyValue: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
  /v2/corp/portfolios/{portfolioId}/items/ids:
    get:
      tags:
      - Portfolios API
      summary: Return Portfolio Ids
      description: Returns the ids in the portfolio
      operationId: handleGetPortfolioItemsByValuesUsingGET
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemIdsResponse'
                originalRef: PortfolioItemIdsResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
    post:
      tags:
      - Portfolios API
      summary: Add Portfolio items by Ids
      description: Adds items to the portfolio with the given Ids, the added items are returned. Adding by id will override existing customId mappings for that id.
      operationId: handleAddPortfolioItemsByValuesUsingPOST
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemIdsResponse'
                originalRef: PortfolioItemIdsResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
        description: ids
        required: true
    put:
      tags:
      - Portfolios API
      summary: Replace Portfolio Items
      description: Replaces the items in the portfolio with the given Id, the added items are returned. Replacing by id will override existing customId mappings for that id.
      operationId: handleReplacePortfolioItemsByValuesUsingPUT
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemIdsResponse'
                originalRef: PortfolioItemIdsResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
        description: ids
        required: true
  /v2/corp/portfolios/{portfolioId}/items/{id}:
    delete:
      tags:
      - Portfolios API
      summary: Delete Portfolio Item
      description: Deletes the specified item in the portfolio with the given Id
      operationId: handleDeletePortfolioItemsUsingDELETE_3
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      - name: id
        in: path
        description: Id of item to remove
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - API key:
        - Global
      - OAuth:
        - Global
      deprecated: false
  /muni/portfolios:
    get:
      tags:
      - Portfolios API
      summary: Get Portfolios
      description: Returns all portfolios for a user.
      operationId: handleGetPortfoliosUsingGET_3
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioResponse'
                originalRef: PortfolioResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - BasicAuth:
        - Global
      deprecated: false
    post:
      tags:
      - Portfolios API
      summary: Add Portfolio
      description: Creates a new portfolio
      operationId: handleAddPortfolioUsingPOST_3
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - BasicAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortfolioSummary'
              originalRef: PortfolioSummary
        description: portfolio
        required: true
  /muni/portfolios/{portfolioId}:
    get:
      tags:
      - Portfolios API
      summary: Get Portfolio
      description: Returns a portfolio by Id. Items can be optionally returned.
      operationId: handleGetPortfolioUsingGET_3
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - BasicAuth:
        - Global
      deprecated: false
    put:
      tags:
      - Portfolios API
      summary: Update Portfolio
      description: Changes the portfolio with the given Id, the result of the changes are returned as a portfolio
      operationId: handleModifyPortfolioUsingPUT_3
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - BasicAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortfolioSummary'
              originalRef: PortfolioSummary
        description: portfolio
        required: true
    delete:
      tags:
      - Portfolios API
      summary: Delete Portfolio
      description: Deletes the portfolio with the given Id
      operationId: handleDeletePortfolioUsingDELETE_3
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - BasicAuth:
        - Global
      deprecated: false
  /muni/portfolios/{portfolioId}/itemUploads:
    post:
      tags:
      - Portfolios API
      summary: Upload Portfolio Items
      description: Uploads a CSV file of portfolio items. The Id Scheme column must exist in the header; CUSIP for Muni API and BVID for Corp API
      operationId: handleUploadPortfolioItemsUsingPOST_3
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioSummary'
                originalRef: PortfolioSummary
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - BasicAuth:
        - Global
      deprecated: false
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                replaceItems:
                  description: Replace items (true|false), otherwise append/update
                file:
                  type: string
                  description: Portfolio CSV file
                  format: binary
              required:
              - file
  /muni/portfolios/{portfolioId}/items:
    get:
      tags:
      - Portfolios API
      summary: Return Portfolio Items
      description: Returns the items in the portfolio with the given Id
      operationId: handleGetPortfolioItemsUsingGET_3
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemResponse'
                originalRef: PortfolioItemResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
      security:
      - BasicAuth:
        - Global
      deprecated: false
    post:
      tags:
      - Portfolios API
      summary: Add Portfolio Item
      description: Adds items to the portfolio with the given Id, the added items are returned
      operationId: handleAddPortfolioItemsUsingPOST_3
      parameters:
      - name: portfolioId
        in: path
        description: Portfolio Id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PortfolioItemResponse'
                originalRef: PortfolioItemResponse
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ReasonResponse'
                originalRef: ReasonResponse
        '500':
          description: Internal error

# --- truncated at 32 KB (88 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bitvore/refs/heads/main/openapi/bitvore-portfolios-api-api-openapi.yml