Skip to main content
POST
/
utils
/
context-packs
/
{name}
/
soft-fk-expand
Expand seed tables via soft FK edges to find junction tables
curl --request POST \
  --url https://api.example.com/utils/context-packs/{name}/soft-fk-expand \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "seed_tables": [
    "<string>"
  ],
  "max_hops": 2
}
'
{
  "seed_tables": [
    "<string>"
  ],
  "expanded_tables": [
    {
      "table": "<string>",
      "path": [
        {
          "from_table": "<string>",
          "from_column": "<string>",
          "to_table": "<string>",
          "to_column": "<string>"
        }
      ]
    }
  ],
  "all_tables": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Project-ID
string | null

Path Parameters

name
string
required

Context pack name

Body

application/json
seed_tables
string[]
required
max_hops
integer
default:2
Required range: 1 <= x <= 5

Response

Successful Response

seed_tables
string[]
required
expanded_tables
SoftFkExpandedTable · object[]
required
all_tables
string[]
required