Skip to main content
POST
Rebuild file index

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

project_id
string<uuid>

Optional project ID for project-scoped sandbox files

sandbox
string

Route file operations to a specific sandbox (cloud or a self-hosted display name / hostname). When omitted, the Neo-managed cloud sandbox is used. Self-hosted sandboxes require an explicit selection.

force
boolean
default:false

Bypass the sandbox rebuild cooldown

directory
string

Optional workspace directory to rebuild, for example tasks/task-id

Response

File index rebuild accepted

directory
string | null
elapsed_seconds
number
error
string
files_tracked
integer
message
string
ok
boolean
scope
string
status
enum<string>
Available options:
running,
completed,
failed