Skip to navigation

Enrich Companies, People, or a News Article's Mentions

View as Markdown

Queues one research run for each distinct entity and person in the request, in the order sent, including the entities and people each newsId’s article identifies and links (see the request body fields). Each record follows the joining, replay, queueing, acknowledgment and billing rules of POST /v1/research/runs. Returns each record’s run or typed refusal; other records still file, and runs already filed stay queued. Without userPrompt, a record already being researched, or researched within the last 24 hours, files nothing while the other records still file, and the request then answers 429 whose filedRunId lists the runs it filed; userPrompt uses those same subscriber admission rules for each record. Filing needs an entitled research subscription; prepaid credit only extends an eligible paid plan’s allowance. A billing refusal reports ALLOWANCE_EXHAUSTED or SUBSCRIPTION_REQUIRED and no run is filed. A research-gate 402 files no run. A transient failure fails the request; retrying it reuses runs still in progress without charging them again. A list longer than the configured batch limit files only its first records up to that limit and returns no outcome for the rest, so compare the outcomes with the entityId and personId sent to find records to send again. A newsId list naming more articles than that limit is refused before any run is filed. Check each run’s progress with GET /v1/research/runs/{runId} (CLI: research runs get).

Authentication

AuthorizationBearer

Your aVenture API key (https://aventure.vc/settings/api-keys) or OAuth access token

Headers

PreferstringOptional

Send run-execution-direct to also read runs whose bodies omit optional run metadata: without it a single-run read answers 409 for such a run and list reads omit it. Send run-lane-origin to read the lane a run was filed under instead of its admission class. Neither preference grants access. Applied preferences are acknowledged in Preference-Applied; responses vary by Prefer.

Request

This endpoint expects an object.
entityIdlist of stringsOptional

Entity ids (UUIDs) to enrich, filed in order before any person

instructionlist of objectsOptional
Additional instructions for selected records, one entry per owner. Each entry appends to the shared userPrompt for that owner only. Duplicate or unselected owners and combined prompts longer than the run limit are rejected before any run is filed. Omit for identical instructions on every run.
lanestring or nullOptional

Origin priority: live for lookup, interactive for an individual request, or bulk for a client batch (the default when omitted)

modeenumOptional

COMPREHENSIVE (the default) researches each whole profile; INDIVIDUAL runs only the tasks named in taskPresetKey

Allowed values:
modelstring or nullOptional

Model id for each run’s lead agent; omit to use aVenture’s default model

newsIdlist of integersOptional

News article ids. The server identifies every company and person each article names, as POST /v1/lookup/mentions does with sourceNewsId, adds the article’s linked companies and people, and files one enrichment per distinct record.

personIdlist of stringsOptional

Person ids (UUIDs) to enrich, filed in order after every entity

taskPresetKeylist of strings or nullOptional

Task preset keys that scope or emphasize every run; at least one is required when mode is INDIVIDUAL, and an unknown key is a 400

userPromptstring or nullOptional0-2000 characters

Plain-language instruction for every run, such as which facts or sources to check first

Response headers

Preference-AppliedstringOptional
VarystringOptional
X-RateLimit-LimitintegerOptional

Requests allowed per client IP in the current rate-limit window.

X-RateLimit-RemainingintegerOptional

Requests left before the tightest applicable rate-limit bucket rejects.

X-RateLimit-ResetintegerOptional

Seconds until the exhausted rate-limit bucket admits another request; 0 when none is exhausted.

Response

OK
recordobject
The requested entity or person
refusalstring or nullOptional

Why no run was filed; absent when run is set

runobject or nullOptional

The queued or reused run; absent when refusal is set

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
406
Not Acceptable Error
409
Conflict Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error