Skip to navigation

Enrich One Company, Product, or Service

View as Markdown

Files or reuses research for this entity on behalf of the authenticated caller. Take entityId from match.owner when POST /v1/lookup with kind ENTITY returns MATCHED (CLI: lookup —kind ENTITY —name “<name>” —data). The body documents finding for verbatim source facts and userPrompt for other updates and source URLs. This call uses the subscriber admission and acknowledgment rules of POST /v1/research/runs, rather than always filing a separate run when another account requested research. Each newly funded request reserves one company research unit from the plan’s research allowance, spent only once the run saves a research write and returned when it ends without one. After the run completes, read the updated profile with GET /v1/entities/{entityId} (CLI: entities get). Check the 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

Path parameters

entityIdstringRequiredformat: "uuid"

Entity id (UUID).

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.

Query parameters

modeenumOptional

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

Allowed values:
modelstringOptional

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

userPromptstringOptionalDeprecated

Deprecated: send userPrompt in the JSON body. Used only when the body carries no userPrompt; longer than 2000 characters is refused with 400.

taskPresetKeylist of stringsOptional

Research presets that focus the run, listed by GET /v1/research/runs/presets; at least one is required when mode is INDIVIDUAL, and an unknown key is a 400.

Request

This endpoint expects an object.
findinglist of objects or nullOptional

Facts you already read verbatim on an external source page for an entity, each with statement, sourceUrl, and exact quote; omit taskPresetKey to default to apply-cited-findings

userPromptstring or nullOptional0-2000 characters

Plain-language instruction for this run, such as an observed update and its source URL (newsUrlOriginal or web URL) or which facts 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
attemptinteger
Retry attempt counter
createdAtdatetime
Creation timestamp
hasSourceDocumentboolean
Whether this run consumes an immutable private source document
idstringformat: "uuid"
Run id
iterationinteger
Current loop iteration
lanestring

Admission class, interactive or background; Prefer: run-lane-origin reads the filed lane

modeenum
Enrichment breadth selected for this run
Allowed values:
statusenum
Current lifecycle state
Allowed values:
typeenum

Run kind: ENRICHMENT for a research request a caller filed, TASK for a narrower run aVenture scheduled

Allowed values:
updatedAtdatetime
Last update timestamp
urlstring
URL of the company, Product, Service, or person under research
callerCanFollowRunboolean or nullOptional
Whether you may read this run's details and activity
chassisstring or nullOptional
Agent framework this run executes on
chassisRoutedbooleanOptional

True when aVenture chose chassis

entitySlugstring or nullOptional
Slug of the profile the run produced
environmentenumOptional
API environment
Allowed values:
errorstring or nullOptional

Why the run failed; null unless failed

executionstring or nullOptional

Executor of this research attempt; absent on older APIs

failureClassstring or nullOptional

Short machine-readable class of the failure, such as runtime_cap; null unless failed

finishedAtdatetime or nullOptional
Run completion timestamp
firstStartboolean or nullOptional

Set only in the response that starts the run: true the first time it starts, false when a worker restarts it; null in every other response

followUpAdmissionenumOptional

Whether follow-up runs from this run’s latest finish have all been filed; runs finished before this was recorded stay PENDING

Allowed values:
latestStatusstring or nullOptional

Latest research-loop progress as a free-form JSON string

llmApienum or nullOptional

Language-model API format this run’s calls use

Allowed values:
maxIterationintegerOptional
Loop iteration cap
maxScoutConcurrentintegerOptional
Concurrent research helper cap
modelstring or nullOptional

Model id the run uses; absent when none applies

modelRoutedboolean or nullOptional

True for auto-router models, reselected on dequeue; null if unreported

nextAttemptAtdatetime or nullOptional

Earliest re-claim time when waiting on retry backoff

researchAllowanceTypestring or nullOptional

Research allowance this run reserved when it was filed: COMPANY or PERSON; null for a run filed without one

researchOutcomestring or nullOptional

How unsuccessful research ended: PARTIAL or BLOCKED, from its recorded failure class; null for other outcomes

resumeSafeUntildatetime or nullOptional
Instant past which resuming the run from where it stopped is no longer guaranteed. A failed or stopped run can resume that way while this is in the future. Null when there is no resume window.
startedAtdatetime or nullOptional
Run start timestamp
subagentModelstring or nullOptional

Model id of the run’s read-only research and check helpers

subagentModelRoutedboolean or nullOptional

True when the requester left subagentModel to the auto router, which picks it again each time the run leaves the queue; null when not reported

taskPresetKeylist of strings or nullOptional
Research presets filed with the run
terminalDecisionobject or nullOptionalRead-only

Newest server terminal decision; mutable progress cannot replace it

userPromptstring or nullOptional

Instructions filed with the run. POST /v1/research/runs filing responses acknowledge only the submitted note; subsequent requester list and detail reads omit the combined instructions.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found 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