Repository Intelligence

Create or reuse an immutable repository snapshot

post/v1/repositories/{repository_id}/snapshots

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/repositories/{repository_id}/snapshots
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

repository_idstring uuid required

Request body

refstring nullable
focus_pathsstring[]
prefer_concrete_focus_pathsboolean
include_patternsstring[]
exclude_patternsstring[]
max_filesinteger
max_file_size_bytesinteger
max_total_bytesinteger nullable

Response

Successful Response

repository_idstring required
snapshot_idstring required
connector_typestring required
refstring nullable
resolved_revisionstring required
content_hashstring required
status'created' | 'existing' required
created_atstring date-time required
file_countinteger required
requested_focus_pathsstring[]
effective_focus_pathsstring[]
language_countsobject required
raw_repo_token_estimateinteger required

Changes

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