# agent adl status

Get indexing status of an Agentforce Data Library.

## Description for agent adl status

Returns the current indexing status including stage details (DATA_STREAM, DATA_LAKE_OBJECT, DATA_MODEL_OBJECT, SEARCH_INDEX, RETRIEVER) and any errors.

## Flags

| Flag Name (Long)      | Flag Name (Short) | Description                                                                                                                                                                       |
| --------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--api-version`       | N/A               | **Type:** Value<br><br>Override the api version used for api requests made by this command                                                                                        |
| `--flags-dir`         | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                                                                       |
| `--include-artifacts` | N/A               | **Type:** Boolean<br><br>Resolve DC asset artifacts (DataStream, DLO, DMO, SearchIndex, Retriever) with entity IDs and names on each stage. Slower — requires additional queries. |
| `--json`              | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                                                                   |
| `--library-id`        | `-i`              | **Type:** Value<br>**Required**<br><br>Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).                                                                        |
| `--target-org`        | `-o`              | **Type:** Value<br>**Required**<br><br>Username or alias of the target org. Not required if the `target-org` configuration variable is already set.                               |

## Examples for agent adl status

Get status of a data library:

```shell
sf agent adl status --library-id 1JDSG000007IbWX4A0 --target-org myOrg
```
