Sumvid Jobs API

The Jobs API from Sumvid, for jobs.

GitHub OpenAPI

Operations 3

GET /jobs My History #
GET /jobs/events Job Events #
GET /jobs/{job_id} Get Job Status #

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/sumvid-app:sumvid-app-jobs-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

sumvid-app-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: summarize-vid Jobs API
  description: YouTube video transcript summarizer (Claude Haiku).
  version: 0.6.0
  x-guidance: 'Paid agent calls are POST /v1/summarize, POST /v1/transcript, POST /v1/channel/new, and POST /v1/json/format. Send the request with no authorization to receive HTTP 402. The payment requirements are in the PAYMENT-REQUIRED header and the JSON body. Retry with a PAYMENT-SIGNATURE header. Prices are on each operation under x-payment-info. Discovery documents: GET /.well-known/x402 and GET /.well-known/x402.json.'
tags:
- name: Jobs
paths:
  /jobs:
    get:
      summary: My History
      description: 'A page of my job history, newest first (default 50, max 200). For the

        next page, pass the last row''s job_id as `before_id`. A short page (fewer

        than `limit` rows) means you''ve reached the end. `summary_excerpt` (first

        300 chars) is always included; the full `summary` text is included by

        default (existing clients keep working) — pass `?include_summary=false`

        to omit it and keep the page payload small.'
      operationId: my_history_jobs_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      - name: before_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Before Id
      - name: include_summary
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Include Summary
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HistoryRecord'
                title: Response My History Jobs Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/events:
    get:
      summary: Job Events
      description: 'Server-Sent Events stream of the caller''s job-status transitions, so

        the frontend can stop polling GET /jobs every 1.5s. Declared ABOVE

        GET /jobs/{job_id} so the literal `events` path segment isn''t captured by

        `{job_id}` (which would 422 on int coercion). Push-based: the connection

        subscribes a per-connection queue that the shared Postgres LISTEN/NOTIFY

        listener (started in `lifespan`) feeds directly, so transitions arrive as

        soon as the DB trigger fires rather than on a polling cadence. Emits one

        `snapshot` event on connect, then a `job` event per status transition. A

        slow reconcile pass (`_EVENTS_RECONCILE_SECONDS`) re-checks the DB

        periodically as a safety net for any notification the listener missed

        (e.g. during a reconnect). Closes the stream once every job seen so far

        (snapshot ∪ pushed events) is terminal, on client disconnect, or after

        `_EVENTS_MAX_SECONDS` — whichever comes first. Never public: this is

        per-user data behind normal header auth (EventSource itself can''t set

        headers, but the browser never calls this endpoint directly — the

        Next.js proxy does).'
      operationId: job_events_jobs_events_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      tags:
      - Jobs
  /jobs/{job_id}:
    get:
      summary: Get Job Status
      description: Poll a single job. Returns 404 if it doesn't exist or belongs to someone else.
      operationId: get_job_status_jobs__job_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    JobStatusResponse:
      properties:
        id:
          type: integer
          title: Id
        status:
          type: string
          title: Status
        stage:
          anyOf:
          - type: string
          - type: 'null'
          title: Stage
        youtube_video_id:
          type: string
          title: Youtube Video Id
        video_url:
          type: string
          title: Video Url
        provider:
          type: string
          title: Provider
        model:
          type: string
          title: Model
        prompt_version:
          type: string
          title: Prompt Version
        language_code:
          type: string
          title: Language Code
          default: en
        summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Summary
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        channel:
          anyOf:
          - type: string
          - type: 'null'
          title: Channel
        thumbnail_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Thumbnail Url
        duration_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Seconds
        created_at:
          type: string
          format: date-time
          title: Created At
        started_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Started At
        completed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Completed At
      type: object
      required:
      - id
      - status
      - youtube_video_id
      - video_url
      - provider
      - model
      - prompt_version
      - created_at
      title: JobStatusResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    HistoryRecord:
      properties:
        job_id:
          type: integer
          title: Job Id
        youtube_video_id:
          type: string
          title: Youtube Video Id
        video_url:
          type: string
          title: Video Url
        status:
          type: string
          title: Status
        stage:
          anyOf:
          - type: string
          - type: 'null'
          title: Stage
        summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Summary
        summary_excerpt:
          anyOf:
          - type: string
          - type: 'null'
          title: Summary Excerpt
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        provider:
          type: string
          title: Provider
        model:
          type: string
          title: Model
        prompt_version:
          type: string
          title: Prompt Version
        language_code:
          type: string
          title: Language Code
          default: en
        served_language_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Served Language Code
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        channel:
          anyOf:
          - type: string
          - type: 'null'
          title: Channel
        thumbnail_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Thumbnail Url
        duration_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Seconds
        created_at:
          type: string
          format: date-time
          title: Created At
        completed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Completed At
      type: object
      required:
      - job_id
      - youtube_video_id
      - video_url
      - status
      - provider
      - model
      - prompt_version
      - created_at
      title: HistoryRecord
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer