Skip to content
Docs

Catalog Tasks

Catalog Tasks

ModelsExpand Collapse
class Task:
id: str
created_at: datetime
formatdate-time
operation: TaskOperation
Accepts one of the following:
"create"
"delete"
status: TaskStatus
Accepts one of the following:
"pending"
"running"
"completed"
"failed"
updated_at: datetime
formatdate-time
error_message: Optional[str]
install_id: Optional[str]
package_id: Optional[str]
package_slug: Optional[str]
package_version: Optional[int]
warnings: Optional[List[Warning]]

Informational warnings about the task outcome. For delete tasks, warns when adopted entities (pre-existing resources not created by the catalog) will be preserved rather than deleted.

code: Literal["validation_error", "bad_request", "unauthorized", 6 more]
Accepts one of the following:
"validation_error"
"bad_request"
"unauthorized"
"forbidden"
"not_found"
"conflict"
"rate_limit_exceeded"
"internal_error"
"service_unavailable"
details: List[WarningDetail]
code: Literal["validation_error", "bad_request", "unauthorized", 6 more]
Accepts one of the following:
"validation_error"
"bad_request"
"unauthorized"
"forbidden"
"not_found"
"conflict"
"rate_limit_exceeded"
"internal_error"
"service_unavailable"
field: str

valid json path for request body

message: str

error message for specific error

message: str

summary of the error

path: str
formaturl
request_id: str
formatuuid
status: int

HTTP Status Code

timestamp: datetime
formatdate-time
Literal["create", "delete"]
Accepts one of the following:
"create"
"delete"
Literal["pending", "running", "completed", "failed"]
Accepts one of the following:
"pending"
"running"
"completed"
"failed"