# List all metadata queries in an ontology Returns all metadata queries with their category bindings including binding properties (required, uniqueIndexElement) Endpoint: GET /accounts/{accountId}/ontologies/{ontologyId}/metadata-queries Version: 1.0.0 Security: bearerAuth ## Path parameters: - `accountId` (string, required) Short account ID with scd- prefix Example: "scd-k2j8n4m1" - `ontologyId` (string, required) The ID of the ontology Example: "123e4567-e89b-12d3-a456-426614174001" ## Response 200 fields (application/json): - `id` (string, required) Example: "123e4567-e89b-12d3-a456-426614174001" - `name` (string, required) Example: "Author Name" - `description` (string,null, required) Example: "The name of the document author" - `dataType` (string, required) Enum: "STRING", "SHORT_STRING", "NUMBER", "BOOLEAN", "DATE" - `instructions` (string, required) Example: "Extract the full name of the primary author from the document header or byline" - `ontologyId` (string, required) Example: "987fcdeb-51a2-43d1-9c4e-5f6e7d8c9a0b" - `createdAt` (string, required) Example: "2024-01-15T10:30:00Z" - `updatedAt` (string,null, required) Example: "2024-01-15T14:30:00Z" - `categoryBindings` (array, required) List of categories this metadata query is bound to with binding properties - `categoryBindings.categoryId` (string, required) The ID of the category this metadata query is bound to Example: "123e4567-e89b-12d3-a456-426614174002" - `categoryBindings.categoryName` (string, required) The name of the category this metadata query is bound to Example: "Research Papers" - `categoryBindings.required` (boolean, required) Whether this metadata query is required for this category Example: true - `categoryBindings.uniqueIndexElement` (boolean, required) Whether this metadata query is part of the unique index for this category ## Response 401 fields ## Response 404 fields