---
title: "POST /agentcc/gateways/{id}/submit-batch/"
method: POST
path: "/agentcc/gateways/{id}/submit-batch/"
tags: ["agentcc"]
---

# POST /agentcc/gateways/{id}/submit-batch/

`POST /agentcc/gateways/{id}/submit-batch/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/agentcc/gateways/{id}/submit-batch/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Stateless proxy to the Go gateway (configured via env vars).
No DB model — returns a virtual singleton gateway with live health.

## Request body

- GatewayBatchSubmitRequest
  - `requests` object[], required
  - `max_concurrency` integer

## Response `200`

OK

- GatewayBatchSubmitResponse
  - `status` boolean, required
  - `result` GatewayBatchSubmitResult, required
    - `batch_id` string, required
    - `status` string, required
    - `total` integer, required
    - `max_concurrency` integer, required
    - `created_at` string, date-time, required

## Other responses

- `400`: Bad Request
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
