Skip to main content
POST
/
api
/
v1
/
tam
/
build
TAM Builder
curl --request POST \
  --url https://api.openfunnel.dev/api/v1/tam/build \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
{
  "query": "<string>"
}
'
{
  "job_id": "8a8e8a97-8192-48ff-849a-d8a96e949732",
  "status": "pending",
  "message": "TAM build started. Poll GET /api/v1/tam/build/8a8e8a97-8192-48ff-849a-d8a96e949732 for status and results."
}

Headers

X-API-Key
string
required

Body

application/json

Request body for the async TAM Builder.

query
string
required

Natural-language description of the market to build (e.g. 'cloud observability and monitoring tools').

Required string length: 1 - 500

Response

Job accepted. Returns a job_id to poll for status and results.

Returned immediately when a TAM build job is submitted.

job_id
string
required

Async job id. Poll GET /api/v1/tam/build/{job_id} for status and results.

message
string
required

Human-readable next-step hint.

status
string
default:pending

Job status at submit time (always pending).