Project Files

Index Project Files

Индексация файлов проекта.

🧬 Генетический код: ai_builder.endpoints.files.index.multi_level.gen2

Philosophy v0.1.24: Простой URL, параметры в query!

Returns: { 'success': true, 'indexed_files': 45, 'levels': ['skeleton', 'signatures', 'examples'], 'duration_ms': 1234, 'generation': 'gen2.2026-01-29T10:30:00Z' }

post/api/projects/{project_id}/files/index

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/projects/{project_id}/files/index
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

project_idinteger required

Project ID

Query parameters

levelsstring[]

Index levels

forceboolean

Force reindex

incrementalboolean

Only index changed files

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Response

Successful Response

unknown required

Changes

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