diff --git a/ailib/src/main/java/ai/api/model/Result.java b/ailib/src/main/java/ai/api/model/Result.java
index <HASH>..<HASH> 100644
--- a/ailib/src/main/java/ai/api/model/Result.java
+++ b/ailib/src/main/java/ai/api/model/Result.java
@@ -55,7 +55,7 @@ public class Result implements Serializable {
      * Currently active contexts
      */
     @SerializedName("contexts")
-    private AIOutputContext[] contexts;
+    private List<AIOutputContext> contexts;
 
 
     @SerializedName("metadata")
@@ -225,10 +225,28 @@ public class Result implements Serializable {
         return getComplexParameter(name, null);
     }
 
-    public AIOutputContext[] getContexts() {
+    public List<AIOutputContext> getContexts() {
         return contexts;
     }
 
+    public AIOutputContext getContext(final String name) {
+        if (TextUtils.isEmpty(name)) {
+            throw new IllegalArgumentException("name argument must be not empty");
+        }
+
+        if (contexts == null) {
+            return null;
+        }
+
+        for (final AIOutputContext c : contexts) {
+            if (name.equalsIgnoreCase(c.getName())) {
+                return c;
+            }
+        }
+
+        return null;
+    }
+
     /**
      * The query that was used to produce this result
      */
Contexts property in Result now List