Skip to content
  • Auto
  • Light
  • Dark
Get Started

Tasks

Tasks

Tasks

Get
get/api/v1/tasks/{id}
Create Grant Task
post/api/v1/task/grant
Create Offboarding Task
post/api/v1/task/offboarding
Create Revoke Task
post/api/v1/task/revoke
List
post/api/v1/task/audits
App Entitlement Reference
AppEntitlementReferenceobject

This object references an app entitlement's ID and AppID.

ShowShow
appEntitlementIdstring
optional

The ID of the Entitlement.

appIdstring
optional

The ID of the App this entitlement belongs to.

Approval
Approvalobject

The Approval message.

This message contains a oneof named typ. Only a single field of the following list may be set at a time:

  • users
  • manager
  • appOwners
  • group
  • self
  • entitlementOwners
  • expression
  • webhook
  • resourceOwners
  • agent
ShowShow
agentobject
optional

The agent to assign the task to.

Hide ParametersShow Parameters
agentModeenum
optional
"APPROVAL_AGENT_MODE_UNSPECIFIED" OR "APPROVAL_AGENT_MODE_FULL_CONTROL" OR "APPROVAL_AGENT_MODE_CHANGE_POLICY_ONLY" OR "APPROVAL_AGENT_MODE_COMMENT_ONLY"

The mode of the agent, full control, change policy only, or comment only.

Hide ParametersShow Parameters
"APPROVAL_AGENT_MODE_UNSPECIFIED"
"APPROVAL_AGENT_MODE_FULL_CONTROL"
"APPROVAL_AGENT_MODE_CHANGE_POLICY_ONLY"
"APPROVAL_AGENT_MODE_COMMENT_ONLY"
agentUserIdstring
optional

The agent user ID to assign the task to.

instructionsstring
optional

Instructions for the agent.

policyIdsarray of string
optional

The allow list of policy IDs to re-route the task to.

allowedReassigneesarray of string
optional

List of users for whom this step can be reassigned.

allowReassignmentboolean
optional

Configuration to allow reassignment by reviewers during this step.

appOwnersobject
optional

App owner approval provides the configuration for an approval step when the app owner is the target.

Hide ParametersShow Parameters
allowSelfApprovalboolean
optional

Configuration that allows a user to self approve if they are an app owner during this approval step.

assignedboolean
optional

A field indicating whether this step is assigned.

entitlementOwnersobject
optional

The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners.

Hide ParametersShow Parameters
allowSelfApprovalboolean
optional

Configuration to allow self approval if the target user is an entitlement owner during this step.

fallbackboolean
optional

Configuration to allow a fallback if the entitlement owner cannot be identified.

fallbackUserIdsarray of string
optional

Configuration to specific which users to fallback to if fallback is enabled and the entitlement owner cannot be identified.

escalationobject
optional

The Escalation message.

This message contains a oneof named escalation_policy. Only a single field of the following list may be set at a time:

  • replacePolicy
  • reassignToApprovers
Hide ParametersShow Parameters
escalationCommentstring
optional

The escalationComment field.

expirationstring
optional

The expiration field.

formatint64
reassignToApproversobject
optional

The ReassignToApprovers message.

Hide ParametersShow Parameters
approverIdsarray of string
optional

The approverIds field.

replacePolicyobject
optional

The ReplacePolicy message.

Hide ParametersShow Parameters
policyIdstring
optional

The policyId field.

escalationEnabledboolean
optional

Whether escalation is enabled for this step.

expressionobject
optional

The ExpressionApproval message.

Hide ParametersShow Parameters
allowSelfApprovalboolean
optional

Configuration to allow self approval of if the user is specified and also the target of the ticket.

assignedUserIdsarray of string
optional

The assignedUserIds field.

expressionsarray of string
optional

Array of dynamic expressions to determine the approvers. The first expression to return a non-empty list of users will be used.

fallbackboolean
optional

Configuration to allow a fallback if the expression does not return a valid list of users.

fallbackUserIdsarray of string
optional

Configuration to specific which users to fallback to if and the expression does not return a valid list of users.

groupobject
optional

The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step.

Hide ParametersShow Parameters
allowSelfApprovalboolean
optional

Configuration to allow self approval if the target user is a member of the group during this step.

appGroupIdstring
optional

The ID of the group specified for approval.

appIdstring
optional

The ID of the app that contains the group specified for approval.

fallbackboolean
optional

Configuration to allow a fallback if the group is empty.

fallbackUserIdsarray of string
optional

Configuration to specific which users to fallback to if fallback is enabled and the group is empty.

managerobject
optional

The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task.

Hide ParametersShow Parameters
allowSelfApprovalboolean
optional

Configuration to allow self approval if the target user is their own manager. This may occur if a service account has an identity user and manager specified as the same person.

assignedUserIdsarray of string
optional

The array of users determined to be the manager during processing time.

fallbackboolean
optional

Configuration to allow a fallback if no manager is found.

fallbackUserIdsarray of string
optional

Configuration to specific which users to fallback to if fallback is enabled and no manager is found.

requireApprovalReasonboolean
optional

Configuration to require a reason when approving this step.

requireDenialReasonboolean
optional

Configuration to require a reason when denying this step.

requireReassignmentReasonboolean
optional

Configuration to require a reason when reassigning this step.

requiresStepUpProviderIdstring
optional

The ID of a step-up authentication provider that will be required for approvals on this step. If set, approvers must complete the step-up authentication flow before they can approve.

resourceOwnersobject
optional

The resource owner approval allows configuration of the approval step when the target approvers are the resource owners.

Hide ParametersShow Parameters
allowSelfApprovalboolean
optional

Configuration to allow self approval if the target user is an resource owner during this step.

fallbackboolean
optional

Configuration to allow a fallback if the resource owner cannot be identified.

fallbackUserIdsarray of string
optional

Configuration to specific which users to fallback to if fallback is enabled and the resource owner cannot be identified.

selfobject
optional

The self approval object describes the configuration of a policy step that needs to be approved by the target of the request.

Hide ParametersShow Parameters
assignedUserIdsarray of string
optional

The array of users determined to be themselves during approval. This should only ever be one person, but is saved because it may change if the owner of an app user changes while the ticket is open.

fallbackboolean
optional

Configuration to allow a fallback if the identity user of the target app user cannot be determined.

fallbackUserIdsarray of string
optional

Configuration to specific which users to fallback to if fallback is enabled and the identity user of the target app user cannot be determined.

usersobject
optional

The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users.

Hide ParametersShow Parameters
allowSelfApprovalboolean
optional

Configuration to allow self approval of if the user is specified and also the target of the ticket.

userIdsarray of string
optional

Array of users configured for approval.

webhookobject
optional

The WebhookApproval message.

Hide ParametersShow Parameters
webhookIdstring
optional

The ID of the webhook to call for approval.

Approval Instance
ApprovalInstanceobject

The approval instance object describes the way a policy step should be approved as well as its outcomes and state.

This message contains a oneof named outcome. Only a single field of the following list may be set at a time:

  • approved
  • denied
  • reassigned
  • restarted
  • reassignedByError
  • skipped
ShowShow
approvalagentobjectallowedReassigneesarray of stringallowReassignmentbooleanappOwnersobjectassignedbooleanentitlementOwnersobjectescalationobjectescalationEnabledbooleanexpressionobjectgroupobjectmanagerobjectrequireApprovalReasonbooleanrequireDenialReasonbooleanrequireReassignmentReasonbooleanrequiresStepUpProviderIdstringresourceOwnersobjectselfobjectusersobjectwebhookobjectApproval
optional

The Approval message.

This message contains a oneof named typ. Only a single field of the following list may be set at a time:

  • users
  • manager
  • appOwners
  • group
  • self
  • entitlementOwners
  • expression
  • webhook
  • resourceOwners
  • agent
approvedobject
optional

The approved action indicates that the approvalinstance had an outcome of approved.

Hide ParametersShow Parameters
approvedAtstring
optional
formatdate-time
entitlementsarray of appEntitlementIdstringappIdstringAppEntitlementReference
optional

The entitlements that were approved. This will only ever be a list of one entitlement.

stepUpTransactionIdstring
optional

The ID of the step-up transaction that was used for this approval, if step-up was required.

userIdstring
optional

The UserID that approved this step.

deniedobject
optional

The denied action indicates that the c1.api.policy.v1.ApprovalInstance had an outcome of denied.

Hide ParametersShow Parameters
deniedAtstring
optional
formatdate-time
userIdstring
optional

The UserID that denied this step.

escalationInstanceobject
optional

The EscalationInstance message.

This message contains a oneof named escalation_policy. Only a single field of the following list may be set at a time:

  • replacePolicy
  • reassignToApprovers
Hide ParametersShow Parameters
alreadyEscalatedboolean
optional

The alreadyEscalated field.

escalationCommentstring
optional

The escalationComment field.

expiresAtstring
optional
formatdate-time
reassignToApproversobject
optional

The ReassignToApprovers message.

Hide ParametersShow Parameters
approverIdsarray of string
optional

The approverIds field.

replacePolicyobject
optional

The ReplacePolicy message.

Hide ParametersShow Parameters
policyIdstring
optional

The policyId field.

reassignedobject
optional

The ReassignedAction object describes the outcome of a policy step that has been reassigned.

Hide ParametersShow Parameters
newPolicyStepIdstring
optional

The ID of the policy step that was created as a result of this reassignment.

reassignedAtstring
optional
formatdate-time
userIdstring
optional

The UserID of the person who reassigned this step.

reassignedByErrordescriptionstringerrorCodestringerroredAtstringerrorUserIdstringnewPolicyStepIdstringreassignedAtstringReassignedByErrorAction
optional

The ReassignedByErrorAction object describes the outcome of a policy step that has been reassigned because it had an error provisioning.

restartedobject
optional

The restart action describes the outcome of policy steps for when the task was restarted. This can be applied to multiple steps since restart skips all pending next steps.

Hide ParametersShow Parameters
oldPolicyStepIdstring
optional

The step ID that was restarted. Potentially multiple "history" steps will reference this ID to indicate by what step they were restarted.

restartedAtstring
optional
formatdate-time
userIdstring
optional

The user that submitted the restart action.

skippednewPolicyStepIdstringskippedAtstringuserIdstringSkippedAction
optional

The SkippedAction object describes the outcome of a policy step that has been skipped.

stateenum
optional
"APPROVAL_INSTANCE_STATE_UNSPECIFIED" OR "APPROVAL_INSTANCE_STATE_INIT" OR "APPROVAL_INSTANCE_STATE_SENDING_NOTIFICATIONS" OR 2 more

The state of the approval instance

Hide ParametersShow Parameters
"APPROVAL_INSTANCE_STATE_UNSPECIFIED"
"APPROVAL_INSTANCE_STATE_INIT"
"APPROVAL_INSTANCE_STATE_SENDING_NOTIFICATIONS"
"APPROVAL_INSTANCE_STATE_WAITING"
"APPROVAL_INSTANCE_STATE_DONE"
Policy Step Instance
PolicyStepInstanceobject

The policy step instance includes a reference to an instance of a policy step that tracks state and has a unique ID.

This message contains a oneof named instance. Only a single field of the following list may be set at a time:

  • approval
  • provision
  • accept
  • reject
  • wait
ShowShow
idstring
optional

The ID of the PolicyStepInstance. This is required by many action submission endpoints to indicate what step you're approving.

acceptobject
optional

This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. The instance is just a marker for it being copied into an active policy.

Hide ParametersShow Parameters
acceptMessagestring
optional

An optional message to include in the comments when a task is automatically accepted.

approvalapprovalApprovalapprovedobjectdeniedobjectescalationInstanceobjectreassignedobjectreassignedByErrorReassignedByErrorActionrestartedobjectskippedSkippedActionstateenumApprovalInstance
optional

The approval instance object describes the way a policy step should be approved as well as its outcomes and state.

This message contains a oneof named outcome. Only a single field of the following list may be set at a time:

  • approved
  • denied
  • reassigned
  • restarted
  • reassignedByError
  • skipped
policyGenerationIdstring
optional

The policy generation id refers to the version of the policy that this step was created from.

provisionobject
optional

A provision instance describes the specific configuration of an executing provision policy step including actions taken and notification id.

This message contains a oneof named outcome. Only a single field of the following list may be set at a time:

  • completed
  • cancelled
  • errored
  • reassignedByError
  • skipped
Hide ParametersShow Parameters
cancelledobject
optional

The outcome of a provision instance that is cancelled.

Hide ParametersShow Parameters
cancelledAtstring
optional
formatdate-time
cancelledByUserIdstring
optional

The userID, usually the system, that cancells a provision instance.

completedobject
optional

The outcome of a provision instance that has been completed succesfully.

Hide ParametersShow Parameters
completedAtstring
optional
formatdate-time
entitlementsarray of appEntitlementIdstringappIdstringAppEntitlementReference
optional

The list of entitlements that were provisioned. This is leftover from an older design, and is only ever going to be a single entitlement.

userIdstring
optional

The UserID of who completed provisioning. For connector provisioning this is the system user id, for manual provisioning this is who clicked "provision complete"

erroredobject
optional

The outcome of a provision instance that has errored.

Hide ParametersShow Parameters
descriptionstring
optional

The description of a provision instance that has errored.

errorCodestring
optional

The error code of a provision instance that has errored. This is only PEC-1 for now, but more will be added in the future.

erroredAtstring
optional
formatdate-time
externalTicketIdstring
optional

This indicates the external ticket id for this step.

externalTicketProvisionerConfigIdstring
optional

This indicates the external ticket provisioner config id for this step.

notificationIdstring
optional

This indicates the notification id for this step.

provisionassignedbooleanprovisionPolicyC1APIPolicyV1ProvisionPolicyprovisionTargetobjectProvision
optional

The provision step references a provision policy for this step.

reassignedByErrordescriptionstringerrorCodestringerroredAtstringerrorUserIdstringnewPolicyStepIdstringreassignedAtstringReassignedByErrorAction
optional

The ReassignedByErrorAction object describes the outcome of a policy step that has been reassigned because it had an error provisioning.

skippednewPolicyStepIdstringskippedAtstringuserIdstringSkippedAction
optional

The SkippedAction object describes the outcome of a policy step that has been skipped.

stateenum
optional
"PROVISION_INSTANCE_STATE_UNSPECIFIED" OR "PROVISION_INSTANCE_STATE_INIT" OR "PROVISION_INSTANCE_STATE_CREATE_CONNECTOR_ACTIONS_FOR_TARGET" OR 7 more

This property indicates the current state of this step.

Hide ParametersShow Parameters
"PROVISION_INSTANCE_STATE_UNSPECIFIED"
"PROVISION_INSTANCE_STATE_INIT"
"PROVISION_INSTANCE_STATE_CREATE_CONNECTOR_ACTIONS_FOR_TARGET"
"PROVISION_INSTANCE_STATE_SENDING_NOTIFICATIONS"
"PROVISION_INSTANCE_STATE_WAITING"
"PROVISION_INSTANCE_STATE_WEBHOOK"
"PROVISION_INSTANCE_STATE_WEBHOOK_WAITING"
"PROVISION_INSTANCE_STATE_EXTERNAL_TICKET"
"PROVISION_INSTANCE_STATE_EXTERNAL_TICKET_WAITING"
"PROVISION_INSTANCE_STATE_DONE"
webhookIdstring
optional

This indicates the webhook id for this step.

webhookInstanceIdstring
optional

This indicates the webhook instance id for this step.

rejectobject
optional

This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. The instance is just a marker for it being copied into an active policy.

Hide ParametersShow Parameters
rejectMessagestring
optional

An optional message to include in the comments when a task is automatically rejected.

stateenum
optional
"POLICY_STEP_STATE_UNSPECIFIED" OR "POLICY_STEP_STATE_ACTIVE" OR "POLICY_STEP_STATE_DONE"

The state of the step, which is either active or done.

Hide ParametersShow Parameters
"POLICY_STEP_STATE_UNSPECIFIED"
"POLICY_STEP_STATE_ACTIVE"
"POLICY_STEP_STATE_DONE"
waitobject
optional

Used by the policy engine to describe an instantiated wait step.

This message contains a oneof named until. Only a single field of the following list may be set at a time:

  • condition

This message contains a oneof named outcome. Only a single field of the following list may be set at a time:

  • succeeded
  • timedOut
  • skipped
Hide ParametersShow Parameters
commentOnFirstWaitstring
optional

The comment to post on first failed check.

commentOnTimeoutstring
optional

The comment to post if we timeout.

conditionobject
optional

Used by the policy engine to describe an instantiated condition to wait on.

Hide ParametersShow Parameters
conditionstring
optional

The condition that has to be true for this wait condition instance to continue.

namestring
optional

The name field.

skippednewPolicyStepIdstringskippedAtstringuserIdstringSkippedAction
optional

The SkippedAction object describes the outcome of a policy step that has been skipped.

startedWaitingAtstring
optional
formatdate-time
stateenum
optional
"WAIT_INSTANCE_STATE_UNSPECIFIED" OR "WAIT_INSTANCE_STATE_WAITING" OR "WAIT_INSTANCE_STATE_COMPLETED" OR "WAIT_INSTANCE_STATE_TIMED_OUT"

The state field.

Hide ParametersShow Parameters
"WAIT_INSTANCE_STATE_UNSPECIFIED"
"WAIT_INSTANCE_STATE_WAITING"
"WAIT_INSTANCE_STATE_COMPLETED"
"WAIT_INSTANCE_STATE_TIMED_OUT"
succeededobject
optional

The ConditionSucceeded message.

Hide ParametersShow Parameters
succeededAtstring
optional
formatdate-time
timedOutobject
optional

The ConditionTimedOut message.

Hide ParametersShow Parameters
timedOutAtstring
optional
formatdate-time
timeoutstring
optional
formatdate-time
timeoutDurationstring
optional
formatduration
Provision
Provisionobject

The provision step references a provision policy for this step.

ShowShow
assignedboolean
optional

A field indicating whether this step is assigned.

provisionPolicyconnectorobjectdelegatedobjectexternalTicketobjectmanualobjectunconfiguredunknownwebhookobjectC1APIPolicyV1ProvisionPolicy
optional

ProvisionPolicy is a oneOf that indicates how a provision step should be processed.

This message contains a oneof named typ. Only a single field of the following list may be set at a time:

  • connector
  • manual
  • delegated
  • webhook
  • multiStep
  • externalTicket
  • unconfigured
provisionTargetobject
optional

ProvisionTarget indicates the specific app, app entitlement, and if known, the app user and grant duration of this provision step

Hide ParametersShow Parameters
appEntitlementIdstring
optional

The app entitlement that should be provisioned.

appIdstring
optional

The app in which the entitlement should be provisioned

appUserIdstring
optional

The app user that should be provisioned. May be unset if the app user is unknown

grantDurationstring
optional
formatduration
Reassigned By Error Action
ReassignedByErrorActionobject

The ReassignedByErrorAction object describes the outcome of a policy step that has been reassigned because it had an error provisioning.

ShowShow
descriptionstring
optional

The description of the error with more details on why this was reassigned.

errorCodestring
optional

Additional information about the error, like http status codes or error messages from SDKs.

erroredAtstring
optional
formatdate-time
errorUserIdstring
optional

The UserID of the user who reassigned this due to an error. This will exclusively be the System's UserID.

newPolicyStepIdstring
optional

The ID of the policy step that was created by this reassignment.

reassignedAtstring
optional
formatdate-time
Skipped Action
SkippedActionobject

The SkippedAction object describes the outcome of a policy step that has been skipped.

ShowShow
newPolicyStepIdstring
optional

The ID of the policy step that was created as a result of this skipping.

skippedAtstring
optional
formatdate-time
userIdstring
optional

The UserID of the user who skipped this step.

Task Grant Source
TaskGrantSourceobject

The TaskGrantSource message tracks which external URL was the source of the specificed grant ticket.

ShowShow
externalUrlstring
optional

The external url source of the grant ticket.

integrationIdstring
optional

The integration id for the source of tickets.

requestIdstring
optional

the request id for the grant ticket if the source is external

Task View
TaskViewobject

Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.

ShowShow
accessReviewPathstring
optional

JSONPATH expression indicating the location of the AccessReview object in the expanded array

appPathstring
optional

JSONPATH expression indicating the location of the App object in the expanded array

appUserPathstring
optional

JSONPATH expression indicating the location of the AppUser object in the expanded array

createdByUserPathstring
optional

JSONPATH expression indicating the location of the object of the User that created the ticket in the expanded array

entitlementsPathstring
optional

JSONPATH expression indicating the location of the Entitlements objects in the expanded array

identityUserPathstring
optional

JSONPATH expression indicating the location of the User object of the User that this task is targeting in the expanded array. This is the user that is the identity when the target of a task is an app user.

insightsPathstring
optional

JSONPATH expression indicating the location of the Insights objects in the expanded array

stepApproversPathstring
optional

JSONPATH expression indicating the location of the StepApproverUsers objects in the expanded array

taskobject
optional

A fully-fleged task object. Includes its policy, references to external apps, its type, its processing history, and more.

Hide ParametersShow Parameters
idstring
optional

The ID of the task.

actionsarray of enum
optional

The actions that can be performed on the task by the current user.

Hide ParametersShow Parameters
"TASK_ACTION_TYPE_UNSPECIFIED"
"TASK_ACTION_TYPE_CLOSE"
"TASK_ACTION_TYPE_APPROVE"
"TASK_ACTION_TYPE_DENY"
"TASK_ACTION_TYPE_COMMENT"
"TASK_ACTION_TYPE_DELETE"
"TASK_ACTION_TYPE_REASSIGN"
"TASK_ACTION_TYPE_RESTART"
"TASK_ACTION_TYPE_SEND_REMINDER"
"TASK_ACTION_TYPE_PROVISION_COMPLETE"
"TASK_ACTION_TYPE_PROVISION_CANCELLED"
"TASK_ACTION_TYPE_PROVISION_ERRORED"
"TASK_ACTION_TYPE_ROLLBACK_SKIPPED"
"TASK_ACTION_TYPE_PROVISION_APP_USER_TARGET_CREATED"
"TASK_ACTION_TYPE_HARD_RESET"
"TASK_ACTION_TYPE_ESCALATE_TO_EMERGENCY_ACCESS"
"TASK_ACTION_TYPE_CHANGE_POLICY"
"TASK_ACTION_TYPE_RECALCULATE_DENIAL_FROM_BASE_POLICY_DECISIONS"
"TASK_ACTION_TYPE_SET_INSIGHTS_AND_RECOMMENDATION"
"TASK_ACTION_TYPE_SET_ANALYSIS_ID"
"TASK_ACTION_TYPE_RECALCULATE_APPROVERS_LIST"
"TASK_ACTION_TYPE_PROCESS_NOW"
"TASK_ACTION_TYPE_APPROVE_WITH_STEP_UP"
"TASK_ACTION_TYPE_SKIP_STEP"
analysisIdstring
optional

The ID of the analysis object associated with this task created by an analysis workflow if the analysis feature is enabled for your tenant.

annotationsarray of object
optional

An array of google.protobuf.Any annotations with various base64-encoded data.

Hide ParametersShow Parameters
@typestring
optional

The type of the serialized message.

commentCountnumber
optional

The count of comments.

formatint32
createdAtstring
optional
formatdate-time
createdByUserIdstring
optional

The ID of the user that is the creator of this task. This may not always match the userId field.

deletedAtstring
optional
formatdate-time
descriptionstring
optional

The description of the task. This is also known as justification.

displayNamestring
optional

The display name of the task.

emergencyAccessboolean
optional

A field indicating whether this task was created using an emergency access flow, or escalated to emergency access. On task creation, it will also use the app entitlement's emergency policy when possible.

externalRefsarray of object
optional

An array of external references to the task. Historically that has been items like Jira task IDs. This is currently unused, but may come back in the future for integrations.

Hide ParametersShow Parameters
externalRefSourceenum
optional
"UNSPECIFIED" OR "JIRA"

The source of the external reference.

Hide ParametersShow Parameters
"UNSPECIFIED"
"JIRA"
namestring
optional

The name of the external reference.

urlstring
optional

The URL to the external reference.

insightIdsarray of string
optional

The insightIds field.

numericIdstring
optional

A human-usable numeric ID of a task which can be included in place of the fully qualified task id in path parmeters (but not search queries).

formatint64
originenum
optional
"TASK_ORIGIN_UNSPECIFIED" OR "TASK_ORIGIN_PROFILE_MEMBERSHIP_AUTOMATION" OR "TASK_ORIGIN_SLACK" OR 6 more

The origin field.

Hide ParametersShow Parameters
"TASK_ORIGIN_UNSPECIFIED"
"TASK_ORIGIN_PROFILE_MEMBERSHIP_AUTOMATION"
"TASK_ORIGIN_SLACK"
"TASK_ORIGIN_API"
"TASK_ORIGIN_JIRA"
"TASK_ORIGIN_COPILOT"
"TASK_ORIGIN_WEBAPP"
"TASK_ORIGIN_TIME_REVOKE"
"TASK_ORIGIN_NON_USAGE_REVOKE"
policyobject
optional

A policy instance is an object that contains a reference to the policy it was created from, the currently executing step, the next steps, and the history of previously completed steps.

Hide ParametersShow Parameters
currentidstringacceptobjectapprovalApprovalInstancepolicyGenerationIdstringprovisionobjectrejectobjectstateenumwaitobjectPolicyStepInstance
optional

The policy step instance includes a reference to an instance of a policy step that tracks state and has a unique ID.

This message contains a oneof named instance. Only a single field of the following list may be set at a time:

  • approval
  • provision
  • accept
  • reject
  • wait
historyarray of idstringacceptobjectapprovalApprovalInstancepolicyGenerationIdstringprovisionobjectrejectobjectstateenumwaitobjectPolicyStepInstance
optional

An array of steps that were previously processed by the ticket with their outcomes set, in order.

policyidstringcreatedAtstringdeletedAtstringdescriptionstringdisplayNamestringpolicyStepsmappolicyTypeenumpostActionsarray of PolicyPostActionsreassignTasksToDelegatesbooleanrulesarray of RulesystemBuiltinbooleanupdatedAtstringPolicy
optional

A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.

policyGenerationIdstring
optional

The policy generation id refers to the current policy's generation ID. This is changed when the policy is changed on a task.

processingenum
optional
"TASK_PROCESSING_TYPE_UNSPECIFIED" OR "TASK_PROCESSING_TYPE_PROCESSING" OR "TASK_PROCESSING_TYPE_WAITING" OR "TASK_PROCESSING_TYPE_DONE"

The processing state of a task as defined by the processing_enum

Hide ParametersShow Parameters
"TASK_PROCESSING_TYPE_UNSPECIFIED"
"TASK_PROCESSING_TYPE_PROCESSING"
"TASK_PROCESSING_TYPE_WAITING"
"TASK_PROCESSING_TYPE_DONE"
recommendationenum
optional
"INSIGHT_RECOMMENDATION_UNSPECIFIED" OR "INSIGHT_RECOMMENDATION_APPROVE" OR "INSIGHT_RECOMMENDATION_DENY" OR "INSIGHT_RECOMMENDATION_REVIEW"

The recommendation field.

Hide ParametersShow Parameters
"INSIGHT_RECOMMENDATION_UNSPECIFIED"
"INSIGHT_RECOMMENDATION_APPROVE"
"INSIGHT_RECOMMENDATION_DENY"
"INSIGHT_RECOMMENDATION_REVIEW"
stateenum
optional
"TASK_STATE_UNSPECIFIED" OR "TASK_STATE_OPEN" OR "TASK_STATE_CLOSED"

The current state of the task as defined by the state_enum

Hide ParametersShow Parameters
"TASK_STATE_UNSPECIFIED"
"TASK_STATE_OPEN"
"TASK_STATE_CLOSED"
stepApproverIdsarray of string
optional

An array of IDs belonging to Identity Users that are allowed to review this step in a task.

typecertifyobjectgrantobjectoffboardingobjectrevokeobjectTaskType
optional

Task Type provides configuration for the type of task: certify, grant, or revoke

This message contains a oneof named task_type. Only a single field of the following list may be set at a time:

  • grant
  • revoke
  • certify
  • offboarding
updatedAtstring
optional
formatdate-time
userIdstring
optional

The ID of the user that is the target of this task. This may be empty if we're targeting a specific app user that has no known identity user.

userPathstring
optional

JSONPATH expression indicating the location of the User object in the expanded array. This is the user that is a direct target of the ticket without a specific relationship to a potentially non-existent app user.

TasksAction

Approve
post/api/v1/tasks/{task_id}/action/approve
Approve With Step Up
post/api/v1/tasks/{task_id}/action/approve-with-step-up
Close
post/api/v1/tasks/{task_id}/action/close
Comment
post/api/v1/tasks/{task_id}/action/comment
Deny
post/api/v1/tasks/{task_id}/action/deny
Escalate To Emergency Access
post/api/v1/tasks/{task_id}/action/escalate
Hard Reset
post/api/v1/tasks/{task_id}/action/reset
Process Now
post/api/v1/tasks/{task_id}/action/process
Reassign
post/api/v1/tasks/{task_id}/action/reassign
Restart
post/api/v1/tasks/{task_id}/action/restart
Skip Step
post/api/v1/tasks/{task_id}/action/skip-step
Task Service Action Response
TaskServiceActionResponseobject

The TaskServiceActionResponse message.

ShowShow
expandedarray of object
optional

The expanded field.

Hide ParametersShow Parameters
@typestring
optional

The type of the serialized message.

taskViewaccessReviewPathstringappPathstringappUserPathstringcreatedByUserPathstringentitlementsPathstringidentityUserPathstringinsightsPathstringstepApproversPathstringtaskobjectuserPathstringTaskView
optional

Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.

ticketActionIdstring
optional

The ticketActionId field.