Vectelos Accuracy Feedback API

The Accuracy Feedback API from Vectelos, for accuracy feedback.

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 1

POST /v1/feedback Submit Line Feedback #

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-accuracy-feedback-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-accuracy-feedback-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vectelos Accuracy Feedback API
  description: Enterprise Tariff & Customs Compliance API Powered by Google Gemini Multimodal Intelligence
  version: 1.0.0
tags:
- name: Accuracy Feedback
paths:
  /v1/feedback:
    post:
      tags:
      - Accuracy Feedback
      summary: Submit Line Feedback
      description: 'Record one signal from one reader.


        Authenticated so only signed-in users can post, and then the identity is

        dropped: `current_user` is not passed to `record_line_feedback`, so the

        feedback row itself carries nothing that ties it to an account or a shipment.


        The one deliberate exception: a "flagged" signal bumps an opaque per-tenant

        counter in `vectelos_activation` (via `note_thumbs_down`) so a marketing

        cohort''s flag rate is visible. That store holds counts only — no feedback

        content, no HTS code, nothing joinable back to what was flagged. See

        `GTM_plan.md` §4.4.'
      operationId: submit_line_feedback_v1_feedback_post
      parameters:
      - 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/LineFeedback'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackAck'
        '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
    LineFeedback:
      properties:
        signal:
          type: string
          enum:
          - flagged
          - extraction_error
          - description_confirmed
          - description_wrong
          title: Signal
          description: What the reader is telling us
        hts_code:
          type: string
          title: Hts Code
          description: The code the engine selected
          default: ''
        confidence:
          anyOf:
          - type: number
          - type: 'null'
          title: Confidence
          description: Engine confidence, 0-1
        duty_rate_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Duty Rate Pct
          description: Effective rate applied
        chapter99_codes:
          items:
            type: string
          type: array
          title: Chapter99 Codes
          description: Remedy headings applied, e.g. 9903.82.02
        caveats_fired:
          type: integer
          title: Caveats Fired
          description: How many determinations the engine declined to make
          default: 0
        engine_reasoning:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Engine Reasoning
          description: The engine's own stated reasoning for this classification
        origin_country:
          anyOf:
          - type: string
            maxLength: 2
          - type: 'null'
          title: Origin Country
        port_city:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Port City
        port_state:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Port State
        what_is_wrong:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: What Is Wrong
          description: Which part looks wrong, from a fixed list the UI offers
        suggested_hts_code:
          anyOf:
          - type: string
            maxLength: 13
          - type: 'null'
          title: Suggested Hts Code
        comment:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Comment
        include_description:
          type: boolean
          title: Include Description
          description: True only when the reader chose to send the item description
          default: false
        item_description:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Item Description
          description: Sent only when include_description is true; dropped otherwise
      type: object
      required:
      - signal
      title: LineFeedback
      description: "One signal from the person reading a report.\n\nZERO DOC STORE. This is the only route by which anything derived from a\ncustomer's document reaches durable storage, and it exists because the\nengine cannot grade itself: a stored HTSUS code is what we decided, not\nwhether we were right. Feedback is the grade.\n\nThree rules hold it to the claim on the site:\n\n  1. Nothing is written unless the reader submits it. We do not sample\n     reports, and no background process reads a stored report.\n  2. No `user_id`, no `job_id`, no tenant identifier is recorded. The\n     request is authenticated so only signed-in users can post, and then\n     who they are is deliberately dropped.\n  3. Money and quantities never travel. Not the entered value, not the duty\n     assessed, not the line total.\n\nWHY THERE IS NO \"THIS IS CORRECT\" SIGNAL. A thumbs-up cannot distinguish\n\"I checked this against my broker's last entry\" from \"I clicked the green\none because the red one asked me questions\" -- but it looks like data, and\nat low volume it would manufacture an accuracy denominator we have not\nearned. Silence is allowed to mean silence. The one exception is\n`description_confirmed`, which answers a specific question about a specific\nline (\"is this roughly what it is?\") and so carries actual information."
    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
    FeedbackAck:
      properties:
        recorded:
          type: boolean
          title: Recorded
        description_included:
          type: boolean
          title: Description Included
          description: Echoes back whether the description was stored, so the UI can tell the reader what actually left their browser
        message:
          type: string
          title: Message
      type: object
      required:
      - recorded
      - description_included
      - message
      title: FeedbackAck