Add task artifact

Adds a task artifact to an order task. Draft orders require draft_creator_org_operator and create DRAFT artifacts; operational orders require driver_for_executor, executor_org_operators, or coordinator_org_operators and create STAGED or COMPLETED artifacts. | authz_personas=[draft_creator_org_operator, driver_for_executor, executor_org_operators, coordinator_org_operators] | (OrdersAddTaskArtifactReq) -> (PydanticObjectId)

Authentication

AuthorizationBearer

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

Path parameters

task_idstringRequired

Request

This endpoint expects an object.
task_artifactobjectRequired
statusenumOptional

Initial status for a non-draft task artifact. Defaults to STAGED. Omit for draft orders.

Allowed values:

Response

Successful Response

Errors

422
Task Artifact Add V1request Unprocessable Entity Error