Product Modeling

Prompt compiler

Convert rough founder language into a first-pass Lines model with explicit actors, rules, and workflows.

POST

https://api.nearform.co/v1/adam/models

Request

curl --request POST \
  --url https://api.nearform.co/v1/adam/models \
  --header "Authorization: Bearer ADAM_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "workspace_id": "ws_demo",
  "input": "Replace with the endpoint-specific Lines artifact or research question",
  "human_review_required": true
}'

Request

curl --request POST \
  --url https://api.nearform.co/v1/adam/models \
  --header "Authorization: Bearer ADAM_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "workspace_id": "ws_demo",
  "input": "Replace with the endpoint-specific Lines artifact or research question",
  "human_review_required": true
}'

Request

curl --request POST \
  --url https://api.nearform.co/v1/adam/models \
  --header "Authorization: Bearer ADAM_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "workspace_id": "ws_demo",
  "input": "Replace with the endpoint-specific Lines artifact or research question",
  "human_review_required": true
}'

200

400

{
  "id": "compile_prompt_to_lines_model_01HXYZ",
  "object": "compile-prompt-to-lines-model",
  "status": "queued",
  "beta": true,
  "human_review_required": true
}

200

400

{
  "id": "compile_prompt_to_lines_model_01HXYZ",
  "object": "compile-prompt-to-lines-model",
  "status": "queued",
  "beta": true,
  "human_review_required": true
}

200

400

{
  "id": "compile_prompt_to_lines_model_01HXYZ",
  "object": "compile-prompt-to-lines-model",
  "status": "queued",
  "beta": true,
  "human_review_required": true
}

Beta access: ADAM is currently in beta. Create a Lines account โ€” https://nearform.co/account โ€” and apply for access โ€” https://nearform.co/apply.

What this endpoint does: ADAM extracts actors, objects, actions, decisions, states, permissions, screens, relationships, and unresolved assumptions from an informal brief.

Input: Provide the raw brief plus optional domain, target users, existing constraints, and a preferred model depth.

Output: Returns a reviewable draft model, missing-information questions, and suggested Views. It does not silently change a Lines file.

Human review: Accept, edit, or reject each proposed element before importing it into the product model.

Need help? Contact Support

Questions? Contact Sales

Request

curl --request POST \
  --url https://api.nearform.co/v1/adam/models \
  --header "Authorization: Bearer ADAM_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "workspace_id": "ws_demo",
  "input": "Replace with the endpoint-specific Lines artifact or research question",
  "human_review_required": true
}'

200

400

{
  "id": "compile_prompt_to_lines_model_01HXYZ",
  "object": "compile-prompt-to-lines-model",
  "status": "queued",
  "beta": true,
  "human_review_required": true
}

ยฉ 2026

Nearform Physical AI Inc. ยท All rights reserved