Alo FilesBatch

Batch Check

Space-scoped existence check for file/folder ids.

Used by Central Hub's lazy self-heal of agents' enabled_file_scope (COR-1768): ids missing from the response were deleted (or never belonged to this space) and can be pruned from the agent's selection. The literal "root" is always reported as existing.

Authorization

APIKeyHeader
X-API-Key<token>

In: header

Query Parameters

x_space_slug?|

Header Parameters

X-Space-Slug*|

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

POST
/batch/check
curl -X POST "https://alo-files-service-103105631559.europe-west8.run.app/batch/check" \  -H "X-Space-Slug: string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "existing_file_ids": [
    "string"
  ],
  "existing_folder_ids": [
    "string"
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}