PinBridge Dashboard API
The Dashboard API from PinBridge — 1 operation(s) for dashboard.
The Dashboard API from PinBridge — 1 operation(s) for dashboard.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pinbridge-io:pinbridge-io-dashboard-api"
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.
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: 3.2.0
info:
title: PinBridge Dashboard 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: Dashboard
paths:
/v1/dashboard/summary:
get:
tags:
- Dashboard
summary: Get Dashboard Summary
description: 'Publishing activity for a time range: pin outcomes, an hourly or daily series,
published pins per account, the current queue, schedules and import jobs.
Outcomes count by when they happened: a pin is published in the period its
`published_at` falls in, and failed in the period it failed in (while still
failed). `total` counts the pins submitted in the period. The range
can span up to 366 days; ranges up to 48 hours get an hourly series. The same
figures for the preceding period of equal length come back as
`previous_pins`, for deltas.'
operationId: get_dashboard_summary_v1_dashboard_summary_get
parameters:
- name: start
in: query
required: false
schema:
anyOf:
- type: string
format: date-time
- type: 'null'
description: 'Range start, inclusive (ISO 8601). Without an offset it is read in `tz`. Default: 30 days before `end`.'
title: Start
description: 'Range start, inclusive (ISO 8601). Without an offset it is read in `tz`. Default: 30 days before `end`.'
- name: end
in: query
required: false
schema:
anyOf:
- type: string
format: date-time
- type: 'null'
description: 'Range end, exclusive (ISO 8601). Default: now.'
title: End
description: 'Range end, exclusive (ISO 8601). Default: now.'
- name: tz
in: query
required: false
schema:
type: string
maxLength: 64
description: IANA time zone for the series buckets and offset-less timestamps
default: UTC
title: Tz
description: IANA time zone for the series buckets and offset-less timestamps
- name: account_id
in: query
required: false
schema:
anyOf:
- type: string
format: uuid
- type: 'null'
description: Limit to one Pinterest account; default every account
title: Account Id
description: Limit to one Pinterest account; default every account
- 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/DashboardSummaryResponse'
'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
DashboardSummaryResponse:
properties:
start:
type: string
format: date-time
title: Start
description: Range start (inclusive) in the requested time zone
end:
type: string
format: date-time
title: End
description: Range end (exclusive) in the requested time zone
timezone:
type: string
title: Timezone
granularity:
type: string
enum:
- hour
- day
title: Granularity
description: 'Series bucket size: hour for ranges up to 48 hours, else day'
previous_start:
type: string
format: date-time
title: Previous Start
description: Start of the same-length period just before `start`
previous_end:
type: string
format: date-time
title: Previous End
account_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Account Id
description: The account filter, when one was given
pins:
$ref: '#/components/schemas/DashboardPinStats'
previous_pins:
$ref: '#/components/schemas/DashboardPinStats'
description: The same figures for the previous period, for deltas
series:
items:
$ref: '#/components/schemas/DashboardSeriesPoint'
type: array
title: Series
description: Every bucket in the range, oldest first, zero-filled
published_by_account:
items:
$ref: '#/components/schemas/DashboardAccountCount'
type: array
title: Published By Account
description: Pins published in the range, per account, most first
queue:
$ref: '#/components/schemas/DashboardQueue'
schedules:
$ref: '#/components/schemas/DashboardScheduleStats'
import_jobs:
anyOf:
- $ref: '#/components/schemas/DashboardImportJobStats'
- type: 'null'
description: 'Null when filtered by account_id: an import job can target several accounts'
type: object
required:
- start
- end
- timezone
- granularity
- previous_start
- previous_end
- pins
- previous_pins
- series
- published_by_account
- queue
- schedules
title: DashboardSummaryResponse
description: Publishing activity for a time range, for dashboards and reports.
DashboardPinStats:
properties:
total:
type: integer
title: Total
description: 'Pins counted in by_status (the sum of its values): published or failed in the period, or submitted in it and still waiting'
submitted:
type: integer
title: Submitted
description: Pins submitted (created) in the period, whatever their status now
by_status:
additionalProperties:
type: integer
type: object
title: By Status
description: 'Count per pin status, every status present. published: pins published in the period (by published_at). failed: pins that failed in the period and are still failed. queued, deferred, publishing: pins submitted in the period still waiting.'
success_rate:
anyOf:
- type: number
- type: 'null'
title: Success Rate
description: published / (published + failed), from 0 to 1; null when neither occurred
type: object
required:
- total
- submitted
- by_status
title: DashboardPinStats
description: Pin outcomes in a period, counted by when they happened.
ErrorResponse:
type: object
title: ErrorResponse
properties:
detail:
description: Legacy detail payload (string, object, or list).
error:
$ref: '#/components/schemas/ErrorEnvelope'
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
DashboardQueue:
properties:
queued:
type: integer
title: Queued
deferred:
type: integer
title: Deferred
publishing:
type: integer
title: Publishing
type: object
required:
- queued
- deferred
- publishing
title: DashboardQueue
description: Pins waiting to publish right now, regardless of the requested range.
DashboardImportJobStats:
properties:
by_status:
additionalProperties:
type: integer
type: object
title: By Status
description: Import jobs created in the range, per status (all present)
type: object
required:
- by_status
title: DashboardImportJobStats
DashboardScheduleStats:
properties:
by_status:
additionalProperties:
type: integer
type: object
title: By Status
description: Schedules whose run time falls in the range, per status (all present)
upcoming:
type: integer
title: Upcoming
description: Scheduled, queued or deferred schedules due from now on, regardless of the range
type: object
required:
- by_status
- upcoming
title: DashboardScheduleStats
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
DashboardSeriesPoint:
properties:
start:
type: string
format: date-time
title: Start
description: Bucket start in the requested time zone
created:
type: integer
title: Created
description: Pins submitted in this bucket
published:
type: integer
title: Published
description: Pins published in this bucket
failed:
type: integer
title: Failed
description: Pins that failed in this bucket and are still failed
type: object
required:
- start
- created
- published
- failed
title: DashboardSeriesPoint
description: One hour or day of pin activity.
DashboardAccountCount:
properties:
account_id:
type: string
format: uuid
title: Account Id
published:
type: integer
title: Published
type: object
required:
- account_id
- published
title: DashboardAccountCount
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>`.'