Patricia Browser Views API

The browser-views API from Patricia — 4 operation(s) for browser-views.

GitHub OpenAPI

Operations 4

POST /v1/browser-views/answer Answer Browser View #
POST /v1/browser-views/binding Bind Browser View #
POST /v1/browser-views/live-view Read Browser Live View #
POST /v1/browser-views/session Read Browser View #

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/patricia-app:patricia-app-browser-views-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

patricia-app-browser-views-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Browser Views API
  version: 0.1.0
tags:
- name: browser-views
paths:
  /v1/browser-views/answer:
    post:
      tags:
      - browser-views
      summary: Answer Browser View
      description: I'm done or Cancel, from the browser the page is bound to.
      operationId: answer_browser_view_v1_browser_views_answer_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrowserViewAnswerBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowserViewAnswer'
        '403':
          description: The page was first opened in another browser.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The link is unknown, expired or finished. One answer for each.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests from this address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: The browser service or the answer channel is unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/browser-views/binding:
    post:
      tags:
      - browser-views
      summary: Bind Browser View
      description: 'The person pressed "Open the browser": the page is theirs, in this browser only.'
      operationId: bind_browser_view_v1_browser_views_binding_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrowserViewCodeBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowserViewSession'
        '403':
          description: The page was first opened in another browser.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The link is unknown, expired or finished. One answer for each.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests from this address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/browser-views/live-view:
    post:
      tags:
      - browser-views
      summary: Read Browser Live View
      description: The live browser for the page's frame, only for the browser the page is bound to.
      operationId: read_browser_live_view_v1_browser_views_live_view_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrowserViewCodeBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowserViewLiveView'
        '403':
          description: The page was first opened in another browser.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The link is unknown, expired or finished. One answer for each.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests from this address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: The browser service or the answer channel is unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/browser-views/session:
    post:
      tags:
      - browser-views
      summary: Read Browser View
      description: What the page shows on arrival. Binds nothing, so a link scanner that runs the page takes nothing.
      operationId: read_browser_view_v1_browser_views_session_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrowserViewCodeBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowserViewSession'
        '403':
          description: The page was first opened in another browser.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The link is unknown, expired or finished. One answer for each.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests from this address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    FeatureStage:
      type: string
      enum:
      - stable
      - public_beta
      - private_alpha
      - coming_soon
      - not_planned
      title: FeatureStage
    ErrorResponse:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        errors:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Errors
      type: object
      required:
      - code
      - message
      title: ErrorResponse
      description: Standard error envelope, matching exception handler output.
    BrowserViewAnswerBody:
      properties:
        code:
          type: string
          maxLength: 128
          minLength: 16
          format: password
          title: Code
          writeOnly: true
        answer:
          type: string
          enum:
          - done
          - cancel
          title: Answer
      additionalProperties: false
      type: object
      required:
      - code
      - answer
      title: BrowserViewAnswerBody
      description: 'The person''s answer from the page: they finished, or they stop.'
    BrowserViewSession:
      properties:
        feature_stage:
          $ref: '#/components/schemas/FeatureStage'
          description: The browser feature's current stage, including staff promotion.
        site:
          type: string
          title: Site
          description: The site the person is asked to use, for example 'example.com'.
        reason:
          type: string
          title: Reason
          description: Why Patricia asks, in the person's words, for example 'Sign in to example.com'.
        expires_at:
          type: string
          format: date-time
          title: Expires At
          description: When the page stops working.
        opened_here:
          type: boolean
          title: Opened Here
          description: Whether this browser opened the page, so it can show the browser now.
      type: object
      required:
      - feature_stage
      - site
      - reason
      - expires_at
      - opened_here
      title: BrowserViewSession
      description: What the page shows around the live browser.
    BrowserViewCodeBody:
      properties:
        code:
          type: string
          maxLength: 128
          minLength: 16
          format: password
          title: Code
          writeOnly: true
      additionalProperties: false
      type: object
      required:
      - code
      title: BrowserViewCodeBody
      description: The page's link code, read from the page's address.
    BrowserViewAnswer:
      properties:
        status:
          type: string
          enum:
          - done
          - cancel
          - stale
          title: Status
          description: '''done'' or ''cancel'' when Patricia got the answer, ''stale'' when the browser had already closed.'
      type: object
      required:
      - status
      title: BrowserViewAnswer
      description: What the answer did.
    BrowserViewLiveView:
      properties:
        url:
          type: string
          title: Url
          description: 'The live view to show in the page''s frame. A bearer credential: never store it.'
        session_id:
          type: string
          title: Session Id
          description: The vendor session shown by this live view, independent of its credential.
        target_id:
          type: string
          title: Target Id
          description: The page target shown within that vendor session.
      type: object
      required:
      - url
      - session_id
      - target_id
      title: BrowserViewLiveView
      description: The live browser's address, for the page's frame only.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer