Galya Docs
API referenceindex/batch

[Coming soon] Batch index content objects into the graph

POST
/index/batch

Coming soon — not available in the Beta. Use the single-object POST /index endpoint, which is the supported Beta path for indexing. This batch endpoint is documented for forward compatibility only and is not guaranteed to be enabled yet.

When available, it behaves like POST /index but accepts lists of content objects and optional entity_ids. Each content object is processed independently — idempotency applies per URL.

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/index/batch" \  -H "Content-Type: application/json" \  -d '{    "content": [      {        "url": "http://example.com",        "type": "image"      }    ]  }'
{
  "results": [
    {
      "entity_id": "string",
      "created": true
    }
  ]
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}