Recover Failed Draft
Recover a draft-* TeamTask stuck in failed with a usable blog_payload.
Validates the row is recoverable (status=failed + draft-* task type +
blog_payload present in output_data), flips status to needs_approval,
copies the payload into output_data.draft (the key
team_service._spawn_publish_twin reads from), and writes a
TeamAuditLog row with action_type='admin_recovered'.
Returns the updated task. The user can then approve via the existing
POST /api/v1/teams/{team_id}/tasks/{task_id}/approve endpoint, which
spawns the publish-* twin.
Documentation Index
Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response