Skip to main content
POST
/
api
/
research
/
enrich
cURL
curl --request POST \
  --url https://recoup-api.vercel.app/api/research/enrich \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": "<string>",
  "schema": {},
  "processor": "base"
}
'
{
  "status": "success",
  "output": {},
  "research_basis": {
    "citations": [
      {
        "url": "<string>",
        "title": "<string>",
        "field": "<string>"
      }
    ]
  }
}

Body

application/json
input
string
required

What to research (e.g., "Drake rapper from Dallas Texas").

schema
object
required

JSON schema defining the fields to extract.

processor
enum<string>
default:base

Research depth: base (fast), core (balanced), ultra (comprehensive).

Available options:
base,
core,
ultra

Response

200 - application/json

Structured enrichment data

status
enum<string>
Available options:
success,
error
output
object

Structured data matching the provided schema.

research_basis
object