Get
/v1/tasks/{task-id}
Get the details of a task.
Security
API Key: bearerToken
Header parameter nameAuthentication
A JWT bearer token to be passed once authenticated.
Path parameters
task-id
string (uuid) Required
UUID of a task.
Responses
200
Task Details.
object
task_id
string (uuid)
Task Id.
requester_info
object (RequesterInfo)
user_id
string (uuid)
User Id.
user_name
string
User Name.
app_id
string (uuid)
App Id.
app_name
string
App Name.
requester_type
string
Type of requester.
Valid values[
"USER",
"APP",
"SYSTEM"
]
entity_id
string (uuid)
app_id, build_id, node_id, cert_id are entity_id for app_domain_whitelisting, build_whitelisting, node_attestation and certificate_issuance respectively.
task_type
string
The types of tasks supported.
Valid values[
"NODE_ATTESTATION",
"CERTIFICATE_ISSUANCE",
"BUILD_WHITELIST",
"DOMAIN_WHITELIST"
]
status
object (TaskStatus)
Status info for a task.
created_at
integer (int64)
Task creation time
status_updated_at
integer (int64)
Time since the status change.
status
string
Status string for a task.
Valid values[
"INPROGRESS",
"FAILED",
"SUCCESS",
"DENIED"
]
description
string
Task details.
approvals
Array of object (ApprovalInfo)
object
user_id
string (uuid)
User Id.
user_name
string
User Name.
status
string
Approval status.
Valid values[
"APPROVED",
"DENIED"
]
denial_reason
string
Reason associated with the denial.
domains_added
Array of string
string
domains_removed
Array of string
string
group_id
string (uuid)
Group Id