# Evaluate rules within a context on the provided object **POST /v1/{contextId}/evaluate** Evaluate rules within a context on the provided object ## Servers - Cloud hosted production server: https://api.brease.run (Cloud hosted production server) - Development server: http://localhost:4400 (Development server) ## Parameters ### Path parameters - **contextId** (string) The parent context ID, for example, "contextID1/rules/{rule_id}/versions" ### Body: application/json (object) - **contextId** (string) The parent context ID, for example, "contextID1/rules/{rule_id}/versions" - **object** (object) The object to evaluate the ruleset on - **overrideRules** (array[object]) Rules to be applied instead of the stored rules of the context. This is mostly useful for testing purposes or ad-hoc / one-off requests where there is not context set up prior to the evaluation. - **overrideCode** (string) Assembled code can be provided, in this case the saved ruleset of the context is ignored. This is mostly useful for testing purposes or ad-hoc / one-off requests where there is not context set up prior to the evaluation. ## Responses ### 200 OK #### Body: application/json (object) - **results** (array[object]) ### default Default error response #### Body: application/json (object) - **code** (integer(int32)) The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. - **message** (string) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. - **details** (array[object]) A list of messages that carry the error details. There is a common set of message types for APIs to use. [Powered by Bump.sh](https://bump.sh)