Pomerado Usage API

The usage API from Pomerado — 2 operation(s) for usage.

GitHub OpenAPI

Operations 2

GET /v1/usage Get your usage #
GET /v1/usage/spend Get your team's spend this billing period #

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/pomerado-ai:pomerado-ai-usage-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

pomerado-ai-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pomerado Usage API
  version: '1'
  description: Run and build website tools, follow their jobs, and manage logins, API keys and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth token or a Dashboard session as a Bearer token.
servers:
- url: https://api.pomerado.ai
tags:
- name: Usage
  x-group: Usage
paths:
  /v1/usage:
    get:
      operationId: usage.get
      tags:
      - Usage
      summary: Get your usage
      description: 'Returns your account''s charged tool calls and successful builds in a time range, optionally per integration, per tool, per member, per API key or as a series.


        - A charged call is a tool call that finished with a result, or that refused your input itself, counted when Pomerado accepted it. A call that failed because the tool or the website broke is free, and so is one a repair finished, a write you stopped with your own Stop answer after it saved a step, or a write its tool ended before saving anything with no refusal its output declares. A build counts when it published a tool.

        - With interval, the range also comes as a series of UTC hours, days or months.

        - With group_by member, an Owner or Admin sees every member, including those who have left; a Member sees only their own row. An API key without team:manage (billing:manage on a Personal account) gets each member''s ID and counts with their name, email and role null; a connected app without it gets its own member''s row in full and everyone else''s that way.

        - With group_by api_key, each API key, connected OAuth app and signed-in session the calls came through; an Owner or Admin sees the whole account''s, a Member only their own calls''. An API key without team:manage (billing:manage on a Personal account) gets each key''s and app''s name null.

        - With member_id, every count is that member''s alone, such as one member''s calls per integration; a Member may name only themselves.

        - coverage.complete says whether the whole range lies within recorded history.'
      parameters:
      - name: from
        in: query
        required: false
        description: 'Start of the range, inclusive (default: when recording began)'
        schema:
          type: string
      - name: to
        in: query
        required: false
        description: 'End of the range, exclusive (default: now)'
        schema:
          type: string
      - name: group_by
        in: query
        required: false
        description: 'integration: also list each integration''s calls and integrations created. member: also list each member''s calls and integrations created. tool: also list each tool''s calls. api_key: also list the calls that came through each API key, connected OAuth app and signed-in session'
        schema:
          type: string
          enum:
          - integration
          - member
          - tool
          - api_key
      - name: interval
        in: query
        required: false
        description: Also return the range as a series of UTC hours, days or months, at most 1000 buckets. Without from, the series starts at the bucket holding coverage.started_at
        schema:
          type: string
          enum:
          - hour
          - day
          - month
      - name: member_id
        in: query
        required: false
        description: 'Only this member''s calls and builds, by their user ID: the totals, series and every grouping count theirs alone. An Owner or Admin may name any member; a Member only themselves'
        schema:
          type: string
      responses:
        '200':
          description: Your usage in the range
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageReport'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: read
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: usage:read
  /v1/usage/spend:
    get:
      operationId: usage.spend
      tags:
      - Usage
      summary: Get your team's spend this billing period
      description: 'Returns your Business team''s estimated spend in its current billing period: included calls used, overage calls, the estimated overage so far, the monthly fee and a projection of the overage by the period''s end. It is an estimate; the invoice is authoritative.


        - Owners and Admins only. An API key needs team:manage.

        - Days are UTC days. Each day''s calls beyond its included calls are overage at that day''s price.

        - status no_terms: the team has no billing terms with Pomerado yet.'
      responses:
        '200':
          description: Your team's spend this period
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageSpend'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: business_account_required, role_permission_missing, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: read
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: team:manage
      x-pomerado-key-permission: team:manage
components:
  schemas:
    UsageSpend:
      anyOf:
      - type: object
        required:
        - status
        - as_of
        - currency
        - period
        - included_calls_per_day
        - overage_unit_amount_cents
        - included_calls_used
        - overage_calls
        - monthly_fee_cents
        - estimated_overage_cents
        - estimated_total_cents
        - projected_overage_cents
        - today
        properties:
          status:
            type: string
            enum:
            - ready
          as_of:
            type: string
          currency:
            type: string
            enum:
            - usd
          period:
            type: object
            required:
            - start
            - end
            - interval
            - days
            - days_elapsed
            properties:
              start:
                type: string
                description: The period's first UTC midnight
              end:
                type: string
                description: The UTC midnight after the period's last day, exclusive
              interval:
                type: string
                enum:
                - month
                - week
                - day
                description: 'How the team''s overage is billed. Periods run from the billing start date: a month to the same day of the next month (or that month''s last day), a week seven days, a day one'
              days:
                type: integer
                description: UTC days in the period
                minimum: 0
              days_elapsed:
                type: integer
                description: Days of the period through today, today included; 0 before billing starts
                minimum: 0
            additionalProperties: false
          included_calls_per_day:
            type: integer
            description: Tool calls included each UTC day, today's; unused ones don't carry over
            minimum: 0
          overage_unit_amount_cents:
            type: string
            description: Today's price of each call beyond the included ones, in cents with up to four decimal places, such as 1.0000
          included_calls_used:
            type: integer
            description: Calls in the period within each day's included calls
            minimum: 0
          overage_calls:
            type: integer
            description: Calls in the period beyond each day's included calls
            minimum: 0
          monthly_fee_cents:
            type: integer
            description: The team's monthly fee, in US cents
            minimum: 0
          estimated_overage_cents:
            type: integer
            description: Each day's overage calls at that day's price, so far, in US cents
            minimum: 0
          estimated_total_cents:
            type: integer
            description: 'The period''s invoices so far, in US cents: on monthly terms the monthly fee plus the estimated overage; on weekly or daily terms the estimated overage alone, since the monthly fee is invoiced on its own each month'
            minimum: 0
          projected_overage_cents:
            type: integer
            description: 'The overage by the period''s end at the period''s pace so far: the estimated overage over days_elapsed, times days, in US cents'
            minimum: 0
          today:
            type: object
            required:
            - start
            - calls
            - overage_calls
            properties:
              start:
                type: string
                description: Today's UTC midnight
              calls:
                type: integer
                description: Today's tool calls so far, as billing counts them; 0 before billing starts
                minimum: 0
              overage_calls:
                type: integer
                description: Today's calls beyond included_calls_per_day so far
                minimum: 0
            additionalProperties: false
            description: Today, the UTC day, so far
        additionalProperties: false
      - type: object
        required:
        - status
        - as_of
        properties:
          status:
            type: string
            enum:
            - no_terms
            description: The team has no billing terms with Pomerado yet
          as_of:
            type: string
        additionalProperties: false
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - retryable
          - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
    UsageReport:
      type: object
      required:
      - from
      - to
      - as_of
      - calls
      - last_used_at
      - unattributed_calls
      - integrations_created
      - coverage
      properties:
        from:
          anyOf:
          - type: string
          - type: 'null'
        to:
          type: string
        as_of:
          type: string
        calls:
          type: integer
          description: Charged tool calls in the range
          minimum: 0
        last_used_at:
          anyOf:
          - type: string
          - type: 'null'
        unattributed_calls:
          type: integer
          description: Calls in the range recorded before calls named their integration
          minimum: 0
        integrations_created:
          type: integer
          description: 'Successful builds in the range: each build that published a tool, including one that added a tool to an existing integration'
          minimum: 0
        coverage:
          type: object
          required:
          - started_at
          - complete
          - attribution_complete
          properties:
            started_at:
              type: string
              description: When usage recording began
            complete:
              type: boolean
              description: The whole range lies within recorded history
            attribution_complete:
              type: boolean
          additionalProperties: false
        groups:
          type: array
          items:
            type: object
            required:
            - integration_id
            - name
            - calls
            - last_used_at
            - integrations_created
            properties:
              integration_id:
                $ref: '#/components/schemas/integration_id'
              name:
                type: string
                description: The integration's name, such as its site's
              calls:
                type: integer
                description: a non-negative number
                minimum: 0
              last_used_at:
                anyOf:
                - type: string
                - type: 'null'
              integrations_created:
                type: integer
                description: Successful builds in the range that published a tool still in this integration
                minimum: 0
            additionalProperties: false
        series:
          type: array
          items:
            type: object
            required:
            - start
            - calls
            - integrations_created
            properties:
              start:
                type: string
                description: The bucket's start, a UTC hour, day or month
              calls:
                type: integer
                description: Charged tool calls in the bucket
                minimum: 0
              integrations_created:
                type: integer
                description: Successful builds in the bucket
                minimum: 0
              refused_runs:
                type: integer
                description: 'Business teams only. New runs refused in the bucket because the team had reached its daily tool call limit: its own daily cap, or Pomerado''s limit when lower. Each request counts once, a retry with the same idempotency key included; builds are never refused at it. Absent for a Personal account'
                minimum: 0
              first_refused_at:
                anyOf:
                - type: string
                  description: an ISO 8601 UTC time, such as 2026-10-01T00:00:00Z
                  pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,6})?Z$
                - type: 'null'
                description: Business teams only. When the first of the bucket's refused runs was refused; null when none was. Absent for a Personal account
            additionalProperties: false
          description: Every bucket of the range in order, empty ones included. The first and last bucket count only their part inside the range
        tools:
          type: array
          items:
            type: object
            required:
            - tool_id
            - name
            - integration_id
            - integration_name
            - calls
            - last_used_at
            properties:
              tool_id:
                $ref: '#/components/schemas/tool_id'
              name:
                type: string
                description: The tool's name
              integration_id:
                anyOf:
                - $ref: '#/components/schemas/integration_id'
                - type: 'null'
                description: The integration the calls ran in; null for calls recorded before calls named their integration
              integration_name:
                anyOf:
                - type: string
                - type: 'null'
                description: The integration's name, such as its site's
              calls:
                type: integer
                description: The tool's charged calls in the range
                minimum: 0
              last_used_at:
                anyOf:
                - type: string
                - type: 'null'
            additionalProperties: false
          description: One row per tool and the integration its calls ran in
        credentials:
          type: array
          items:
            type: object
            required:
            - kind
            - id
            - name
            - prefix
            - calls
            - last_used_at
            properties:
              kind:
                type: string
                enum:
                - api_key
                - oauth_app
                - session
                - unknown
                description: 'api_key: an API key. oauth_app: a connected OAuth app, such as an MCP client. session: signed in to Pomerado, as on the Dashboard, with no API key. unknown: a call recorded without its credential'
              id:
                anyOf:
                - type: string
                - type: 'null'
                description: The API key's ID, or the app's OAuth client ID; null for a session, an unknown credential, and an API key since deleted
              name:
                anyOf:
                - type: string
                - type: 'null'
                description: The API key's name, or the name the app registered (null when it can't be read now); null for a session or an unknown credential, and for an API key without team:manage (billing:manage on a Personal account)
              prefix:
                anyOf:
                - type: string
                - type: 'null'
                description: An API key's visible start, pom_ and 8 hex digits, never its secret; null for any other credential
              created_by:
                anyOf:
                - type: object
                  required:
                  - member_id
                  - name
                  - email
                  properties:
                    member_id:
                      type: string
                      description: Their user ID
                    name:
                      anyOf:
                      - type: string
                      - type: 'null'
                      description: Null when they gave none or their identity is gone, and for an API key without team:manage (billing:manage on a Personal account)
                    email:
                      anyOf:
                      - type: string
                      - type: 'null'
                      description: Null when their identity is gone, and for an API key without team:manage (billing:manage on a Personal account)
                    unread:
                      type: boolean
                      enum:
                      - true
                      description: 'Who they are couldn''t be read just now: name and email are null without saying they are gone. Absent when it was read'
                  additionalProperties: false
                - type: 'null'
                description: The member who made an API key, whose key it is; null for a service account's key and any other credential
              revoked_at:
                anyOf:
                - type: string
                - type: 'null'
                description: When an API key was revoked; null while it can be used, and for any other credential
              calls:
                type: integer
                description: Charged tool calls through it in the range
                minimum: 0
              last_used_at:
                anyOf:
                - type: string
                - type: 'null'
            additionalProperties: false
        members:
          type: array
          items:
            type: object
            required:
            - member_id
            - name
            - email
            - role
            - calls
            - integrations_created
            - last_used_at
            properties:
              member_id:
                type: string
                description: The member's user ID
              name:
                anyOf:
                - type: string
                - type: 'null'
                description: Null when they gave none or their identity is gone, and for an API key without team:manage (billing:manage on a Personal account), or a connected app without it unless they are its own member
              email:
                anyOf:
                - type: string
                - type: 'null'
                description: Null when their identity is gone, and for an API key without team:manage (billing:manage on a Personal account), or a connected app without it unless they are its own member
              role:
                anyOf:
                - type: string
                  enum:
                  - owner
                  - admin
                  - member
                  - tool_user
                - type: 'null'
                description: The member's current role; null once they have left the team, and for an API key without team:manage (billing:manage on a Personal account), or a connected app without it unless they are its own member
              calls:
                type: integer
                description: Their charged tool calls in the range
                minimum: 0
              integrations_created:
                type: integer
                description: Their successful builds in the range, including builds that added a tool to an existing integration
                minimum: 0
              last_used_at:
                anyOf:
                - type: string
                - type: 'null'
                description: Their last charged call in the range
            additionalProperties: false
      additionalProperties: false
    tool_id:
      type: string
      description: 'a tool ID: tool_ and 32 lowercase hex digits'
      examples:
      - tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
    integration_id:
      type: string
      description: 'an integration ID: int_ and 32 lowercase hex digits'
      examples:
      - int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
  securitySchemes:
    bearer:
      type: http
      scheme: bearer