Parameters
JSON body
Request body
application/jsonissueKeystringRequiredIssue key to process.
PROJ-123Manually triggers the AI issue-resolving agent on a single issue. The agent reads the issue, comments, reporter contact and any read-only tools it needs, then may post a comment, change status, change priority, or reassign to a member (each at most once per turn). Returns the write actions performed so the caller can invalidate its cache. This endpoint does NOT re-run the base workflow, so the reporter is never notified twice about issue creation. When the ticket carries pm__issue.human_only = true, the agent aborts and returns skipped: 'human_only'.
JSON body
issueKeystringRequiredIssue key to process.
PROJ-1231 status code documented
successbooleanRequiredWhether the agent ran successfully.
skipped"spam" | "human_only" | nullRequiredactionsobject | object | object | object[]RequiredOrdered list of write actions the agent performed during this run. Empty when the agent decided not to act.
kind"comment"RequiredcommentIdstringRequiredServer-side comment id (matches selectIssueCommentList item.id).
messagestringRequiredComment body as posted.
kind"status"RequiredtoStatusIdnumberRequiredtoStatusLabelstringRequiredtoCategoryCodestringRequiredkind"priority"RequiredtoPrioritynumberRequired1=low, 2=normal, 3=high, 4=critical, 5=blocker.
kind"assign"RequiredtoContactIdnumberRequiredshop__contact.id of the newly-assigned member.
toMemberNamestringRequiredDisplay name of the assigned member.
reasoningstringRequiredThe AI's short justification for this assignment. Also embedded in the notification e-mail.
{
"success": false,
"actions": []
}POST /bff/issue/run-ai-workflow
curl -X POST "https://api.bizkithub.com/bff/issue/run-ai-workflow" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"issueKey": "PROJ-123"
}'All BizKitHub public API endpoints require authentication via API key.