# Structure

Infer structure from data. In each case, provided a similarity matrix. Produce as output, alternatively, a graph, categories, or a hierarchy.

# Graph

Perform clustering that produces a graph as output.

# Endpoint

POST /insight/structure/graph

# Parameters

Name Type Description Required
similarities string path to similarity matrix ✔️

# Response

Status: 200

{
  "task_identifier": "EFTGHDFER"
}

Request

curl -X POST https://api.rvrnc.io/insight/structure/graph \
  --data '{
    "similarities": "gs://bkt/prj/similarities.csv"
  }'

# Categories

Perform structure inference that produces a categorization as output.

# Endpoint

POST /insight/structure/categories

# Parameters

Name Type Description Required
similarities string path to similarity matrix ✔️

# Response

Status: 200

{
  "task_identifier": "EFTGHDFER"
}

Request

curl -X POST https://api.rvrnc.io/insight/structure/categories \
  --data '{
    "similarities": "gs://bkt/prj/similarities.csv"
  }'

# Hierarchy

Perform structure inference that produces a hierarchy as output.

# Endpoint

POST /insight/structure/hierarchy

# Parameters

Name Type Description Required
similarities string path to similarity matrix ✔️

# Response

Status: 200

{
  "task_identifier": "EFTGHDFER"
}

Request

curl -X POST https://api.rvrnc.io/insight/structure/hierarchy \
  --data '{
    "similarities": "gs://bkt/prj/similarities.csv"
  }'