Patricia Gathering API

The gathering API from Patricia — 2 operation(s) for gathering.

GitHub OpenAPI

Operations 2

GET /v1/gathering/preview Preview what Patricia counted in the team's tools #
POST /v1/gathering/sources/{account_id}/consents Confirm for the team what each stage of a counted tool means #

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-gathering-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-gathering-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Gathering API
  version: 0.1.0
tags:
- name: gathering
paths:
  /v1/gathering/preview:
    get:
      tags:
      - gathering
      summary: Preview what Patricia counted in the team's tools
      description: 'The caller''s workspace: whether Patricia counts its team tools, health mode, each connection with what Patricia does with it, and, for each team tool Patricia counts, its census state, stage counts with the tool''s own stage names, file types and years, the private-topic phrases and the items each would leave out, and when the team confirmed. Every stage has a count, zero included. Nothing else read from a tool is kept.'
      operationId: get_gathering_preview_v1_gathering_preview_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatheringPreview'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/gathering/sources/{account_id}/consents:
    post:
      tags:
      - gathering
      summary: Confirm for the team what each stage of a counted tool means
      description: 'Records the signed-in person''s yes for one team tool Patricia counted, and saves the meaning chosen for each stage. `mapping` names every stage the tool lists, each with a meaning: `prospect`, `customer`, `former_customer`, `lost` or `other`. A tool with no stages, such as Google Drive, takes an empty `mapping`. A confirmation that names other stages than the tool lists now is refused with 409. Posting again keeps the first notice and replaces the saved meanings.'
      operationId: confirm_gathering_source_v1_gathering_sources__account_id__consents_post
      security:
      - HTTPBearer: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamConsentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamConsentResult'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    NativeSyncView:
      properties:
        what:
          type: string
          title: What
        source_app:
          type: string
          title: Source App
        target_app:
          type: string
          title: Target App
      additionalProperties: false
      type: object
      required:
      - what
      - source_app
      - target_app
      title: NativeSyncView
    CountRow:
      properties:
        key:
          type: string
          title: Key
        count:
          type: integer
          title: Count
      additionalProperties: false
      type: object
      required:
      - key
      - count
      title: CountRow
    PhraseRow:
      properties:
        phrase:
          type: string
          title: Phrase
        items_left_out:
          type: integer
          title: Items Left Out
        exempt_where:
          anyOf:
          - type: string
          - type: 'null'
          title: Exempt Where
      additionalProperties: false
      type: object
      required:
      - phrase
      - items_left_out
      - exempt_where
      title: PhraseRow
    SourcePreview:
      properties:
        account_id:
          type: string
          format: uuid
          title: Account Id
        label:
          type: string
          title: Label
        app:
          type: string
          title: App
        state:
          $ref: '#/components/schemas/CensusState'
        counted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Counted At
        items_read:
          type: integer
          title: Items Read
        deal_pipelines:
          items:
            $ref: '#/components/schemas/PipelineStages'
          type: array
          title: Deal Pipelines
        company_stages:
          items:
            $ref: '#/components/schemas/StageRow'
          type: array
          title: Company Stages
        file_types:
          items:
            $ref: '#/components/schemas/CountRow'
          type: array
          title: File Types
        years:
          items:
            $ref: '#/components/schemas/CountRow'
          type: array
          title: Years
        phrases:
          items:
            $ref: '#/components/schemas/PhraseRow'
          type: array
          title: Phrases
        confirmed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Confirmed At
      additionalProperties: false
      type: object
      required:
      - account_id
      - label
      - app
      - state
      - counted_at
      - items_read
      - deal_pipelines
      - company_stages
      - file_types
      - years
      - phrases
      - confirmed_at
      title: SourcePreview
    PipelineStages:
      properties:
        pipeline_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Pipeline Id
        pipeline_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Pipeline Label
        stages:
          items:
            $ref: '#/components/schemas/StageRow'
          type: array
          title: Stages
      additionalProperties: false
      type: object
      required:
      - pipeline_id
      - pipeline_label
      - stages
      title: PipelineStages
    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.
    ConnectionPreview:
      properties:
        account_id:
          type: string
          format: uuid
          title: Account Id
        label:
          type: string
          title: Label
        app:
          type: string
          title: App
        step:
          type: string
          title: Step
        system_of_record:
          type: boolean
          title: System Of Record
      additionalProperties: false
      type: object
      required:
      - account_id
      - label
      - app
      - step
      - system_of_record
      title: ConnectionPreview
    TeamConsentResult:
      properties:
        confirmed_at:
          type: string
          format: date-time
          title: Confirmed At
      additionalProperties: false
      type: object
      required:
      - confirmed_at
      title: TeamConsentResult
    StageMeaning:
      type: string
      enum:
      - prospect
      - customer
      - former_customer
      - lost
      - other
      title: StageMeaning
    GatheringPreview:
      properties:
        enrolled:
          type: boolean
          title: Enrolled
        health_mode:
          type: boolean
          title: Health Mode
        connections:
          items:
            $ref: '#/components/schemas/ConnectionPreview'
          type: array
          title: Connections
        native_syncs:
          items:
            $ref: '#/components/schemas/NativeSyncView'
          type: array
          title: Native Syncs
        sources:
          items:
            $ref: '#/components/schemas/SourcePreview'
          type: array
          title: Sources
      additionalProperties: false
      type: object
      required:
      - enrolled
      - health_mode
      - connections
      - native_syncs
      - sources
      title: GatheringPreview
    StageMeaningChoice:
      properties:
        stream:
          type: string
          minLength: 1
          title: Stream
        stage_id:
          type: string
          minLength: 1
          title: Stage Id
        meaning:
          $ref: '#/components/schemas/StageMeaning'
      additionalProperties: false
      type: object
      required:
      - stream
      - stage_id
      - meaning
      title: StageMeaningChoice
    CensusState:
      type: string
      enum:
      - not_started
      - counting
      - done
      - stopped_early
      - failed
      title: CensusState
    StageRow:
      properties:
        kind:
          type: string
          enum:
          - listed
          - unknown
          - none
          title: Kind
        stage_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Stage Id
        label:
          anyOf:
          - type: string
          - type: 'null'
          title: Label
        count:
          type: integer
          title: Count
        suggested_meaning:
          anyOf:
          - $ref: '#/components/schemas/StageMeaning'
          - type: 'null'
        saved_meaning:
          anyOf:
          - $ref: '#/components/schemas/StageMeaning'
          - type: 'null'
      additionalProperties: false
      type: object
      required:
      - kind
      - stage_id
      - label
      - count
      - suggested_meaning
      - saved_meaning
      title: StageRow
      description: One stage with its count. A stage the tool no longer lists is `unknown`, and an item with no stage is `none`.
    TeamConsentRequest:
      properties:
        mapping:
          items:
            $ref: '#/components/schemas/StageMeaningChoice'
          type: array
          title: Mapping
      additionalProperties: false
      type: object
      required:
      - mapping
      title: TeamConsentRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer