PinBridge Activity Logs API

The Activity Logs API from PinBridge — 1 operation(s) for activity logs.

GitHub OpenAPI

Operations 1

GET /v1/activity-logs List Activity Logs #

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/pinbridge-io:pinbridge-io-activity-logs-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

pinbridge-io-activity-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PinBridge Activity Logs API
  description: 'Developer-first Pinterest publishing engine with queues, pacing, and webhooks


    ## Error contract


    Every non-2xx JSON response carries a top-level `error` envelope next to the

    legacy `detail` field:


    ```json

    {

    "detail": "...",

    "error": {

    "code": "board_access_denied",

    "message": "Pinterest denied access to this board for the connected account.",

    "remediation": "Refresh the board list and choose a board owned by this account.",

    "request_id": "8c2c1f0e-...",

    "board_id": "1234567890",

    "account_id": "..."

    }

    }

    ```


    `error.code` is stable and safe to branch on; `error.message` is for humans;

    `error.remediation` says what to change; `error.request_id` matches the

    `X-Request-ID` response header for support. Extra keys give machine-readable

    context (`board_id`, `account_id`, `retry_after_seconds`, `required_scope`, ...).

    Validation failures use `code: validation_error` and list field errors under

    `error.errors`.


    ## Publish headroom headers


    Publish-shaped responses (`POST /v1/pins`, `/v1/pins/batch`, `/v1/pins/validate`,

    `/v1/pins/{id}/retry`) carry the remaining monthly quota and Pinterest rate

    headroom: `X-PinBridge-Quota-Limit`, `X-PinBridge-Quota-Used`,

    `X-PinBridge-Quota-Remaining`, `X-Pinterest-RateLimit-Remaining`,

    `X-Pinterest-RateLimit-Capacity`, `X-Pinterest-RateLimit-Refill-Per-Second`.

    On a batch the rate headers describe the first pin''s account and are omitted

    when the batch spans several accounts.


    ## API key scopes


    API keys carry `read`, `write` and `destructive` scopes and an optional Pinterest

    account allow-list. A request outside the key''s grants fails with

    `403 insufficient_scope` or `403 account_not_permitted`.'
  version: 1.93.1
tags:
- name: Activity Logs
paths:
  /v1/activity-logs:
    get:
      tags:
      - Activity Logs
      summary: List Activity Logs
      description: List activity logs for the currently authenticated workspace.
      operationId: list_activity_logs_v1_activity_logs_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: category
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/ActivityLogCategory'
          - type: 'null'
          title: Category
      - name: action
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 1
            maxLength: 128
          - type: 'null'
          title: Action
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/ActivityLogStatus'
          - type: 'null'
          title: Status
      - name: resource_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 1
            maxLength: 64
          - type: 'null'
          title: Resource Type
      - name: since
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Since
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivityLogListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/HTTPValidationError'
                - $ref: '#/components/schemas/ErrorResponse'
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ActivityLogResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        actor_user_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Actor User Id
        actor_type:
          $ref: '#/components/schemas/ActivityLogActorType'
        actor_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Actor Label
        action:
          type: string
          title: Action
        category:
          $ref: '#/components/schemas/ActivityLogCategory'
        resource_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Resource Type
        resource_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Resource Id
        status:
          $ref: '#/components/schemas/ActivityLogStatus'
        message:
          type: string
          title: Message
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        request_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Request Id
        retention_days:
          type: integer
          title: Retention Days
        expires_at:
          type: string
          format: date-time
          title: Expires At
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - actor_type
      - action
      - category
      - status
      - message
      - metadata
      - retention_days
      - expires_at
      - created_at
      title: ActivityLogResponse
      description: Single user-facing activity log row.
    ActivityLogActorType:
      type: string
      enum:
      - user
      - api_key
      - system
      - worker
      - admin
      - billing
      title: ActivityLogActorType
      description: Canonical actor types shown in the user activity feed.
    ErrorResponse:
      type: object
      title: ErrorResponse
      properties:
        detail:
          description: Legacy detail payload (string, object, or list).
        error:
          $ref: '#/components/schemas/ErrorEnvelope'
    ActivityLogCategory:
      type: string
      enum:
      - security
      - publishing
      - billing
      - configuration
      - integration
      title: ActivityLogCategory
      description: High-level activity feed categories.
    ActivityLogListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ActivityLogResponse'
          type: array
          title: Items
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
        current_retention_days:
          type: integer
          title: Current Retention Days
        current_retention_label:
          type: string
          title: Current Retention Label
      type: object
      required:
      - items
      - current_retention_days
      - current_retention_label
      title: ActivityLogListResponse
      description: Paginated activity log listing for the active workspace.
    ErrorEnvelope:
      type: object
      title: ErrorEnvelope
      description: Documented error contract carried by every non-2xx response.
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Stable machine-readable error code.
        message:
          type: string
          description: Human-readable explanation.
        remediation:
          type: string
          nullable: true
          description: What to change to make the request succeed.
        request_id:
          type: string
          nullable: true
          description: Correlates with the X-Request-ID header; quote it to support.
      additionalProperties: true
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ActivityLogStatus:
      type: string
      enum:
      - success
      - failed
      - queued
      - canceled
      title: ActivityLogStatus
      description: Stable status values for user-facing actions.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key created via `/v1/api-keys`.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or API Key
      description: 'Auth header: `Authorization: Bearer <jwt-or-api-key>`.'