> ## Documentation Index > Fetch the complete documentation index at: https://developers.torq.io/llms.txt > Use this file to discover all available pages before exploring further. # Retrieve rule schemas > Returns the rule schemas: for each evaluation point, the alert fields a matcher condition may test, the operators and values each accepts, and the outcomes a rule there may have. The server validates every rule against this document, so it is the reference for what a rule may contain: call it for the current fields and values. The response describes how to read it. ## OpenAPI ````json GET /v1/triage/rule-schemas { "openapi": "3.0.1", "info": { "contact": { "email": "support@torq.io", "name": "torq.io", "url": "https://torq.io" }, "title": "Torq Public API[production]", "version": "1.0.1alpha-148prod" }, "servers": [ { "url": "https://api.torq.io/public", "description": "US Environment" }, { "url": "https://api.eu.torq.io/public", "description": "European Environment" } ], "security": [ { "bearerAuth": [] } ], "tags": [ { "name": "ActivityLogs" }, { "name": "AgentsHubService" }, { "name": "ApiKeys" }, { "name": "AuditLogs" }, { "name": "Auto Triage Alert History" }, { "name": "Auto Triage Alerts" }, { "name": "Auto Triage Guidance" }, { "name": "Auto Triage Rules" }, { "name": "Auto Triage Verdict Actions" }, { "name": "Cases" }, { "name": "Cases Attachments" }, { "name": "Cases Custom Fields" }, { "name": "Cases Events" }, { "name": "Cases Links" }, { "name": "Cases Notes" }, { "name": "Cases Runbooks" }, { "name": "Cases Task Templates" }, { "name": "Cases Tasks" }, { "name": "CasesService" }, { "name": "ClaimMappings" }, { "name": "Dashboards" }, { "name": "Executions" }, { "name": "IdpSsoService" }, { "name": "Integrations" }, { "name": "IP Access Rules" }, { "name": "Observables" }, { "name": "Roles" }, { "name": "Scheduled Reports" }, { "name": "Secrets" }, { "name": "Security Config" }, { "name": "ShareRequests" }, { "name": "StepRunners" }, { "name": "Users" }, { "name": "Workflows" }, { "name": "Workspaces" }, { "name": "WorkspaceVariables" } ], "externalDocs": { "description": "Torq Documentation", "url": "https://learn.torq.io" }, "x-original-swagger-version": "2.0", "paths": { "/v1/triage/rule-schemas": { "get": { "description": "Returns the rule schemas: for each evaluation point, the alert fields a matcher condition may\ntest, the operators and values each accepts, and the outcomes a rule there may have. The\nserver validates every rule against this document, so it is the reference for what a rule\nmay contain: call it for the current fields and values. The response describes how to read it.", "operationId": "RuleService_GetRuleSchemas", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/torq.public.triage.v1.GetRuleSchemasResponse" } } }, "description": "A successful response." }, "401": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token." }, "403": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "You don't have permission to access this resource." } }, "summary": "Retrieve rule schemas", "tags": [ "Auto Triage Rules" ] } } }, "components": { "schemas": { "torq.public.triage.v1.GetRuleSchemasResponse": { "properties": { "schemas": { "description": "- \"evaluation_points\" has one entry per evaluation point, today \"after_verdict\", each with a\n \"description\", a \"context\" and the \"outcomes\" allowed there.\n- \"context\" is the alert as a matcher sees it. A field's path is its nesting: alert >\n mitre_attack > tactic_ids is the field \"alert.mitre_attack.tactic_ids\". Each field has a\n \"title\", a \"description\", its operators, listed in \"x-operators\", and its allowed values.\n- A field whose items are objects, such as \"alert.observables\", is tested with a collection\n condition on its item fields.\n- Value sets are in \"$defs\", referenced from fields with \"$ref\". The MITRE ATT&CK ones name\n their ATT&CK version in \"x-attack-version\".\n- \"outcomes\" lists the outcome types allowed, each a \"$ref\" to its settings in \"$defs\".\n\nEvery object declares \"additionalProperties\": false: a property it does not list is not\naccepted.", "properties": {}, "title": "The rule schemas, a JSON Schema 2020-12 document:", "type": "object" } }, "title": "Get rule schemas response", "type": "object" } }, "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "64fb4b65-44d8-4304-881c-b1f8b6b3100a" } } } } ````