Patricia Events API

The events API from Patricia — 1 operation(s) for events.

GitHub OpenAPI

Operations 1

POST /v1/events Ingest a batch of first-party product events #

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-events-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-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Events API
  version: 0.1.0
tags:
- name: Events
paths:
  /v1/events:
    post:
      tags:
      - Events
      summary: Ingest a batch of first-party product events
      description: Validate + persist a batch of dashboard events for the authenticated tenant.
      operationId: ingest_v1_events_post
      security:
      - HTTPBearer: []
      parameters:
      - 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/IngestEventsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IngestEventsResponse'
        '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'
components:
  schemas:
    IngestEventsResponse:
      properties:
        accepted:
          type: integer
          title: Accepted
        dropped:
          type: integer
          title: Dropped
        drops:
          items:
            $ref: '#/components/schemas/EventDrop'
          type: array
          title: Drops
      type: object
      required:
      - accepted
      - dropped
      title: IngestEventsResponse
      description: Per-batch outcome.
    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.
    EventDrop:
      properties:
        event_id:
          type: string
          title: Event Id
        reason:
          type: string
          title: Reason
      type: object
      required:
      - event_id
      - reason
      title: EventDrop
      description: Why one event in the batch was not stored (coarse, non-PII code).
    IncomingEvent:
      properties:
        event_id:
          type: string
          maxLength: 64
          minLength: 1
          title: Event Id
        name:
          type: string
          maxLength: 100
          minLength: 1
          title: Name
        schema_version:
          anyOf:
          - type: integer
            minimum: 1.0
          - type: 'null'
          title: Schema Version
        occurred_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Occurred At
        properties:
          additionalProperties: true
          type: object
          title: Properties
      additionalProperties: false
      type: object
      required:
      - event_id
      - name
      title: IncomingEvent
      description: One client-reported event.
    IngestEventsRequest:
      properties:
        events:
          items:
            $ref: '#/components/schemas/IncomingEvent'
          type: array
          maxItems: 50
          minItems: 1
          title: Events
      additionalProperties: false
      type: object
      required:
      - events
      title: IngestEventsRequest
      description: A batch of events to ingest.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer