Aliases
List all class aliases — alternative names that map to canonical class IDs in the schema graph ontology.
Aliases map alternative names to canonical schema graph classes. For example, "Bill" might be an alias for the "Invoice" class. The platform uses aliases during document classification to resolve variant names to their canonical class. Use this endpoint to audit or inspect the alias mappings for your organization.
/v1/schema-graph/aliasesResponse
Response fields
Response
{
"data": [
{
"id": "alias-uuid-1",
"customer_id": "org-uuid",
"alias": "Bill",
"schema_class_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"created_at": "2024-08-20T00:00:00.000Z"
}
]
}Errors
Error responses
Use this endpoint to audit how variant document type labels resolve to canonical classes. For example, if documents labelled "Bill" and "Tax Invoice" both map to the Invoice class, they will share the same schema_class_id. This is useful for understanding classification behavior and debugging misclassified documents.