Skip to main content
The vendor API is the HTTP surface for agents and scripts working on a vendor team: read the catalog, the opportunities you can respond to, and your sales and earnings; create listings and take them live; read the offers on them; request estimations; and manage inventory. Publishing, deciding offers, and moving money stay in the web app. Endpoints marked Beta may change or be removed without a deprecation period. Base URL https://api.datavendor.ai, every route under /v2, authenticated with a team API key. Keys, conventions, and errors are shared with the buyer API and described on Using the API. The OpenAPI document behind this page is served with an interactive reference. A first call, returning your team’s listings:

Objects

The same reads are available as MCP tools for coding agents.
Endpoint reference

Catalog

The same view of published listings a buyer has, including each listing’s vendor organization (team_name). A vendor-only team is behind the browse gate until it has enough live listings of its own: browse then serves only the first page of the selected asset types, at most six listings, and GET /v2/listings/browse/access reports your progress.

Browse

Browse is filtered and sorted server-side. The first page carries tab counts and filter facets; follow next_cursor for the rest. Vocabularies for the filters come from the taxonomy endpoints.
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200

Taxonomy

The asset types vendors compose listings from. asset_types holds the enabled ones, addable_asset_types every asset type you can add data of, enabled or not, and deprecated_asset_types the deprecated ones, whose listings stay browsable. DataVendor enables asset types one at a time, so the lists can differ from one another and change over time. Pass the returned values into browse filters; an unknown value matches nothing rather than erroring.
Request
Response 200

Selling

The key-holding team’s vendor side: its listings, sales, and the open listing requests it can respond to.

Listings

The API creates draft listings, edits them, manages which assets they carry, and takes them live. Submitting a listing (POST /v2/listings/{listing_id}/submit) validates it, moves it to in_review (shown as Publishing in the web app, with editing locked), and freezes a pinned copy of its assets; once the freeze finishes, the listing is published to the catalog automatically. Submitting needs the vendor agreements your organization accepted in the web app and terms_ownership_accepted on the listing. Relisting a listing you took off the catalog and accepting or rejecting its offers stay in the web app. A live listing keeps its prices, auto_clearing_price, accepts_offers and visibility editable. Any other edit, or attaching or detaching an asset, answers 409 listing_live naming the listing: unpublish it with POST /v2/listings/{listing_id}/unpublish, edit it, and publish it again in the web app.
Request
Response 200
Request
Response 200
Beta. This endpoint may change or be removed without a deprecation period.
Request
Response 201
Beta. This endpoint may change or be removed without a deprecation period.
Request
Response 200
An edit that sets status to submitted takes the listing live, like POST /v2/listings/{listing_id}/submit.
Beta. This endpoint may change or be removed without a deprecation period.
Request
Response 200
Beta. This endpoint may change or be removed without a deprecation period.
Request
Response 200
Beta. This endpoint may change or be removed without a deprecation period.
Request
Response 200
Offers are anonymous over an API key, like sales: buyer is null. Manage listing in the web app names each offer’s buyer organization, and accepting or rejecting an offer stays there.
Request
Response 200
Request
Response 200
Request
Response 201
Request
Returns 204 with an empty body.
Request
Response 200
Request
Response 200

Sales

Request
Response 200

Opportunities

Open listing requests your team can view. Listing submissions remain available in the web app. The browse gate does not apply to this catalog. Each opportunity carries in_vendor_audience, false for public requests a team that also buys can see outside its vendor audience, and can_submit_listings, which is also false once the request closes or your team’s deadline passes.
Request
Response 200
Request
Response 200

Inventory

A vendor team’s supply before and after it is listed. Every offering is an asset, in an asset group. Every asset type that holds your data supports metadata-only proposals: an asset registered without its data, whose first version you create later. Connector assets are created with their import. Tasks are imported platform versions and never have a proposed stage. supports_proposals on the asset-type catalog identifies this capability. Every asset type shares one set of writes. POST /v2/assets/{asset_type} creates an asset of that type, optionally with its data object, and POST /v2/assets/{asset_type}/batch creates up to 500 metadata-only assets with body {"items": [...]}, all or nothing. Only title is required. metadata takes any metadata key: GET /v2/asset-types/{asset_type} lists the keys the asset type suggests, none of them required, and a key it does not suggest is accepted too. extra_columns holds your own columns by label, each text, a number, a boolean or a list of text; text in YYYY-MM-DD form that names a real day is kept as a date. PATCH /v2/assets/{asset_id} edits any asset. Connector assets are still created with their import, and tasks with POST /v2/tasks/import. GET /v2/assets returns cross-asset-type summaries; filter it by asset_type, repeated to keep several types. An asset’s data has versions. POST /v2/assets/{asset_id}/versions creates the next one from a repository, a connector selection or a completed upload, and answers 202 with the version pending: DataVendor ingests it in the background while the asset keeps its current version. Poll GET /v2/assets/{asset_id}/versions/{version_id} until it is complete (it is now the asset’s current version), failed (error) or cancelled. An asset has one pending version: creating another cancels the one still pending, and a version whose repository head was still the current version’s commit is cancelled too. GET /v2/assets/{asset_id}/versions lists every version, oldest first. Each asset names its current_version, the complete one its data carries, and its latest_version, whatever that became. A version’s roots is its file tree once it has been read. Listings keep the version they hold until you switch them with PUT /v2/listings/{listing_id}/assets/{asset_id}/version. New data, through POST /v2/assets/{asset_type} (data), an asset’s first version, or a version whose source differs from the current version’s, adds the asset to your inventory and requires "ownership_attested": true in the data body: you attest that your organization owns the data or otherwise has all rights necessary to license it, as section 4.2(c) of the Vendor Data Sharing Agreement warrants. Without it the request answers 422; an organization that has not accepted the agreement gets 403 agreement_required. A version of the same source re-ingests it and needs no new attestation, and saving an asset without data needs none. Each asset’s ownership_attestation names who attested for its current data, when, and the agreement version. These collections return items, total, limit, and offset, default to 50 rows, and accept at most 200 rows per page. They share repeated id, group_id, listing_id, stage, filter, sort, and sort_direction parameters. Use GET /v2/assets/window for grouped inventory with leaf_budget, header_budget, and after_group_id; follow up inside one group with GET /v2/assets?group_id=...&limit=...&offset=.... Each of the row’s listings says whether it is listed and whether it is a draft; a hidden listing, or one going live, is neither. Stages are derived: a missing description makes an asset incomplete; with one and no artifact a proposal-capable asset is proposed; with one and its artifact it is complete. No metadata key is required. A task’s platform version counts as its artifact. Archive and analysis progress are separate from stage. PATCH changes only supplied fields; nullable fields can be cleared with null, while arrays and maps clear with [] and {}. Metadata you send with an API key and metadata edited in the inventory rank alike: either replaces the other, and both replace what DataVendor read from the linked data. Sending the value a key already shows changes nothing, so resending what DataVendor measured leaves it measured. A later reading never replaces a value you set; each metadata entry keeps that reading in measured_value (null until a reading measures the key), and DataVendor shows your value first, with a warning naming the reading when the two differ. A value you set may contradict what DataVendor measured for a related key (for example, fewer pull requests than it counted merged); both are kept. Sending null for the key shows the reading again, and leaves a value DataVendor read in place. Each entry’s in_catalog says whether it is a metadata catalog key, edited by key through metadata, or one of your own columns, edited by label through extra_columns. The public asset view lists DataVendor’s reading of each metric it measured in measured on codebase and connector. On the deprecated /v2/codebases routes, locked_fields maps each metric whose value DataVendor read from the linked data to its channel (github, gitlab, bitbucket or zip). An asset keeps the asset type it was created with; PUT /v2/assets/{asset_id}/asset-type, which moved one, is deprecated (see Deprecations). A metadata value the asset type does not ask for is listed with defined: false and can still be edited or cleared through metadata. DELETE /v2/assets/{asset_id} deletes any asset that holds your data in one call, with its data. The asset leaves your inventory at once, everything HUD stored for it goes out of reach within minutes, and it is permanently deleted 30 days later (purge_after). Until then DataVendor support can restore it. An asset in a listing that is not deleted is refused with 409; remove it from the listing first. An asset a current opportunity delivery names (received or accepted) is refused with 409 too. The asset type delete routes keep refusing an asset whose data is still attached. Every inventory asset response names in delete_blocker why this delete would refuse the asset now: platform_object for a task or another asset type that holds no data of yours, in_listing while a listing holds it (archived ones included, though listings leaves them out), or delivered while a current opportunity delivery names it; it is null when the delete would go through.

Assets

Request
Response 200
Request
Response 201
Request
Response 201
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 202
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 201
Request
Returns 204 with an empty body.
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200

Samples

Any asset that holds your data, of every asset type but tasks, can hold one sample: a folder of files anyone who can view the asset browses and downloads free, with real names and contents. Every listing holding the asset shows it, including drafts, and you can browse it before the asset is listed. The asset’s sample is {id, created_at} once one is shown, otherwise null; pending_sample is {id, status, verify_error} for a sample attached but not yet shown, with status uploading or checking. A sample belongs to your team and can be uploaded before its asset exists. Create one, upload its files with its files routes exactly as an asset’s folder upload (reserve a batch, PUT each file under 100 MiB to its URL, send larger ones in parts and assemble them), then complete it with the manifest {files: [{path, size_bytes}]}. Completing closes it to uploads and HUD checks the folder: when every declared file is there at its size, files the manifest does not name are deleted and the sample is checked; otherwise verify_error says what is wrong and the sample takes files again. Attach it with sample_id on POST /v2/assets/{asset_type} or with PUT /v2/assets/{asset_id}/sample, before or after it completes. The asset keeps showing its current sample until the attached one is checked, then shows the new one and deletes the old one’s files. An asset holds one sample not yet shown: attaching another removes the earlier one. Changing what an asset shows (a first sample, a replacement going live, a removal) is refused with 409 listing_live while a listing holding the asset is live: unpublish it first (POST /v2/listings/{listing_id}/unpublish). Attaching is refused the same way, and a sample attached earlier is refused when its check finishes if a listing holding its asset went live meanwhile, with verify_error saying why. Any other listing holding the asset that is past draft goes back to draft, so it goes through review again. Once a buyer has bought, is buying or has an open offer on one of those listings, its asset keeps the sample it shows: attaching another and removing the shown one answer 409 listing_sold, and a replacement already attached is refused when its check finishes, with verify_error saying why. A sample never attached is removed seven days after it was started. A removed sample’s files are deleted, and it answers 409 to further writes until it is forgotten, then 404. Browsing returns one folder level at a time, folders first, with next_cursor for more (limit up to 100); a path naming no folder answers 404, and files written after the sample was completed are not shown. A listing’s samples are paged with limit (up to 20) and offset, and each sample listed counts against your team’s browse rate limit. Each file’s url is valid for an hour: images, video, audio, PDF and text open inline, everything else downloads.
Request
Response 201
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200
Request
Returns 204 with an empty body.
Request
Response 200
Request
Response 200
Request
Response 200

Tasks

Import the tasks you build on the platform as inventory, one asset per task version. A task asset exists or it does not: there is nothing to propose up front, so POST /v2/tasks/import is the one way a task asset comes to exist. Send one taskset id to import every live task in it, or up to 500 task ids to pick tasks by hand, plus the task_type every imported task gets (coding, deepswe_style, terminal_bench_style, terminal_bench_science, frontier_swe, finance, legal or general; the type is required and has no default); the server resolves each task to its latest version and imports it when that version’s build qualifies for where the task comes from. A HUD task (task.origin hud, written against a HUD environment) needs a succeeded build. A Harbor task (task.origin harbor, a task folder a Harbor import registered as its own environment) needs that build, built or not, with the folder’s Harbor content digest; its task.harbor block names the folder and content_digest. The bundle itself, the task folder as it was uploaded, downloads from the portal (a signed link minted for your session, not for an API key). You can import from the tasksets you can view; a task you cannot view reads as not found. Tasks left out are listed in skipped with the reason that names the missing condition (no_version, no_build, build_not_succeeded for a HUD task, no_content_digest and no_source for a Harbor task, unsupported_origin for an environment imported from another system, deleted, foreign). A version imports once: importing again returns its asset under existing, and a task you edit on the platform imports again as a new asset titled with its version. A task asset has no data object to link; its task block names the version it stands for and what it resolved to (build_id, environment_id, build_status), and typed details read through GET /v2/tasks/{asset_id}. The asset never follows the task: once the task has a newer version on the platform, task.superseded turns true with superseded_by_version_id naming it, and the newer version imports as an asset of its own. Imported assets are complete once they have a description; a task without one imports incomplete until you fill it in with PATCH /v2/tasks/{asset_id}. The asking price is optional; a listing can price the task instead. The same call changes a task’s task_type later; the type never affects the stage. A listing that has been submitted prices all its assets or none, so to price several of its tasks, send them together as task_prices on PATCH /v2/listings/{listing_id}. Without group_id they land in a group named after the taskset, or in your default group when the picked tasks span several tasksets. One import creates at most 500 assets; a larger taskset is imported in batches of task_ids. Filter the inventory on GET /v2/assets with listed (true for assets a live listing carries, false for the rest), sample (true for vendor-data assets with a ready free sample, false for those missing one), superseded (true or false), and origin:is:hud or origin:is:harbor.
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200

Codebases

Create codebases with POST /v2/assets/codebase and edit them with PATCH /v2/assets/{asset_id}. A description you leave out is listed in missing and keeps the asset incomplete until an edit fills it; codebase metrics, the asking price and exclusivity are optional. Once the linked data is read, a description you left blank is filled from the repository’s root README, or failing that from the repository’s About text or your manifest’s description. A description you wrote is never replaced. The codebase create, list, read, edit and delete routes are deprecated in favor of the /v2/assets routes. They keep their request and response shapes until their sunset; their responses carry Deprecation, Sunset and Link headers. Its data routes are deprecated in favor of an asset’s versions, with the same headers. The quality-check and language routes are not deprecated.
Request
Response 200
Request
Response 201
Request
Response 201
Request
Response 200
Request
Response 200
Request
Response 200
Request
Returns 204 with an empty body.
Request
Response 201
Request
Returns 204 with an empty body.
Request
Response 202
Request
Response 200

Raw data

Create raw data with POST /v2/assets/raw_data, with an optional completed upload as data, and edit it with PATCH /v2/assets/{asset_id}. A description without an upload is proposed. With an upload, a row sent with its description is complete from the start; one without it lists it in missing and stays incomplete until an edit fills it. A blank description is filled from the archive’s root README once the upload is read. The raw data create, list, read, edit and delete routes are deprecated in favor of the /v2/assets routes, with the same headers as the codebase routes, and so are its data routes, in favor of an asset’s versions. The upload, SFTP and quality-check routes are not deprecated.
Request
Response 200
Request
Response 201
Request
Response 200
Request
Response 200
Request
Returns 204 with an empty body.
Request
Response 201
Request
Returns 204 with an empty body.
Request
Response 200

SFTP uploads

Send an asset’s files over SFTP instead of uploading them through the API. The folder and SFTP routes live under /v2/raw-data/{asset_id} and take an asset of any asset type that takes folder uploads (every type but codebases, connectors and tasks) while that type’s folder uploads are open; otherwise they answer 409, and the data goes up as a ZIP instead. POST /v2/raw-data/{asset_id}/sftp returns the host, port, host key fingerprint, a random user and a password that is in that answer only; the login lasts five days, and calling it again replaces the password and reopens a closed login. Files land in the same folder a folder upload uses, and a row with a login finishes only through files/finish (files/complete answers 409). When every transfer is done, POST /v2/raw-data/{asset_id}/files/finish closes the login and answers 202 at once: the folder is checked in the background, which takes minutes for a large one. GET /v2/raw-data/sftp/open lists each unfinished upload with where its check stands (check_status), leaving out an asset whose type’s folder uploads are closed (it moved to another asset type, its type was deprecated, or folder uploads were switched off for its type) until they open again; GET /v2/raw-data/{asset_id}/sftp reads one upload’s login and check with no asset titles in it, for a script or coding agent waiting on that upload alone (outcome is attached or empty once the upload is over, and it answers 404 once an empty row is deleted):
  • checking: the check is queued or running.
  • Gone from the list: every file arrived whole, the folder is the manifest and is attached pending verification; or the folder held nothing, in which case nothing is attached, and a row holding nothing but its title is deleted (a row with a description, notes, price or extra columns stays, and issuing a login again reopens its upload).
  • incomplete: files were cut off by a dropped connection (cut_off_files) or not confirmed to have arrived whole (unconfirmed_files). GET /v2/raw-data/{asset_id}/sftp/incomplete lists them by path (limit up to 200, offset). Send them again and finish again; or finish with ?drop_cut_off=true (cut-off files are deleted) and ?keep_unconfirmed=true (unconfirmed files are kept as they are).
  • refused: check_error says why, such as a file still uploading or one that arrived (or a client that connected) in the last minute. Finish again once it no longer holds.
A check that leaves the upload incomplete or refused reopens the login the finish closed; one revoked or expired before stays closed until a login is issued again. Finishing a folder that is already attached answers 201 with its data object. A file changed or added after the finish fails verification. The platform default API key cannot issue or revoke logins.
Request
Response 201
Request
Response 200
Request
Returns 204 with an empty body.
Request
Response 200
Request
Response 201

Connector imports

Jira

Create a Jira asset with POST /v2/vendor/connectors/jira/imports. Send a project selection with data.channel: "jira" and data.resource_ids, or a completed CSV or ZIP upload with data.channel: "zip" and data.url. Connect Jira once in the portal before using the selection channel. The grant belongs to the user, and imports read that user’s connected site. Selections accept 1 to 500 distinct project IDs after trimming whitespace. Title, description and asking price are required. Metrics are measured from the import and cannot be supplied in the request. Edit a Jira asset with PATCH /v2/assets/{asset_id}; Jira assets cannot be listed for sale yet. Connected imports keep up to the 10,000 newest issues created by the request time, with status and resolution reconstructed from the changelog. Other fields are read while the worker runs. CSV uploads accept Jira’s CSV - all fields format, bare or zipped, with limits of 512 MiB for the uploaded file and 512 MiB for all decompressed CSV contents. Files must be UTF-8, as Jira writes them, and times in Jira’s English format; an export the reading cannot read, or with no work items, fails the reading rather than dropping rows. A work item in more than one file keeps its last row, and must carry the same created time in each; files exported with different profile time zones fail the reading.

Confluence

Create a Confluence asset with POST /v2/vendor/connectors/confluence/imports. Connect Confluence in the portal first, then send data.channel: "confluence" and data.resource_ids containing 1 to 500 distinct space IDs. Title, description and asking price are required, as for Jira. File uploads are not supported on this asset type. Imports capture current readable pages, blog posts, comment threads and attachment metadata from the selected spaces. They retain current content, not historical revisions or attachment files. Oversized or incomplete captures fail without publishing a partial archive. See Confluence imports for content and size limitations. Edit a Confluence asset with PATCH /v2/assets/{asset_id}; Confluence assets cannot be listed for sale yet.

Progress and replacement

Progress is on data.archive_status and data.analysis_status; metrics are in the jira or confluence block returned by GET /v2/assets/{asset_id}. Unavailable Jira CSV metrics remain null. Replace the selection or export with POST /v2/assets/{asset_id}/versions; the asset keeps its current version’s metrics until the new version completes.
Request
Response 201
Request
Response 201
Request
Returns 204 with an empty body.

Groups

Request
Response 200
Request
Response 201
Request
Response 200
Request
Response 200
Request
Returns 204 with an empty body.

Account

Estimations

Request
Response 200
Beta. This endpoint may change or be removed without a deprecation period.
Request
Response 201
Beta. This endpoint may change or be removed without a deprecation period.
Request
Response 201
Request
Response 200
Request
Response 200
Request
Response 200

Wallet and notifications

Converting, withdrawing, and payout setup stay in the web app.
Request
Response 200
Request
Response 200
Request
Response 200

Deprecations

A deprecated route still works, but is on its way out: move off it before its sunset date, after which it can be removed without further notice. Until then it stays in the OpenAPI contract, flagged deprecated; public vendor operations can be inspected in the vendor OpenAPI document. Every successful response from a deprecated route also carries these headers: Asset responses also keep the fields these routes named, flagged deprecated in the OpenAPI document, until the same sunset: current_revision (use current_version), latest_refetch (use latest_version), listing_revision (use listing_version) and, on an asset’s listings, revision_number (use version_number).