| title | Bulk processing |
|---|---|
| icon | list-check |
| iconType | light |
| description | Make massively parallel requests. |
import { apiEndpoint } from '/snippets/whitelabel/config.mdx'; import Terms from '/snippets/whitelabel/search/batches/terms.mdx'; import Prompts from '/snippets/whitelabel/ai/batches/prompts.mdx'; import Urls from '/snippets/whitelabel/browser/batches/urls.mdx'; import Results from '/snippets/whitelabel/search/batches/id.mdx'; import Completions from '/snippets/whitelabel/ai/batches/id.mdx'; import Content from '/snippets/whitelabel/browser/batches/id.mdx';
Each service has a batch endpoint that accepts a JSON array of up to 1,000 requests in a POST
body:
{
"id": "b3829f53-abc9-4e62-8a65-2d9359d586d6",
"count": 37
}The job status can be requested any time thereafter by passing back the ID: