Vectelos Async Job Status & Results API

The Async Job Status & Results API from Vectelos, for async job status & results.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/jobs/{job_id} Get Job Status #
GET /v1/jobs/{job_id}/pdf Download Job Compliance Pdf #
POST /v1/jobs/{job_id}/corrections Correct A Line #

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/vectelos-com:vectelos-com-async-job-status-results-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

vectelos-com-async-job-status-results-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vectelos Async Job Status & Results API
  description: Enterprise Tariff & Customs Compliance API Powered by Google Gemini Multimodal Intelligence
  version: 1.0.0
tags:
- name: Async Job Status & Results
paths:
  /v1/jobs/{job_id}:
    get:
      tags:
      - Async Job Status & Results
      summary: Get Job Status
      description: 'Polls the status and complete calculated result payload for a document analysis job.

        Eliminates the requirement for ngrok / open firewall webhooks.'
      operationId: get_job_status_v1_jobs__job_id__get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <vt_live_... or vt_test_...>
          title: Authorization
        description: Bearer <vt_live_... or vt_test_...>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/jobs/{job_id}/pdf:
    get:
      tags:
      - Async Job Status & Results
      summary: Download Job Compliance Pdf
      description: 'Renders the advisory landed-cost estimate as a PDF for the account to hand to

        its customs broker. Not CBP Form 7501 and not a filing.


        The download is single-shot FOR A BROWSER SESSION: once the bytes are on

        their way, the stored result is cleared (best-effort — the 30-minute TTL is

        the backstop). A machine caller keeps its result until the row expires, so

        an ERP that retries a failed download, or fetches the JSON and the PDF in

        either order, is not punished for it. That is decided by the credential that

        OPENED the job, not the one reading it now: a human downloading one PDF from

        the portal must not clear a batch the ERP is midway through collecting.

        See docs/api_retention_decisions.md.'
      operationId: download_job_compliance_pdf_v1_jobs__job_id__pdf_get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/jobs/{job_id}/corrections:
    post:
      tags:
      - Async Job Status & Results
      summary: Correct A Line
      description: 'Apply a reader''s classification to one line, and recompute from it.


        WHY THIS IS JOB-SCOPED AND SERVER-SIDE. The PDF is rendered from the STORED

        report, so a correction applied only in the browser would leave the download

        -- the artefact that actually goes to a broker -- still carrying the code the

        reader has just told us is wrong. Recomputing here fixes the table, a later

        poll, and the PDF in one write.


        The client sends a CODE, never a computed line. Everything else is derived

        from the schedule on this side, so a correction cannot be used to write

        arbitrary duty figures into a report that carries our name.


        WHAT IT DOES NOT DO. It does not decide the reader is right. The line is

        stamped `reader_supplied`, carries no confidence score, and is marked

        wherever it is displayed or printed. We recompute arithmetic on their

        assertion; we do not adopt it.'
      operationId: correct_a_line_v1_jobs__job_id__corrections_post
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LineCorrection'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    LineCorrection:
      properties:
        item_index:
          type: integer
          title: Item Index
          description: Which line the reviewer is editing
        recompute_from_schedule:
          type: boolean
          title: Recompute From Schedule
          description: 'Set by the clarification picker, where the reader CHOSE a tariff line rather than asserting a rate: recompute duty and trade remedies from the published schedule for `hts_code`. Default false keeps the settled contract that a bare `hts_code` is a LABEL and does not touch duty. Ignored when `tariff_rate_pct` is supplied -- an explicit rate is always the reviewer''s assertion and always wins.'
          default: false
        hts_code:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Hts Code
          description: HTS code the reviewer assigns (a label; their rate governs the duty)
        description:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Description
          description: Reviewer's amended description / note
        quantity:
          anyOf:
          - type: number
            minimum: 0.0
          - type: 'null'
          title: Quantity
        total_value_usd:
          anyOf:
          - type: number
            minimum: 0.0
          - type: 'null'
          title: Total Value Usd
          description: Reviewer's customs value for the line
        tariff_rate_pct:
          anyOf:
          - type: number
            maximum: 1000.0
            minimum: 0.0
          - type: 'null'
          title: Tariff Rate Pct
          description: Ad-valorem rate the reviewer applies; duty = value × rate
        quantity_unit:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Quantity Unit
          description: Unit of the quantity on this line (kg, each, liter, pr, doz, bbl...). Supplied for a specific or compound rate whose duty could not be computed because the invoice did not state one. The published rate still governs; this does not override it.
      type: object
      required:
      - item_index
      title: LineCorrection
      description: 'A reviewer''s edit to one line. Every field except item_index is optional;

        whatever is omitted keeps its current value. The reviewer owns the result —

        the line is stamped reader-supplied and marked as theirs on the PDF, so the

        old ''we only accept a CODE and derive everything from the schedule'' guard is

        relaxed on purpose (the owner asked for full manual control and understands

        that changing the HTS/rate is their assertion, not ours).


        THE CAPS BELOW MUST NOT BE TIGHTER THAN WHAT THE ANALYZER EMITS. The editor

        pre-fills every field from the stored line, so a cap below the analyzer''s own

        output makes "open the pencil and press save" fail on a line the reviewer

        never even changed. That is what happened: `description` was capped at 500

        while `AnalyzedLineItem.description` is unbounded, so a long extracted

        description 422''d on a no-op save. Caps are kept (unbounded input reaches the

        PDF renderer) but sized above anything the pipeline produces.'