SourceFinch Workspace API

Plan, trial, limits and usage

GitHub OpenAPI

Operations 1

GET /v1/usage Get plan and usage #

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/sourcefinch-com:sourcefinch-com-workspace-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

sourcefinch-com-workspace-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SourceFinch Workspace API
  version: 1.0.0
  description: 'Monitor public sources as structured records, each value traceable to retained, hashed evidence. Authenticate with a project API key (`Authorization: Bearer sec_…`). Errors are RFC 9457 problem details with a stable `code`. Lists use cursor pagination (`limit`, `cursor` → `next_cursor`).'
  contact:
    name: SourceFinch
    url: https://sourcefinch.com/docs/api
    email: hello@sourcefinch.com
  license:
    name: Proprietary
    url: https://sourcefinch.com/terms
servers:
- url: https://sourcefinch.com
  description: Production
tags:
- name: Workspace
  description: Plan, trial, limits and usage
paths:
  /v1/usage:
    get:
      operationId: getUsage
      summary: Get plan and usage
      description: 'The plan in force (including a trial), every limit, and this month''s usage: runs against the allowance, sources, API keys, seats and stored evidence. Use it before creating sources or queueing runs to avoid a 402 plan_limit.'
      tags:
      - Workspace
      security:
      - bearer: []
      x-sourcefinch-scope: read
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - console
      - mcp
      parameters:
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      responses:
        '200':
          description: Plan and usage
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    ErrorCode:
      type: string
      enum:
      - validation
      - unauthenticated
      - forbidden
      - not_found
      - conflict
      - policy
      - plan_limit
      - rate_limited
      - idempotency_mismatch
      - internal
    Usage:
      type: object
      properties:
        plan:
          type: string
          description: The plan in force now (during a trial, the trial plan)
        subscription:
          type: object
          properties:
            tier:
              type: string
            status:
              type:
              - string
              - 'null'
            current_period_end:
              type:
              - string
              - 'null'
              description: ISO-8601 timestamp (UTC)
            cancel_at_period_end:
              type: boolean
          required:
          - tier
          - status
          - current_period_end
          - cancel_at_period_end
          additionalProperties: false
        trial:
          type:
          - object
          - 'null'
          properties:
            plan:
              type: string
            started_at:
              type: string
              description: ISO-8601 timestamp (UTC)
            ends_at:
              type: string
              description: ISO-8601 timestamp (UTC)
            ended_at:
              type:
              - string
              - 'null'
              description: ISO-8601 timestamp (UTC)
            outcome:
              type:
              - string
              - 'null'
          required:
          - plan
          - started_at
          - ends_at
          - ended_at
          - outcome
          additionalProperties: false
        retention_grace_until:
          description: After a downgrade, over-limit items stay paused (not deleted) until then
          type:
          - string
          - 'null'
        runs:
          type: object
          properties:
            used:
              type: integer
            allowance:
              type: integer
              description: Monthly runs in the plan plus run packs bought this month
            packs:
              type: integer
            soft_overage:
              type: boolean
            scheduled_ceiling:
              type: integer
            manual_ceiling:
              type: integer
          required:
          - used
          - allowance
          - packs
          - soft_overage
          - scheduled_ceiling
          - manual_ceiling
          additionalProperties: false
        sources:
          $ref: '#/components/schemas/UsageMeter'
        api_keys:
          $ref: '#/components/schemas/UsageMeter'
        seats:
          $ref: '#/components/schemas/UsageMeter'
        storage_bytes:
          $ref: '#/components/schemas/UsageMeter'
        limits:
          type: object
          additionalProperties: {}
          description: Every limit of the plan in force (schedule floor, retention days, browser mode, origins per day, …)
        upgrade_url:
          type: string
      required:
      - plan
      - subscription
      - trial
      - retention_grace_until
      - runs
      - sources
      - api_keys
      - seats
      - storage_bytes
      - limits
      - upgrade_url
      description: 'The workspace''s plan, trial, limits and this month''s usage: check before creating sources or queueing runs.'
      additionalProperties: false
    Problem:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          $ref: '#/components/schemas/ErrorCode'
        request_id:
          type: string
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
            additionalProperties: false
      required:
      - type
      - title
      - status
      - code
      description: application/problem+json
      additionalProperties: false
    UsageMeter:
      type: object
      properties:
        used:
          type: integer
        limit:
          description: 'null: unlimited'
          type:
          - integer
          - 'null'
      required:
      - used
      - limit
      description: Current use against the plan's limit
      additionalProperties: false
  parameters:
    RequestId:
      name: X-Request-Id
      in: header
      required: false
      description: Echoed in the response and logs; generated when absent.
      schema:
        type: string
        pattern: ^[A-Za-z0-9._-]{8,100}$
    Project:
      name: SourceFinch-Project
      in: header
      required: false
      description: Project UUID. Required for session tokens; API keys are bound to their project.
      schema:
        type: string
        format: uuid
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Project API key (sec_…) or a session token