Create and execute tasks using individual AI agents (BLACKBOX or Claude Code or Codex or Gemini)on repositories.
repoUrl to have the agent analyze and modify code in a GitHub repositorybb_xxxxxxxxxxxxxxxxxxxxxx
Bearer <api_key>.Example: Bearer bb_b41b647ffbfed27f61656049d3eaeef3d903cc503345d9eb80080d98bc0application/json.https://github.com/<org-name>/<repo-name>.gitmain if not specified.Example: main, develop, feature/new-apiclaude - Anthropic’s Claude models (Sonnet 4.5, Sonnet 4, Opus 4.5)blackbox - BLACKBOX AI models with multiple provider optionscodex - OpenAI’s GPT models (GPT-5.2-Codex, GPT-4.1)gemini - Google’s Gemini models (2.0 Flash, 2.5 Pro)blackboxblackboxai/blackbox-problackboxai/anthropic/claude-sonnet-4.5
blackboxai/blackbox-pro
gpt-5-codex
gemini-2.0-flash-exp
repoUrl is provided, the agent will:
| Status Code | Error | Description |
|---|---|---|
| 200 | Success | Task created successfully |
| 400 | Bad Request | Invalid request (missing prompt, invalid agent/model, invalid repo URL) |
| 401 | Unauthorized | Invalid or missing API key |
| 402 | Payment Required | Insufficient credits to create task |
| 403 | Forbidden | User is not a member of the selected team |
| 404 | Not Found | GitHub token not found or user not found |
| 500 | Internal Server Error | Task creation failed or database error |
| 502 | Bad Gateway | GitHub API error or file upload failed |