Skip to main content
POST
/
api
/
v1
/
search
/
tasks
Search
package main

import(
	"context"
	"github.com/conductorone/conductorone-sdk-go/pkg/models/shared"
	conductoronesdkgo "github.com/conductorone/conductorone-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := conductoronesdkgo.New(
        conductoronesdkgo.WithSecurity(shared.Security{
            BearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
            Oauth: "<YOUR_OAUTH_HERE>",
        }),
    )

    res, err := s.TaskSearch.Search(ctx, nil)
    if err != nil {
        log.Fatal(err)
    }
    if res.TaskSearchResponse != nil {
        // handle response
    }
}
{
  "expanded": [
    {
      "@type": "<string>"
    }
  ],
  "list": [
    {
      "accessReviewPath": "<string>",
      "appPath": "<string>",
      "appUserLastUsagePath": "<string>",
      "appUserPath": "<string>",
      "createdByUserPath": "<string>",
      "entitlementsPath": "<string>",
      "identityUserPath": "<string>",
      "insightsPath": "<string>",
      "stepApproversPath": "<string>",
      "task": {
        "actions": [
          "TASK_ACTION_TYPE_UNSPECIFIED"
        ],
        "analysisId": "<string>",
        "annotations": [
          {
            "@type": "<string>"
          }
        ],
        "commentCount": 123,
        "createdAt": "2023-11-07T05:31:56Z",
        "createdByUserId": "<string>",
        "data": {},
        "deletedAt": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "displayName": "<string>",
        "emergencyAccess": true,
        "externalRefs": [
          {
            "externalRefSource": "UNSPECIFIED",
            "name": "<string>",
            "url": "<string>"
          }
        ],
        "form": {
          "description": "<string>",
          "displayName": "<string>",
          "fieldGroups": [
            {
              "default": true,
              "displayName": "<string>",
              "fields": [
                "<string>"
              ],
              "helpText": "<string>",
              "name": "<string>"
            }
          ],
          "fieldRelationships": [
            {
              "atLeastOne": {},
              "fieldNames": [
                "<string>"
              ],
              "mutuallyExclusive": {},
              "requiredTogether": {}
            }
          ],
          "fields": [
            {
              "adminConfig": {
                "defaultValueCel": "<string>",
                "showToUser": true
              },
              "boolField": {
                "checkboxField": {},
                "defaultValue": true,
                "rules": {
                  "const": true
                },
                "toggleField": {}
              },
              "description": "<string>",
              "displayName": "<string>",
              "fileField": {
                "acceptedFileTypes": [
                  "<string>"
                ],
                "fileInputField": {},
                "maxFileSize": "<string>"
              },
              "int64Field": {
                "defaultValue": "<string>",
                "numberField": {
                  "maxValue": "<string>",
                  "minValue": "<string>",
                  "step": "<string>"
                },
                "placeholder": "<string>",
                "rules": {
                  "const": "<string>",
                  "gt": "<string>",
                  "gte": "<string>",
                  "ignoreEmpty": true,
                  "in": [
                    "<string>"
                  ],
                  "lt": "<string>",
                  "lte": "<string>",
                  "notIn": [
                    "<string>"
                  ]
                }
              },
              "name": "<string>",
              "oauth2Field": {
                "oauth2FieldView": {}
              },
              "sharedConfig": {
                "defaultValueCel": "<string>",
                "inputTransformationCel": "<string>",
                "lockDefaultValues": true
              },
              "stringField": {
                "defaultValue": "<string>",
                "passwordField": {},
                "pickerField": {
                  "appUserPicker": {
                    "appId": "<string>"
                  },
                  "resourcePicker": {
                    "appId": "<string>",
                    "resourceTypeId": "<string>"
                  }
                },
                "placeholder": "<string>",
                "rules": {
                  "address": true,
                  "const": "<string>",
                  "contains": "<string>",
                  "email": true,
                  "hostname": true,
                  "ignoreEmpty": true,
                  "in": [
                    "<string>"
                  ],
                  "ip": true,
                  "ipv4": true,
                  "ipv6": true,
                  "len": "<string>",
                  "lenBytes": "<string>",
                  "maxBytes": "<string>",
                  "maxLen": "<string>",
                  "minBytes": "<string>",
                  "minLen": "<string>",
                  "notContains": "<string>",
                  "notIn": [
                    "<string>"
                  ],
                  "pattern": "<string>",
                  "prefix": "<string>",
                  "strict": true,
                  "suffix": "<string>",
                  "uri": true,
                  "uriRef": true,
                  "uuid": true,
                  "wellKnownRegex": "UNKNOWN"
                },
                "selectField": {
                  "options": [
                    {
                      "description": "<string>",
                      "displayName": "<string>",
                      "value": "<string>"
                    }
                  ],
                  "type": "SELECT_TYPE_UNSPECIFIED"
                },
                "textField": {
                  "multiline": true
                }
              },
              "stringSliceField": {
                "chipsField": {},
                "defaultValues": [
                  "<string>"
                ],
                "pickerField": {
                  "appUserPicker": {
                    "appId": "<string>"
                  },
                  "resourcePicker": {
                    "appId": "<string>",
                    "resourceTypeId": "<string>"
                  }
                },
                "placeholder": "<string>",
                "rules": {
                  "ignoreEmpty": true,
                  "items": {
                    "any": {
                      "in": [
                        "<string>"
                      ],
                      "notIn": [
                        "<string>"
                      ],
                      "required": true
                    },
                    "bool": {
                      "const": true
                    },
                    "bytes": {
                      "const": "aSDinaTvuI8gbWludGxpZnk=",
                      "contains": "aSDinaTvuI8gbWludGxpZnk=",
                      "ignoreEmpty": true,
                      "in": [
                        "aSDinaTvuI8gbWludGxpZnk="
                      ],
                      "ip": true,
                      "ipv4": true,
                      "ipv6": true,
                      "len": "<string>",
                      "maxLen": "<string>",
                      "minLen": "<string>",
                      "notIn": [
                        "aSDinaTvuI8gbWludGxpZnk="
                      ],
                      "pattern": "<string>",
                      "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                      "suffix": "aSDinaTvuI8gbWludGxpZnk="
                    },
                    "double": {
                      "const": 123,
                      "gt": 123,
                      "gte": 123,
                      "ignoreEmpty": true,
                      "in": [
                        123
                      ],
                      "lt": 123,
                      "lte": 123,
                      "notIn": [
                        123
                      ]
                    },
                    "duration": {
                      "const": "<string>",
                      "gt": "<string>",
                      "gte": "<string>",
                      "in": [
                        "<string>"
                      ],
                      "lt": "<string>",
                      "lte": "<string>",
                      "notIn": [
                        "<string>"
                      ],
                      "required": true
                    },
                    "enum": {
                      "const": 123,
                      "definedOnly": true,
                      "in": [
                        123
                      ],
                      "notIn": [
                        123
                      ]
                    },
                    "fixed32": {
                      "const": 123,
                      "gt": 123,
                      "gte": 123,
                      "ignoreEmpty": true,
                      "in": [
                        123
                      ],
                      "lt": 123,
                      "lte": 123,
                      "notIn": [
                        123
                      ]
                    },
                    "fixed64": {
                      "const": "<string>",
                      "gt": "<string>",
                      "gte": "<string>",
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "lt": "<string>",
                      "lte": "<string>",
                      "notIn": [
                        "<string>"
                      ]
                    },
                    "float": {
                      "const": 123,
                      "gt": 123,
                      "gte": 123,
                      "ignoreEmpty": true,
                      "in": [
                        123
                      ],
                      "lt": 123,
                      "lte": 123,
                      "notIn": [
                        123
                      ]
                    },
                    "int32": {
                      "const": 123,
                      "gt": 123,
                      "gte": 123,
                      "ignoreEmpty": true,
                      "in": [
                        123
                      ],
                      "lt": 123,
                      "lte": 123,
                      "notIn": [
                        123
                      ]
                    },
                    "int64": {
                      "const": "<string>",
                      "gt": "<string>",
                      "gte": "<string>",
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "lt": "<string>",
                      "lte": "<string>",
                      "notIn": [
                        "<string>"
                      ]
                    },
                    "map": {
                      "ignoreEmpty": true,
                      "keys": "<unknown>",
                      "maxPairs": "<string>",
                      "minPairs": "<string>",
                      "noSparse": true,
                      "values": "<unknown>"
                    },
                    "message": {
                      "required": true,
                      "skip": true
                    },
                    "repeated": "<unknown>",
                    "sfixed32": {
                      "const": 123,
                      "gt": 123,
                      "gte": 123,
                      "ignoreEmpty": true,
                      "in": [
                        123
                      ],
                      "lt": 123,
                      "lte": 123,
                      "notIn": [
                        123
                      ]
                    },
                    "sfixed64": {
                      "const": "<string>",
                      "gt": "<string>",
                      "gte": "<string>",
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "lt": "<string>",
                      "lte": "<string>",
                      "notIn": [
                        "<string>"
                      ]
                    },
                    "sint32": {
                      "const": 123,
                      "gt": 123,
                      "gte": 123,
                      "ignoreEmpty": true,
                      "in": [
                        123
                      ],
                      "lt": 123,
                      "lte": 123,
                      "notIn": [
                        123
                      ]
                    },
                    "sint64": {
                      "const": "<string>",
                      "gt": "<string>",
                      "gte": "<string>",
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "lt": "<string>",
                      "lte": "<string>",
                      "notIn": [
                        "<string>"
                      ]
                    },
                    "string": {
                      "address": true,
                      "const": "<string>",
                      "contains": "<string>",
                      "email": true,
                      "hostname": true,
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "ip": true,
                      "ipv4": true,
                      "ipv6": true,
                      "len": "<string>",
                      "lenBytes": "<string>",
                      "maxBytes": "<string>",
                      "maxLen": "<string>",
                      "minBytes": "<string>",
                      "minLen": "<string>",
                      "notContains": "<string>",
                      "notIn": [
                        "<string>"
                      ],
                      "pattern": "<string>",
                      "prefix": "<string>",
                      "strict": true,
                      "suffix": "<string>",
                      "uri": true,
                      "uriRef": true,
                      "uuid": true,
                      "wellKnownRegex": "UNKNOWN"
                    },
                    "timestamp": {
                      "const": "2023-11-07T05:31:56Z",
                      "gt": "2023-11-07T05:31:56Z",
                      "gtNow": true,
                      "gte": "2023-11-07T05:31:56Z",
                      "lt": "2023-11-07T05:31:56Z",
                      "ltNow": true,
                      "lte": "2023-11-07T05:31:56Z",
                      "required": true,
                      "within": "<string>"
                    },
                    "uint32": {
                      "const": 123,
                      "gt": 123,
                      "gte": 123,
                      "ignoreEmpty": true,
                      "in": [
                        123
                      ],
                      "lt": 123,
                      "lte": 123,
                      "notIn": [
                        123
                      ]
                    },
                    "uint64": {
                      "const": "<string>",
                      "gt": "<string>",
                      "gte": "<string>",
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "lt": "<string>",
                      "lte": "<string>",
                      "notIn": [
                        "<string>"
                      ]
                    }
                  },
                  "maxItems": "<string>",
                  "minItems": "<string>",
                  "unique": true
                }
              },
              "userConfig": {
                "inputTransformationCel": "<string>"
              }
            }
          ],
          "id": "<string>"
        },
        "id": "<string>",
        "insightIds": [
          "<string>"
        ],
        "numericId": "<string>",
        "origin": "TASK_ORIGIN_UNSPECIFIED",
        "policy": {
          "current": {
            "accept": {
              "acceptMessage": "<string>"
            },
            "action": {
              "action": {
                "automation": {
                  "automationTemplateId": "<string>"
                }
              },
              "automation": {
                "automationExecutionId": "<string>"
              },
              "cancelled": {
                "outcomeTime": "2023-11-07T05:31:56Z"
              },
              "denied": {
                "outcomeTime": "2023-11-07T05:31:56Z"
              },
              "error": {
                "errorCode": "<string>",
                "errorMessage": "<string>",
                "outcomeTime": "2023-11-07T05:31:56Z"
              },
              "state": "ACTION_INSTANCE_STATE_UNSPECIFIED",
              "success": {
                "outcomeTime": "2023-11-07T05:31:56Z"
              }
            },
            "approval": {
              "approval": {
                "agent": {
                  "agentFailureAction": "APPROVAL_AGENT_FAILURE_ACTION_UNSPECIFIED",
                  "agentMode": "APPROVAL_AGENT_MODE_UNSPECIFIED",
                  "agentUserId": "<string>",
                  "instructions": "<string>",
                  "policyIds": [
                    "<string>"
                  ],
                  "reassignToUserIds": [
                    "<string>"
                  ]
                },
                "allowDelegation": true,
                "allowReassignment": true,
                "allowedReassignees": [
                  "<string>"
                ],
                "appOwners": {
                  "allowSelfApproval": true,
                  "requireDistinctApprovers": true
                },
                "assigned": true,
                "entitlementOwners": {
                  "allowSelfApproval": true,
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "escalation": {
                  "cancelTicket": {},
                  "escalationComment": "<string>",
                  "expiration": "<string>",
                  "reassignToApprovers": {
                    "approverIds": [
                      "<string>"
                    ]
                  },
                  "replacePolicy": {
                    "policyId": "<string>"
                  },
                  "skipStep": {}
                },
                "escalationEnabled": true,
                "expression": {
                  "allowSelfApproval": true,
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "expressions": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "group": {
                  "allowSelfApproval": true,
                  "appGroupId": "<string>",
                  "appId": "<string>",
                  "fallback": true,
                  "fallbackGroupIds": [
                    {
                      "appEntitlementId": "<string>",
                      "appId": "<string>"
                    }
                  ],
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "isGroupFallbackEnabled": true,
                  "requireDistinctApprovers": true
                },
                "manager": {
                  "allowSelfApproval": true,
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "requireApprovalReason": true,
                "requireDenialReason": true,
                "requireReassignmentReason": true,
                "requiresStepUpProviderId": "<string>",
                "resourceOwners": {
                  "allowSelfApproval": true,
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "self": {
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ]
                },
                "users": {
                  "allowSelfApproval": true,
                  "requireDistinctApprovers": true,
                  "userIds": [
                    "<string>"
                  ]
                },
                "webhook": {
                  "webhookId": "<string>"
                }
              },
              "approved": {
                "approvedAt": "2023-11-07T05:31:56Z",
                "entitlements": [
                  {
                    "appEntitlementId": "<string>",
                    "appId": "<string>"
                  }
                ],
                "stepUpTransactionId": "<string>",
                "userId": "<string>"
              },
              "assignedAt": "2023-11-07T05:31:56Z",
              "denied": {
                "deniedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "escalationInstance": {
                "alreadyEscalated": true,
                "cancelTicket": {},
                "escalationComment": "<string>",
                "expiresAt": "2023-11-07T05:31:56Z",
                "reassignToApprovers": {
                  "approverIds": [
                    "<string>"
                  ]
                },
                "replacePolicy": {
                  "policyId": "<string>"
                },
                "skipStep": {}
              },
              "reassigned": {
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "reassignedByError": {
                "description": "<string>",
                "errorCode": "<string>",
                "errorUserId": "<string>",
                "erroredAt": "2023-11-07T05:31:56Z",
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z"
              },
              "restarted": {
                "oldPolicyStepId": "<string>",
                "restartedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "state": "APPROVAL_INSTANCE_STATE_UNSPECIFIED"
            },
            "form": {
              "completed": {
                "completedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "data": {},
              "form": {
                "description": "<string>",
                "displayName": "<string>",
                "fieldGroups": [
                  {
                    "default": true,
                    "displayName": "<string>",
                    "fields": [
                      "<string>"
                    ],
                    "helpText": "<string>",
                    "name": "<string>"
                  }
                ],
                "fieldRelationships": [
                  {
                    "atLeastOne": {},
                    "fieldNames": [
                      "<string>"
                    ],
                    "mutuallyExclusive": {},
                    "requiredTogether": {}
                  }
                ],
                "fields": [
                  {
                    "adminConfig": {
                      "defaultValueCel": "<string>",
                      "showToUser": true
                    },
                    "boolField": {
                      "checkboxField": {},
                      "defaultValue": true,
                      "rules": {
                        "const": true
                      },
                      "toggleField": {}
                    },
                    "description": "<string>",
                    "displayName": "<string>",
                    "fileField": {
                      "acceptedFileTypes": [
                        "<string>"
                      ],
                      "fileInputField": {},
                      "maxFileSize": "<string>"
                    },
                    "int64Field": {
                      "defaultValue": "<string>",
                      "numberField": {
                        "maxValue": "<string>",
                        "minValue": "<string>",
                        "step": "<string>"
                      },
                      "placeholder": "<string>",
                      "rules": {
                        "const": "<string>",
                        "gt": "<string>",
                        "gte": "<string>",
                        "ignoreEmpty": true,
                        "in": [
                          "<string>"
                        ],
                        "lt": "<string>",
                        "lte": "<string>",
                        "notIn": [
                          "<string>"
                        ]
                      }
                    },
                    "name": "<string>",
                    "oauth2Field": {
                      "oauth2FieldView": {}
                    },
                    "sharedConfig": {
                      "defaultValueCel": "<string>",
                      "inputTransformationCel": "<string>",
                      "lockDefaultValues": true
                    },
                    "stringField": {
                      "defaultValue": "<string>",
                      "passwordField": {},
                      "pickerField": {
                        "appUserPicker": {
                          "appId": "<string>"
                        },
                        "resourcePicker": {
                          "appId": "<string>",
                          "resourceTypeId": "<string>"
                        }
                      },
                      "placeholder": "<string>",
                      "rules": {
                        "address": true,
                        "const": "<string>",
                        "contains": "<string>",
                        "email": true,
                        "hostname": true,
                        "ignoreEmpty": true,
                        "in": [
                          "<string>"
                        ],
                        "ip": true,
                        "ipv4": true,
                        "ipv6": true,
                        "len": "<string>",
                        "lenBytes": "<string>",
                        "maxBytes": "<string>",
                        "maxLen": "<string>",
                        "minBytes": "<string>",
                        "minLen": "<string>",
                        "notContains": "<string>",
                        "notIn": [
                          "<string>"
                        ],
                        "pattern": "<string>",
                        "prefix": "<string>",
                        "strict": true,
                        "suffix": "<string>",
                        "uri": true,
                        "uriRef": true,
                        "uuid": true,
                        "wellKnownRegex": "UNKNOWN"
                      },
                      "selectField": {
                        "options": [
                          {
                            "description": "<string>",
                            "displayName": "<string>",
                            "value": "<string>"
                          }
                        ],
                        "type": "SELECT_TYPE_UNSPECIFIED"
                      },
                      "textField": {
                        "multiline": true
                      }
                    },
                    "stringSliceField": {
                      "chipsField": {},
                      "defaultValues": [
                        "<string>"
                      ],
                      "pickerField": {
                        "appUserPicker": {
                          "appId": "<string>"
                        },
                        "resourcePicker": {
                          "appId": "<string>",
                          "resourceTypeId": "<string>"
                        }
                      },
                      "placeholder": "<string>",
                      "rules": {
                        "ignoreEmpty": true,
                        "items": {
                          "any": {
                            "in": [
                              "<string>"
                            ],
                            "notIn": [
                              "<string>"
                            ],
                            "required": true
                          },
                          "bool": {
                            "const": true
                          },
                          "bytes": {
                            "const": "aSDinaTvuI8gbWludGxpZnk=",
                            "contains": "aSDinaTvuI8gbWludGxpZnk=",
                            "ignoreEmpty": true,
                            "in": [
                              "aSDinaTvuI8gbWludGxpZnk="
                            ],
                            "ip": true,
                            "ipv4": true,
                            "ipv6": true,
                            "len": "<string>",
                            "maxLen": "<string>",
                            "minLen": "<string>",
                            "notIn": [
                              "aSDinaTvuI8gbWludGxpZnk="
                            ],
                            "pattern": "<string>",
                            "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                            "suffix": "aSDinaTvuI8gbWludGxpZnk="
                          },
                          "double": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "duration": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ],
                            "required": true
                          },
                          "enum": {
                            "const": 123,
                            "definedOnly": true,
                            "in": [
                              123
                            ],
                            "notIn": [
                              123
                            ]
                          },
                          "fixed32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "fixed64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "float": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "int32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "int64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "map": {
                            "ignoreEmpty": true,
                            "keys": "<unknown>",
                            "maxPairs": "<string>",
                            "minPairs": "<string>",
                            "noSparse": true,
                            "values": "<unknown>"
                          },
                          "message": {
                            "required": true,
                            "skip": true
                          },
                          "repeated": "<unknown>",
                          "sfixed32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "sfixed64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "sint32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "sint64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "string": {
                            "address": true,
                            "const": "<string>",
                            "contains": "<string>",
                            "email": true,
                            "hostname": true,
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "ip": true,
                            "ipv4": true,
                            "ipv6": true,
                            "len": "<string>",
                            "lenBytes": "<string>",
                            "maxBytes": "<string>",
                            "maxLen": "<string>",
                            "minBytes": "<string>",
                            "minLen": "<string>",
                            "notContains": "<string>",
                            "notIn": [
                              "<string>"
                            ],
                            "pattern": "<string>",
                            "prefix": "<string>",
                            "strict": true,
                            "suffix": "<string>",
                            "uri": true,
                            "uriRef": true,
                            "uuid": true,
                            "wellKnownRegex": "UNKNOWN"
                          },
                          "timestamp": {
                            "const": "2023-11-07T05:31:56Z",
                            "gt": "2023-11-07T05:31:56Z",
                            "gtNow": true,
                            "gte": "2023-11-07T05:31:56Z",
                            "lt": "2023-11-07T05:31:56Z",
                            "ltNow": true,
                            "lte": "2023-11-07T05:31:56Z",
                            "required": true,
                            "within": "<string>"
                          },
                          "uint32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "uint64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          }
                        },
                        "maxItems": "<string>",
                        "minItems": "<string>",
                        "unique": true
                      }
                    },
                    "userConfig": {
                      "inputTransformationCel": "<string>"
                    }
                  }
                ],
                "id": "<string>"
              },
              "reassigned": {
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "restarted": {
                "oldPolicyStepId": "<string>",
                "restartedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "state": "FORM_INSTANCE_STATE_UNSPECIFIED"
            },
            "id": "<string>",
            "policyGenerationId": "<string>",
            "provision": {
              "batonActionInvocationId": "<string>",
              "cancelled": {
                "cancelledAt": "2023-11-07T05:31:56Z",
                "cancelledByUserId": "<string>"
              },
              "completed": {
                "completedAt": "2023-11-07T05:31:56Z",
                "entitlements": [
                  {
                    "appEntitlementId": "<string>",
                    "appId": "<string>"
                  }
                ],
                "userId": "<string>"
              },
              "errored": {
                "description": "<string>",
                "errorCode": "<string>",
                "erroredAt": "2023-11-07T05:31:56Z"
              },
              "externalTicketId": "<string>",
              "externalTicketProvisionerConfigId": "<string>",
              "notificationId": "<string>",
              "provision": {
                "assigned": true,
                "provisionPolicy": {
                  "action": {
                    "actionName": "<string>",
                    "appId": "<string>",
                    "connectorId": "<string>",
                    "displayName": "<string>"
                  },
                  "connector": {
                    "account": {
                      "config": {},
                      "connectorId": "<string>",
                      "doNotSave": {},
                      "saveToVault": {
                        "vaultIds": [
                          "<string>"
                        ]
                      },
                      "schemaId": "<string>"
                    },
                    "defaultBehavior": {
                      "connectorId": "<string>"
                    },
                    "deleteAccount": {
                      "connectorId": "<string>"
                    }
                  },
                  "delegated": {
                    "appId": "<string>",
                    "entitlementId": "<string>",
                    "implicit": true
                  },
                  "externalTicket": {
                    "appId": "<string>",
                    "connectorId": "<string>",
                    "externalTicketProvisionerConfigId": "<string>",
                    "instructions": "<string>"
                  },
                  "manual": {
                    "instructions": "<string>",
                    "userIds": [
                      "<string>"
                    ]
                  },
                  "multiStep": {
                    "provisionSteps": "<array>"
                  },
                  "unconfigured": {},
                  "webhook": {
                    "webhookId": "<string>"
                  }
                },
                "provisionTarget": {
                  "appEntitlementId": "<string>",
                  "appId": "<string>",
                  "appUserId": "<string>",
                  "grantDuration": "<string>"
                }
              },
              "reassignedByError": {
                "description": "<string>",
                "errorCode": "<string>",
                "errorUserId": "<string>",
                "erroredAt": "2023-11-07T05:31:56Z",
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z"
              },
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "state": "PROVISION_INSTANCE_STATE_UNSPECIFIED",
              "webhookId": "<string>",
              "webhookInstanceId": "<string>"
            },
            "reject": {
              "rejectMessage": "<string>"
            },
            "state": "POLICY_STEP_STATE_UNSPECIFIED",
            "wait": {
              "commentOnFirstWait": "<string>",
              "commentOnTimeout": "<string>",
              "condition": {
                "condition": "<string>"
              },
              "name": "<string>",
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "startedWaitingAt": "2023-11-07T05:31:56Z",
              "state": "WAIT_INSTANCE_STATE_UNSPECIFIED",
              "succeeded": {
                "succeededAt": "2023-11-07T05:31:56Z"
              },
              "timedOut": {
                "timedOutAt": "2023-11-07T05:31:56Z"
              },
              "timeout": "2023-11-07T05:31:56Z",
              "timeoutDuration": "<string>",
              "untilTime": {
                "durationIfExists": "<string>",
                "untilTime": "2023-11-07T05:31:56Z"
              }
            }
          },
          "history": [
            {
              "accept": {
                "acceptMessage": "<string>"
              },
              "action": {
                "action": {
                  "automation": {
                    "automationTemplateId": "<string>"
                  }
                },
                "automation": {
                  "automationExecutionId": "<string>"
                },
                "cancelled": {
                  "outcomeTime": "2023-11-07T05:31:56Z"
                },
                "denied": {
                  "outcomeTime": "2023-11-07T05:31:56Z"
                },
                "error": {
                  "errorCode": "<string>",
                  "errorMessage": "<string>",
                  "outcomeTime": "2023-11-07T05:31:56Z"
                },
                "state": "ACTION_INSTANCE_STATE_UNSPECIFIED",
                "success": {
                  "outcomeTime": "2023-11-07T05:31:56Z"
                }
              },
              "approval": {
                "approval": {
                  "agent": {
                    "agentFailureAction": "APPROVAL_AGENT_FAILURE_ACTION_UNSPECIFIED",
                    "agentMode": "APPROVAL_AGENT_MODE_UNSPECIFIED",
                    "agentUserId": "<string>",
                    "instructions": "<string>",
                    "policyIds": [
                      "<string>"
                    ],
                    "reassignToUserIds": [
                      "<string>"
                    ]
                  },
                  "allowDelegation": true,
                  "allowReassignment": true,
                  "allowedReassignees": [
                    "<string>"
                  ],
                  "appOwners": {
                    "allowSelfApproval": true,
                    "requireDistinctApprovers": true
                  },
                  "assigned": true,
                  "entitlementOwners": {
                    "allowSelfApproval": true,
                    "fallback": true,
                    "fallbackUserIds": [
                      "<string>"
                    ],
                    "requireDistinctApprovers": true
                  },
                  "escalation": {
                    "cancelTicket": {},
                    "escalationComment": "<string>",
                    "expiration": "<string>",
                    "reassignToApprovers": {
                      "approverIds": [
                        "<string>"
                      ]
                    },
                    "replacePolicy": {
                      "policyId": "<string>"
                    },
                    "skipStep": {}
                  },
                  "escalationEnabled": true,
                  "expression": {
                    "allowSelfApproval": true,
                    "assignedUserIds": [
                      "<string>"
                    ],
                    "expressions": [
                      "<string>"
                    ],
                    "fallback": true,
                    "fallbackUserIds": [
                      "<string>"
                    ],
                    "requireDistinctApprovers": true
                  },
                  "group": {
                    "allowSelfApproval": true,
                    "appGroupId": "<string>",
                    "appId": "<string>",
                    "fallback": true,
                    "fallbackGroupIds": [
                      {
                        "appEntitlementId": "<string>",
                        "appId": "<string>"
                      }
                    ],
                    "fallbackUserIds": [
                      "<string>"
                    ],
                    "isGroupFallbackEnabled": true,
                    "requireDistinctApprovers": true
                  },
                  "manager": {
                    "allowSelfApproval": true,
                    "assignedUserIds": [
                      "<string>"
                    ],
                    "fallback": true,
                    "fallbackUserIds": [
                      "<string>"
                    ],
                    "requireDistinctApprovers": true
                  },
                  "requireApprovalReason": true,
                  "requireDenialReason": true,
                  "requireReassignmentReason": true,
                  "requiresStepUpProviderId": "<string>",
                  "resourceOwners": {
                    "allowSelfApproval": true,
                    "fallback": true,
                    "fallbackUserIds": [
                      "<string>"
                    ],
                    "requireDistinctApprovers": true
                  },
                  "self": {
                    "assignedUserIds": [
                      "<string>"
                    ],
                    "fallback": true,
                    "fallbackUserIds": [
                      "<string>"
                    ]
                  },
                  "users": {
                    "allowSelfApproval": true,
                    "requireDistinctApprovers": true,
                    "userIds": [
                      "<string>"
                    ]
                  },
                  "webhook": {
                    "webhookId": "<string>"
                  }
                },
                "approved": {
                  "approvedAt": "2023-11-07T05:31:56Z",
                  "entitlements": [
                    {
                      "appEntitlementId": "<string>",
                      "appId": "<string>"
                    }
                  ],
                  "stepUpTransactionId": "<string>",
                  "userId": "<string>"
                },
                "assignedAt": "2023-11-07T05:31:56Z",
                "denied": {
                  "deniedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "escalationInstance": {
                  "alreadyEscalated": true,
                  "cancelTicket": {},
                  "escalationComment": "<string>",
                  "expiresAt": "2023-11-07T05:31:56Z",
                  "reassignToApprovers": {
                    "approverIds": [
                      "<string>"
                    ]
                  },
                  "replacePolicy": {
                    "policyId": "<string>"
                  },
                  "skipStep": {}
                },
                "reassigned": {
                  "newPolicyStepId": "<string>",
                  "reassignedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "reassignedByError": {
                  "description": "<string>",
                  "errorCode": "<string>",
                  "errorUserId": "<string>",
                  "erroredAt": "2023-11-07T05:31:56Z",
                  "newPolicyStepId": "<string>",
                  "reassignedAt": "2023-11-07T05:31:56Z"
                },
                "restarted": {
                  "oldPolicyStepId": "<string>",
                  "restartedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "skipped": {
                  "newPolicyStepId": "<string>",
                  "skippedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "state": "APPROVAL_INSTANCE_STATE_UNSPECIFIED"
              },
              "form": {
                "completed": {
                  "completedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "data": {},
                "form": {
                  "description": "<string>",
                  "displayName": "<string>",
                  "fieldGroups": [
                    {
                      "default": true,
                      "displayName": "<string>",
                      "fields": [
                        "<string>"
                      ],
                      "helpText": "<string>",
                      "name": "<string>"
                    }
                  ],
                  "fieldRelationships": [
                    {
                      "atLeastOne": {},
                      "fieldNames": [
                        "<string>"
                      ],
                      "mutuallyExclusive": {},
                      "requiredTogether": {}
                    }
                  ],
                  "fields": [
                    {
                      "adminConfig": {
                        "defaultValueCel": "<string>",
                        "showToUser": true
                      },
                      "boolField": {
                        "checkboxField": {},
                        "defaultValue": true,
                        "rules": {
                          "const": true
                        },
                        "toggleField": {}
                      },
                      "description": "<string>",
                      "displayName": "<string>",
                      "fileField": {
                        "acceptedFileTypes": [
                          "<string>"
                        ],
                        "fileInputField": {},
                        "maxFileSize": "<string>"
                      },
                      "int64Field": {
                        "defaultValue": "<string>",
                        "numberField": {
                          "maxValue": "<string>",
                          "minValue": "<string>",
                          "step": "<string>"
                        },
                        "placeholder": "<string>",
                        "rules": {
                          "const": "<string>",
                          "gt": "<string>",
                          "gte": "<string>",
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "lt": "<string>",
                          "lte": "<string>",
                          "notIn": [
                            "<string>"
                          ]
                        }
                      },
                      "name": "<string>",
                      "oauth2Field": {
                        "oauth2FieldView": {}
                      },
                      "sharedConfig": {
                        "defaultValueCel": "<string>",
                        "inputTransformationCel": "<string>",
                        "lockDefaultValues": true
                      },
                      "stringField": {
                        "defaultValue": "<string>",
                        "passwordField": {},
                        "pickerField": {
                          "appUserPicker": {
                            "appId": "<string>"
                          },
                          "resourcePicker": {
                            "appId": "<string>",
                            "resourceTypeId": "<string>"
                          }
                        },
                        "placeholder": "<string>",
                        "rules": {
                          "address": true,
                          "const": "<string>",
                          "contains": "<string>",
                          "email": true,
                          "hostname": true,
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "ip": true,
                          "ipv4": true,
                          "ipv6": true,
                          "len": "<string>",
                          "lenBytes": "<string>",
                          "maxBytes": "<string>",
                          "maxLen": "<string>",
                          "minBytes": "<string>",
                          "minLen": "<string>",
                          "notContains": "<string>",
                          "notIn": [
                            "<string>"
                          ],
                          "pattern": "<string>",
                          "prefix": "<string>",
                          "strict": true,
                          "suffix": "<string>",
                          "uri": true,
                          "uriRef": true,
                          "uuid": true,
                          "wellKnownRegex": "UNKNOWN"
                        },
                        "selectField": {
                          "options": [
                            {
                              "description": "<string>",
                              "displayName": "<string>",
                              "value": "<string>"
                            }
                          ],
                          "type": "SELECT_TYPE_UNSPECIFIED"
                        },
                        "textField": {
                          "multiline": true
                        }
                      },
                      "stringSliceField": {
                        "chipsField": {},
                        "defaultValues": [
                          "<string>"
                        ],
                        "pickerField": {
                          "appUserPicker": {
                            "appId": "<string>"
                          },
                          "resourcePicker": {
                            "appId": "<string>",
                            "resourceTypeId": "<string>"
                          }
                        },
                        "placeholder": "<string>",
                        "rules": {
                          "ignoreEmpty": true,
                          "items": {
                            "any": {
                              "in": [
                                "<string>"
                              ],
                              "notIn": [
                                "<string>"
                              ],
                              "required": true
                            },
                            "bool": {
                              "const": true
                            },
                            "bytes": {
                              "const": "aSDinaTvuI8gbWludGxpZnk=",
                              "contains": "aSDinaTvuI8gbWludGxpZnk=",
                              "ignoreEmpty": true,
                              "in": [
                                "aSDinaTvuI8gbWludGxpZnk="
                              ],
                              "ip": true,
                              "ipv4": true,
                              "ipv6": true,
                              "len": "<string>",
                              "maxLen": "<string>",
                              "minLen": "<string>",
                              "notIn": [
                                "aSDinaTvuI8gbWludGxpZnk="
                              ],
                              "pattern": "<string>",
                              "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                              "suffix": "aSDinaTvuI8gbWludGxpZnk="
                            },
                            "double": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "duration": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ],
                              "required": true
                            },
                            "enum": {
                              "const": 123,
                              "definedOnly": true,
                              "in": [
                                123
                              ],
                              "notIn": [
                                123
                              ]
                            },
                            "fixed32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "fixed64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "float": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "int32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "int64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "map": {
                              "ignoreEmpty": true,
                              "keys": "<unknown>",
                              "maxPairs": "<string>",
                              "minPairs": "<string>",
                              "noSparse": true,
                              "values": "<unknown>"
                            },
                            "message": {
                              "required": true,
                              "skip": true
                            },
                            "repeated": "<unknown>",
                            "sfixed32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "sfixed64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "sint32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "sint64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "string": {
                              "address": true,
                              "const": "<string>",
                              "contains": "<string>",
                              "email": true,
                              "hostname": true,
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "ip": true,
                              "ipv4": true,
                              "ipv6": true,
                              "len": "<string>",
                              "lenBytes": "<string>",
                              "maxBytes": "<string>",
                              "maxLen": "<string>",
                              "minBytes": "<string>",
                              "minLen": "<string>",
                              "notContains": "<string>",
                              "notIn": [
                                "<string>"
                              ],
                              "pattern": "<string>",
                              "prefix": "<string>",
                              "strict": true,
                              "suffix": "<string>",
                              "uri": true,
                              "uriRef": true,
                              "uuid": true,
                              "wellKnownRegex": "UNKNOWN"
                            },
                            "timestamp": {
                              "const": "2023-11-07T05:31:56Z",
                              "gt": "2023-11-07T05:31:56Z",
                              "gtNow": true,
                              "gte": "2023-11-07T05:31:56Z",
                              "lt": "2023-11-07T05:31:56Z",
                              "ltNow": true,
                              "lte": "2023-11-07T05:31:56Z",
                              "required": true,
                              "within": "<string>"
                            },
                            "uint32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "uint64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            }
                          },
                          "maxItems": "<string>",
                          "minItems": "<string>",
                          "unique": true
                        }
                      },
                      "userConfig": {
                        "inputTransformationCel": "<string>"
                      }
                    }
                  ],
                  "id": "<string>"
                },
                "reassigned": {
                  "newPolicyStepId": "<string>",
                  "reassignedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "restarted": {
                  "oldPolicyStepId": "<string>",
                  "restartedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "skipped": {
                  "newPolicyStepId": "<string>",
                  "skippedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "state": "FORM_INSTANCE_STATE_UNSPECIFIED"
              },
              "id": "<string>",
              "policyGenerationId": "<string>",
              "provision": {
                "batonActionInvocationId": "<string>",
                "cancelled": {
                  "cancelledAt": "2023-11-07T05:31:56Z",
                  "cancelledByUserId": "<string>"
                },
                "completed": {
                  "completedAt": "2023-11-07T05:31:56Z",
                  "entitlements": [
                    {
                      "appEntitlementId": "<string>",
                      "appId": "<string>"
                    }
                  ],
                  "userId": "<string>"
                },
                "errored": {
                  "description": "<string>",
                  "errorCode": "<string>",
                  "erroredAt": "2023-11-07T05:31:56Z"
                },
                "externalTicketId": "<string>",
                "externalTicketProvisionerConfigId": "<string>",
                "notificationId": "<string>",
                "provision": {
                  "assigned": true,
                  "provisionPolicy": {
                    "action": {
                      "actionName": "<string>",
                      "appId": "<string>",
                      "connectorId": "<string>",
                      "displayName": "<string>"
                    },
                    "connector": {
                      "account": {
                        "config": {},
                        "connectorId": "<string>",
                        "doNotSave": {},
                        "saveToVault": {
                          "vaultIds": [
                            "<string>"
                          ]
                        },
                        "schemaId": "<string>"
                      },
                      "defaultBehavior": {
                        "connectorId": "<string>"
                      },
                      "deleteAccount": {
                        "connectorId": "<string>"
                      }
                    },
                    "delegated": {
                      "appId": "<string>",
                      "entitlementId": "<string>",
                      "implicit": true
                    },
                    "externalTicket": {
                      "appId": "<string>",
                      "connectorId": "<string>",
                      "externalTicketProvisionerConfigId": "<string>",
                      "instructions": "<string>"
                    },
                    "manual": {
                      "instructions": "<string>",
                      "userIds": [
                        "<string>"
                      ]
                    },
                    "multiStep": {
                      "provisionSteps": "<array>"
                    },
                    "unconfigured": {},
                    "webhook": {
                      "webhookId": "<string>"
                    }
                  },
                  "provisionTarget": {
                    "appEntitlementId": "<string>",
                    "appId": "<string>",
                    "appUserId": "<string>",
                    "grantDuration": "<string>"
                  }
                },
                "reassignedByError": {
                  "description": "<string>",
                  "errorCode": "<string>",
                  "errorUserId": "<string>",
                  "erroredAt": "2023-11-07T05:31:56Z",
                  "newPolicyStepId": "<string>",
                  "reassignedAt": "2023-11-07T05:31:56Z"
                },
                "skipped": {
                  "newPolicyStepId": "<string>",
                  "skippedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "state": "PROVISION_INSTANCE_STATE_UNSPECIFIED",
                "webhookId": "<string>",
                "webhookInstanceId": "<string>"
              },
              "reject": {
                "rejectMessage": "<string>"
              },
              "state": "POLICY_STEP_STATE_UNSPECIFIED",
              "wait": {
                "commentOnFirstWait": "<string>",
                "commentOnTimeout": "<string>",
                "condition": {
                  "condition": "<string>"
                },
                "name": "<string>",
                "skipped": {
                  "newPolicyStepId": "<string>",
                  "skippedAt": "2023-11-07T05:31:56Z",
                  "userId": "<string>"
                },
                "startedWaitingAt": "2023-11-07T05:31:56Z",
                "state": "WAIT_INSTANCE_STATE_UNSPECIFIED",
                "succeeded": {
                  "succeededAt": "2023-11-07T05:31:56Z"
                },
                "timedOut": {
                  "timedOutAt": "2023-11-07T05:31:56Z"
                },
                "timeout": "2023-11-07T05:31:56Z",
                "timeoutDuration": "<string>",
                "untilTime": {
                  "durationIfExists": "<string>",
                  "untilTime": "2023-11-07T05:31:56Z"
                }
              }
            }
          ],
          "next": [
            {
              "accept": {
                "acceptMessage": "<string>"
              },
              "action": {
                "automation": {
                  "automationTemplateId": "<string>"
                }
              },
              "approval": {
                "agent": {
                  "agentFailureAction": "APPROVAL_AGENT_FAILURE_ACTION_UNSPECIFIED",
                  "agentMode": "APPROVAL_AGENT_MODE_UNSPECIFIED",
                  "agentUserId": "<string>",
                  "instructions": "<string>",
                  "policyIds": [
                    "<string>"
                  ],
                  "reassignToUserIds": [
                    "<string>"
                  ]
                },
                "allowDelegation": true,
                "allowReassignment": true,
                "allowedReassignees": [
                  "<string>"
                ],
                "appOwners": {
                  "allowSelfApproval": true,
                  "requireDistinctApprovers": true
                },
                "assigned": true,
                "entitlementOwners": {
                  "allowSelfApproval": true,
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "escalation": {
                  "cancelTicket": {},
                  "escalationComment": "<string>",
                  "expiration": "<string>",
                  "reassignToApprovers": {
                    "approverIds": [
                      "<string>"
                    ]
                  },
                  "replacePolicy": {
                    "policyId": "<string>"
                  },
                  "skipStep": {}
                },
                "escalationEnabled": true,
                "expression": {
                  "allowSelfApproval": true,
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "expressions": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "group": {
                  "allowSelfApproval": true,
                  "appGroupId": "<string>",
                  "appId": "<string>",
                  "fallback": true,
                  "fallbackGroupIds": [
                    {
                      "appEntitlementId": "<string>",
                      "appId": "<string>"
                    }
                  ],
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "isGroupFallbackEnabled": true,
                  "requireDistinctApprovers": true
                },
                "manager": {
                  "allowSelfApproval": true,
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "requireApprovalReason": true,
                "requireDenialReason": true,
                "requireReassignmentReason": true,
                "requiresStepUpProviderId": "<string>",
                "resourceOwners": {
                  "allowSelfApproval": true,
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "requireDistinctApprovers": true
                },
                "self": {
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ]
                },
                "users": {
                  "allowSelfApproval": true,
                  "requireDistinctApprovers": true,
                  "userIds": [
                    "<string>"
                  ]
                },
                "webhook": {
                  "webhookId": "<string>"
                }
              },
              "form": {
                "form": {
                  "description": "<string>",
                  "displayName": "<string>",
                  "fieldGroups": [
                    {
                      "default": true,
                      "displayName": "<string>",
                      "fields": [
                        "<string>"
                      ],
                      "helpText": "<string>",
                      "name": "<string>"
                    }
                  ],
                  "fieldRelationships": [
                    {
                      "atLeastOne": {},
                      "fieldNames": [
                        "<string>"
                      ],
                      "mutuallyExclusive": {},
                      "requiredTogether": {}
                    }
                  ],
                  "fields": [
                    {
                      "adminConfig": {
                        "defaultValueCel": "<string>",
                        "showToUser": true
                      },
                      "boolField": {
                        "checkboxField": {},
                        "defaultValue": true,
                        "rules": {
                          "const": true
                        },
                        "toggleField": {}
                      },
                      "description": "<string>",
                      "displayName": "<string>",
                      "fileField": {
                        "acceptedFileTypes": [
                          "<string>"
                        ],
                        "fileInputField": {},
                        "maxFileSize": "<string>"
                      },
                      "int64Field": {
                        "defaultValue": "<string>",
                        "numberField": {
                          "maxValue": "<string>",
                          "minValue": "<string>",
                          "step": "<string>"
                        },
                        "placeholder": "<string>",
                        "rules": {
                          "const": "<string>",
                          "gt": "<string>",
                          "gte": "<string>",
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "lt": "<string>",
                          "lte": "<string>",
                          "notIn": [
                            "<string>"
                          ]
                        }
                      },
                      "name": "<string>",
                      "oauth2Field": {
                        "oauth2FieldView": {}
                      },
                      "sharedConfig": {
                        "defaultValueCel": "<string>",
                        "inputTransformationCel": "<string>",
                        "lockDefaultValues": true
                      },
                      "stringField": {
                        "defaultValue": "<string>",
                        "passwordField": {},
                        "pickerField": {
                          "appUserPicker": {
                            "appId": "<string>"
                          },
                          "resourcePicker": {
                            "appId": "<string>",
                            "resourceTypeId": "<string>"
                          }
                        },
                        "placeholder": "<string>",
                        "rules": {
                          "address": true,
                          "const": "<string>",
                          "contains": "<string>",
                          "email": true,
                          "hostname": true,
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "ip": true,
                          "ipv4": true,
                          "ipv6": true,
                          "len": "<string>",
                          "lenBytes": "<string>",
                          "maxBytes": "<string>",
                          "maxLen": "<string>",
                          "minBytes": "<string>",
                          "minLen": "<string>",
                          "notContains": "<string>",
                          "notIn": [
                            "<string>"
                          ],
                          "pattern": "<string>",
                          "prefix": "<string>",
                          "strict": true,
                          "suffix": "<string>",
                          "uri": true,
                          "uriRef": true,
                          "uuid": true,
                          "wellKnownRegex": "UNKNOWN"
                        },
                        "selectField": {
                          "options": [
                            {
                              "description": "<string>",
                              "displayName": "<string>",
                              "value": "<string>"
                            }
                          ],
                          "type": "SELECT_TYPE_UNSPECIFIED"
                        },
                        "textField": {
                          "multiline": true
                        }
                      },
                      "stringSliceField": {
                        "chipsField": {},
                        "defaultValues": [
                          "<string>"
                        ],
                        "pickerField": {
                          "appUserPicker": {
                            "appId": "<string>"
                          },
                          "resourcePicker": {
                            "appId": "<string>",
                            "resourceTypeId": "<string>"
                          }
                        },
                        "placeholder": "<string>",
                        "rules": {
                          "ignoreEmpty": true,
                          "items": {
                            "any": {
                              "in": [
                                "<string>"
                              ],
                              "notIn": [
                                "<string>"
                              ],
                              "required": true
                            },
                            "bool": {
                              "const": true
                            },
                            "bytes": {
                              "const": "aSDinaTvuI8gbWludGxpZnk=",
                              "contains": "aSDinaTvuI8gbWludGxpZnk=",
                              "ignoreEmpty": true,
                              "in": [
                                "aSDinaTvuI8gbWludGxpZnk="
                              ],
                              "ip": true,
                              "ipv4": true,
                              "ipv6": true,
                              "len": "<string>",
                              "maxLen": "<string>",
                              "minLen": "<string>",
                              "notIn": [
                                "aSDinaTvuI8gbWludGxpZnk="
                              ],
                              "pattern": "<string>",
                              "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                              "suffix": "aSDinaTvuI8gbWludGxpZnk="
                            },
                            "double": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "duration": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ],
                              "required": true
                            },
                            "enum": {
                              "const": 123,
                              "definedOnly": true,
                              "in": [
                                123
                              ],
                              "notIn": [
                                123
                              ]
                            },
                            "fixed32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "fixed64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "float": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "int32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "int64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "map": {
                              "ignoreEmpty": true,
                              "keys": "<unknown>",
                              "maxPairs": "<string>",
                              "minPairs": "<string>",
                              "noSparse": true,
                              "values": "<unknown>"
                            },
                            "message": {
                              "required": true,
                              "skip": true
                            },
                            "repeated": "<unknown>",
                            "sfixed32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "sfixed64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "sint32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "sint64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            },
                            "string": {
                              "address": true,
                              "const": "<string>",
                              "contains": "<string>",
                              "email": true,
                              "hostname": true,
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "ip": true,
                              "ipv4": true,
                              "ipv6": true,
                              "len": "<string>",
                              "lenBytes": "<string>",
                              "maxBytes": "<string>",
                              "maxLen": "<string>",
                              "minBytes": "<string>",
                              "minLen": "<string>",
                              "notContains": "<string>",
                              "notIn": [
                                "<string>"
                              ],
                              "pattern": "<string>",
                              "prefix": "<string>",
                              "strict": true,
                              "suffix": "<string>",
                              "uri": true,
                              "uriRef": true,
                              "uuid": true,
                              "wellKnownRegex": "UNKNOWN"
                            },
                            "timestamp": {
                              "const": "2023-11-07T05:31:56Z",
                              "gt": "2023-11-07T05:31:56Z",
                              "gtNow": true,
                              "gte": "2023-11-07T05:31:56Z",
                              "lt": "2023-11-07T05:31:56Z",
                              "ltNow": true,
                              "lte": "2023-11-07T05:31:56Z",
                              "required": true,
                              "within": "<string>"
                            },
                            "uint32": {
                              "const": 123,
                              "gt": 123,
                              "gte": 123,
                              "ignoreEmpty": true,
                              "in": [
                                123
                              ],
                              "lt": 123,
                              "lte": 123,
                              "notIn": [
                                123
                              ]
                            },
                            "uint64": {
                              "const": "<string>",
                              "gt": "<string>",
                              "gte": "<string>",
                              "ignoreEmpty": true,
                              "in": [
                                "<string>"
                              ],
                              "lt": "<string>",
                              "lte": "<string>",
                              "notIn": [
                                "<string>"
                              ]
                            }
                          },
                          "maxItems": "<string>",
                          "minItems": "<string>",
                          "unique": true
                        }
                      },
                      "userConfig": {
                        "inputTransformationCel": "<string>"
                      }
                    }
                  ],
                  "id": "<string>"
                }
              },
              "provision": {
                "assigned": true,
                "provisionPolicy": {
                  "action": {
                    "actionName": "<string>",
                    "appId": "<string>",
                    "connectorId": "<string>",
                    "displayName": "<string>"
                  },
                  "connector": {
                    "account": {
                      "config": {},
                      "connectorId": "<string>",
                      "doNotSave": {},
                      "saveToVault": {
                        "vaultIds": [
                          "<string>"
                        ]
                      },
                      "schemaId": "<string>"
                    },
                    "defaultBehavior": {
                      "connectorId": "<string>"
                    },
                    "deleteAccount": {
                      "connectorId": "<string>"
                    }
                  },
                  "delegated": {
                    "appId": "<string>",
                    "entitlementId": "<string>",
                    "implicit": true
                  },
                  "externalTicket": {
                    "appId": "<string>",
                    "connectorId": "<string>",
                    "externalTicketProvisionerConfigId": "<string>",
                    "instructions": "<string>"
                  },
                  "manual": {
                    "instructions": "<string>",
                    "userIds": [
                      "<string>"
                    ]
                  },
                  "multiStep": {
                    "provisionSteps": "<array>"
                  },
                  "unconfigured": {},
                  "webhook": {
                    "webhookId": "<string>"
                  }
                },
                "provisionTarget": {
                  "appEntitlementId": "<string>",
                  "appId": "<string>",
                  "appUserId": "<string>",
                  "grantDuration": "<string>"
                }
              },
              "reject": {
                "rejectMessage": "<string>"
              },
              "wait": {
                "commentOnFirstWait": "<string>",
                "commentOnTimeout": "<string>",
                "condition": {
                  "condition": "<string>"
                },
                "duration": {
                  "duration": "<string>"
                },
                "name": "<string>",
                "timeoutDuration": "<string>",
                "untilTime": {
                  "hours": 123,
                  "minutes": 123,
                  "timezone": "<string>"
                }
              }
            }
          ],
          "policy": {
            "createdAt": "2023-11-07T05:31:56Z",
            "deletedAt": "2023-11-07T05:31:56Z",
            "description": "<string>",
            "displayName": "<string>",
            "id": "<string>",
            "policySteps": {},
            "policyType": "POLICY_TYPE_UNSPECIFIED",
            "postActions": [
              {
                "certifyRemediateImmediately": true
              }
            ],
            "reassignTasksToDelegates": true,
            "rules": [
              {
                "condition": "<string>",
                "policyKey": "<string>"
              }
            ],
            "systemBuiltin": true,
            "updatedAt": "2023-11-07T05:31:56Z"
          }
        },
        "policyGenerationId": "<string>",
        "processing": "TASK_PROCESSING_TYPE_UNSPECIFIED",
        "recommendation": "INSIGHT_RECOMMENDATION_UNSPECIFIED",
        "state": "TASK_STATE_UNSPECIFIED",
        "stepApproverIds": [
          "<string>"
        ],
        "type": {
          "action": {
            "actionId": "<string>",
            "formValues": {},
            "outcome": "ACTION_OUTCOME_UNSPECIFIED",
            "outcomeTime": "2023-11-07T05:31:56Z"
          },
          "certify": {
            "accessReviewId": "<string>",
            "accessReviewSelection": "<string>",
            "appEntitlementId": "<string>",
            "appId": "<string>",
            "appUserId": "<string>",
            "identityUserId": "<string>",
            "outcome": "CERTIFY_OUTCOME_UNSPECIFIED",
            "outcomeTime": "2023-11-07T05:31:56Z"
          },
          "grant": {
            "appEntitlementId": "<string>",
            "appId": "<string>",
            "appUserId": "<string>",
            "grantDuration": "<string>",
            "identityUserId": "<string>",
            "outcome": "GRANT_OUTCOME_UNSPECIFIED",
            "outcomeTime": "2023-11-07T05:31:56Z",
            "source": {
              "conversationId": "<string>",
              "externalUrl": "<string>",
              "integrationId": "<string>",
              "requestId": "<string>"
            }
          },
          "offboarding": {
            "outcome": "OFFBOARDING_OUTCOME_UNSPECIFIED",
            "outcomeTime": "2023-11-07T05:31:56Z",
            "subjectUserId": "<string>"
          },
          "revoke": {
            "appEntitlementId": "<string>",
            "appId": "<string>",
            "appUserId": "<string>",
            "identityUserId": "<string>",
            "outcome": "REVOKE_OUTCOME_UNSPECIFIED",
            "outcomeTime": "2023-11-07T05:31:56Z",
            "source": {
              "expired": {
                "expiredAt": "2023-11-07T05:31:56Z"
              },
              "nonUsage": {
                "expiresAt": "2023-11-07T05:31:56Z",
                "lastLogin": "2023-11-07T05:31:56Z"
              },
              "request": {
                "requestUserId": "<string>"
              },
              "review": {
                "accessReviewId": "<string>",
                "certTicketId": "<string>"
              }
            }
          }
        },
        "updatedAt": "2023-11-07T05:31:56Z",
        "userId": "<string>"
      },
      "userPath": "<string>"
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

Search for tasks based on a plethora filters.

accessReviewIds
string[] | null

Search tasks that belong to any of the access reviews included in this list.

accountOwnerIds
string[] | null

Search tasks that have any of these account owners.

accountTypes
enum<string>[] | null

The accountTypes field.

Available options:
APP_USER_TYPE_UNSPECIFIED,
APP_USER_TYPE_USER,
APP_USER_TYPE_SERVICE_ACCOUNT,
APP_USER_TYPE_SYSTEM_ACCOUNT
actorId
string

Search tasks that have this actor ID.

appEntitlementIds
string[] | null

Search tasks that have any of these app entitlement IDs.

appResourceIds
string[] | null

Search tasks that have any of these app resource IDs.

appResourceTypeIds
string[] | null

Search tasks that have any of these app resource type IDs.

appUserSubjectIds
string[] | null

Search tasks that have any of these app users as subjects.

applicationIds
string[] | null

Search tasks that have any of these apps as targets.

assignedOrStepApproverUserId
string

Search tasks that are currently assigned to this user, or that are closed and were previously approved by this user.

assigneesInIds
string[] | null

Search tasks by List of UserIDs which are currently assigned these Tasks

certifyOutcomes
enum<string>[] | null

Search tasks by certify outcome

Available options:
CERTIFY_OUTCOME_UNSPECIFIED,
CERTIFY_OUTCOME_CERTIFIED,
CERTIFY_OUTCOME_DECERTIFIED,
CERTIFY_OUTCOME_ERROR,
CERTIFY_OUTCOME_CANCELLED,
CERTIFY_OUTCOME_WAIT_TIMED_OUT
createdAfter
string<date-time>
createdBefore
string<date-time>
currentStep
enum<string>

Search tasks that have this type of step as the current step.

Available options:
TASK_SEARCH_CURRENT_STEP_UNSPECIFIED,
TASK_SEARCH_CURRENT_STEP_APPROVAL,
TASK_SEARCH_CURRENT_STEP_PROVISION
emergencyStatus
enum<string>

Search tasks that are or are not emergency access.

Available options:
UNSPECIFIED,
ALL,
NON_EMERGENCY,
EMERGENCY
excludeAppEntitlementIds
string[] | null

Search tasks that do not have any of these app entitlement IDs.

excludeAppResourceTypeIds
string[] | null

Search tasks that do not have any of these app resource type IDs.

excludeIds
string[] | null

Exclude Specific TaskIDs from this serach result.

expandMask
Task Expand Mask · object

The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.

grantOutcomes
enum<string>[] | null

Search tasks by grant outcome

Available options:
GRANT_OUTCOME_UNSPECIFIED,
GRANT_OUTCOME_GRANTED,
GRANT_OUTCOME_DENIED,
GRANT_OUTCOME_ERROR,
GRANT_OUTCOME_CANCELLED,
GRANT_OUTCOME_WAIT_TIMED_OUT
includeActedAfter
string<date-time>
includeDeleted
boolean

Whether or not to include deleted tasks.

myWorkUserIds
string[] | null

Search tasks where the user would see this task in the My Work section

olderThanDuration
string<duration>
openerIds
string[] | null

Search tasks that were created by any of the users in this array.

openerOrSubjectUserId
string

Search tasks that were opened by this user, or that the user is the subject of.

outcomeAfter
string<date-time>
outcomeBefore
string<date-time>
pageSize
integer<int32>

The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)

pageToken
string

The pageToken field.

previouslyActedOnIds
string[] | null

Search tasks that were acted on by any of these users.

query
string

Fuzzy search tasks by display name, description, or ID.

refs
Task Ref · object[] | null

Query tasks by display name, description, or numeric ID.

revokeOutcomes
enum<string>[] | null

Search tasks by revoke outcome

Available options:
REVOKE_OUTCOME_UNSPECIFIED,
REVOKE_OUTCOME_REVOKED,
REVOKE_OUTCOME_DENIED,
REVOKE_OUTCOME_ERROR,
REVOKE_OUTCOME_CANCELLED,
REVOKE_OUTCOME_WAIT_TIMED_OUT
sortBy
enum<string>

Sort tasks in a specific order.

Available options:
TASK_SEARCH_SORT_BY_UNSPECIFIED,
TASK_SEARCH_SORT_BY_ACCOUNT,
TASK_SEARCH_SORT_BY_RESOURCE,
TASK_SEARCH_SORT_BY_ACCOUNT_OWNER,
TASK_SEARCH_SORT_BY_REVERSE_TICKET_ID,
TASK_SEARCH_SORT_BY_TICKET_ID,
TASK_SEARCH_SORT_BY_CREATED_AT,
TASK_SEARCH_SORT_BY_REVERSE_CREATED_AT,
TASK_SEARCH_SORT_BY_APP_RESOURCE_ID_AND_APP_ENTITLEMENT
stepApprovalTypes
enum<string>[] | null

Search tasks that have a current policy step of this type

Available options:
STEP_APPROVAL_TYPE_UNSPECIFIED,
STEP_APPROVAL_TYPE_USERS,
STEP_APPROVAL_TYPE_MANAGER,
STEP_APPROVAL_TYPE_APP_OWNERS,
STEP_APPROVAL_TYPE_GROUP,
STEP_APPROVAL_TYPE_SELF,
STEP_APPROVAL_TYPE_ENTITLEMENT_OWNERS,
STEP_APPROVAL_TYPE_EXPRESSION,
STEP_APPROVAL_TYPE_WEBHOOK,
STEP_APPROVAL_TYPE_RESOURCE_OWNERS,
STEP_APPROVAL_TYPE_AGENT
subjectIds
string[] | null

Search tasks where these users are the subject.

taskStates
enum<string>[] | null

Search tasks with this task state.

Available options:
TASK_STATE_UNSPECIFIED,
TASK_STATE_OPEN,
TASK_STATE_CLOSED
taskTypes
Task Type · object[] | null

Search tasks with this task type. This is a oneOf, and needs an object, which can be empty, to sort.

userEmploymentStatuses
string[] | null

The userEmploymentStatuses field.

Response

200 - application/json

The TaskSearchResponse message contains a list of results and a nextPageToken if applicable.

The TaskSearchResponse message contains a list of results and a nextPageToken if applicable.

expanded
object[] | null

The list of results containing up to X results, where X is the page size defined in the request.

list
Task View · object[] | null

List of serialized related objects.

nextPageToken
string

The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.