## Get Index `$ llamacloud-prod beta:indexes get` **get** `/api/v1/indexes/{index_id}` Get an index by ID. ### Parameters - `--index-id: string` - `--organization-id: optional string` - `--project-id: optional string` ### Returns - `BetaIndexGetResponse: object { id, export_config_id, name, 9 more }` A searchable index over a directory of documents. - `id: string` Unique identifier - `export_config_id: string` ID of the export configuration. - `name: string` Index name. - `project_id: string` Project this index belongs to. - `source_directory_id: string` ID of the source directory. - `sync_config_id: string` ID of the sync configuration. - `created_at: optional string` Creation datetime - `description: optional string` Index description. - `last_exported_at: optional string` Last export time. - `last_synced_at: optional string` Last sync time. - `metadata: optional map[unknown]` Build state and diagnostic info. - `updated_at: optional string` Update datetime ### Example ```cli llamacloud-prod beta:indexes get \ --api-key 'My API Key' \ --index-id index_id ``` #### Response ```json { "id": "id", "export_config_id": "export_config_id", "name": "name", "project_id": "project_id", "source_directory_id": "source_directory_id", "sync_config_id": "sync_config_id", "created_at": "2019-12-27T18:11:19.117Z", "description": "description", "last_exported_at": "2019-12-27T18:11:19.117Z", "last_synced_at": "2019-12-27T18:11:19.117Z", "metadata": { "foo": "bar" }, "updated_at": "2019-12-27T18:11:19.117Z" } ```