Batch

Batch Request

Выполнить батч запросов

Принимает массив запросов и выполняет их параллельно или последовательно Возвращает результаты с индексами для сопоставления

Args: request: Батч запросов request_obj: FastAPI Request для доступа к app current_user: Текущий пользователь

Returns: BatchResponse с результатами всех запросов

post/api/batch

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/batch
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

execute_parallelboolean

Response

Successful Response

successboolean required
totalinteger required
successfulinteger required
failedinteger required
diagnosticsobject nullable

Aggregate timing / dedup hints (optional)

Changes

No recorded changes to this operation across all 1 revision of this API.