---
schema_version: "1"
id: 7c9619798692a78903d6bb2966626225d373982de3f622fcead2ece52c9f7279
title: agent adl get
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfclireference/guides/agent/cli_reference_agent_adl_get.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_agent_adl_get.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7cfd745182e92209aa362066b701621f3ec33720ecfc9f0a2f348a3935cf4ff5
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# agent adl get

Get details of an Agentforce Data Library.

## Description for agent adl get

Returns the full detail of a data library including its grounding source configuration, status, and retriever ID.

## Flags

| Flag Name (Long) | Flag Name (Short) | Description |
|------------------|-------------------|-------------|
| <code>&#8209;&#8209;api&#8209;version</code> | N/A | **Type:** Value<br><br>Override the api version used for api requests made by this command |
| <code>&#8209;&#8209;flags&#8209;dir</code> | N/A | **Type:** Value<br><br>Import flag values from a directory. |
| <code>&#8209;&#8209;json</code> | N/A | **Type:** Boolean<br><br>Format output as json. |
| <code>&#8209;&#8209;library&#8209;id</code> | <code>&#8209;i</code> | **Type:** Value<br>**Required**<br><br>Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD). |
| <code>&#8209;&#8209;target&#8209;org</code> | <code>&#8209;o</code> | **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 get

Get details of a data library:

```shell
sf agent adl get --library-id 1JDSG000007IbWX4A0 --target-org myOrg
```
<!-- prettier-ignore-end -->
