Taxonomy
List taxonomy-capable fields
client.taxonomy.listFields(TaxonomyListFieldsParams { tenant_id } query, RequestOptionsoptions?): TaxonomyListFieldsResponse { data }
GET/v1/taxonomy/fields
Models
TaxonomyRuns
List taxonomy runs
client.taxonomy.runs.list(RunListParams { tenant_id, field_id, limit, 3 more } query, RequestOptionsoptions?): RunListResponse { data }
GET/v1/taxonomy/runs
Start a taxonomy run
client.taxonomy.runs.start(RunStartParams { tenant_id, actor_id, field_id, 4 more } body, RequestOptionsoptions?): RunStartResponse { in_progress, run }
POST/v1/taxonomy/runs
Get a taxonomy run
client.taxonomy.runs.retrieve(stringrunID, RunRetrieveParams { tenant_id } query, RequestOptionsoptions?): Run { id, cluster_count, created_at, 17 more }
GET/v1/taxonomy/runs/{run_id}
Get a taxonomy run's tree
client.taxonomy.runs.getTree(stringrunID, RunGetTreeParams { tenant_id } query, RequestOptionsoptions?): RunGetTreeResponse { root, run }
GET/v1/taxonomy/runs/{run_id}/tree
Count feedback records per taxonomy node
client.taxonomy.runs.retrieveRecordCounts(stringrunID, RunRetrieveRecordCountsParams { tenant_id } query, RequestOptionsoptions?): RunRetrieveRecordCountsResponse { counts }
GET/v1/taxonomy/runs/{run_id}/record-counts
TaxonomyRunsActive
Get the active taxonomy tree for a scope
client.taxonomy.runs.active.getTree(ActiveGetTreeParams { tenant_id, field_id, scope_type, 2 more } query, RequestOptionsoptions?): ActiveGetTreeResponse { root, run }
GET/v1/taxonomy/runs/active/tree
TaxonomyNodes
Rename a taxonomy node
client.taxonomy.nodes.rename(stringnodeID, NodeRenameParams { actor_id, label, tenant_id } body, RequestOptionsoptions?): Node { id, created_at, label, 13 more }
PATCH/v1/taxonomy/nodes/{node_id}
Soft-remove a taxonomy node
client.taxonomy.nodes.softRemove(stringnodeID, NodeSoftRemoveParams { actor_id, tenant_id } params, RequestOptionsoptions?): Node { id, created_at, label, 13 more }
DELETE/v1/taxonomy/nodes/{node_id}
List feedback records for a taxonomy node
client.taxonomy.nodes.listRecords(stringnodeID, NodeListRecordsParams { tenant_id, limit } query, RequestOptionsoptions?): NodeListRecordsResponse { data, limit }
GET/v1/taxonomy/nodes/{node_id}/records