> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Get List

> GET /v3/lists/{list_uuid}/ — retrieve details of a specific Didit blocklist, allowlist, or custom list including entry count and metadata.

export const AgentPromptAccordion = ({prompt, title = "AI Agent Integration Prompt"}) => {
  const [copied, setCopied] = React.useState(false);
  const handleCopy = e => {
    e.stopPropagation();
    if (!prompt) return;
    navigator.clipboard.writeText(prompt.trim()).then(() => {
      setCopied(true);
      setTimeout(() => setCopied(false), 2000);
    });
  };
  const agents = ["Claude Code", "Codex", "Cursor", "Devin", "Windsurf", "GitHub Copilot"];
  return <div className="didit-agent-card">
      {}
      <div className="didit-agent-titlebar">
        <div className="didit-agent-dots" aria-hidden="true">
          <span className="didit-agent-dot didit-agent-dot-red"></span>
          <span className="didit-agent-dot didit-agent-dot-yellow"></span>
          <span className="didit-agent-dot didit-agent-dot-green"></span>
        </div>
        <span className="didit-agent-filename">{title}</span>
        <button type="button" className={`didit-agent-copy ${copied ? "didit-agent-copy-copied" : ""}`} onClick={handleCopy} title="Copy prompt to clipboard" aria-label={copied ? "Copied!" : "Copy prompt to clipboard"}>
          {copied ? <>
              <svg width="13" height="13" viewBox="0 0 16 16" fill="none">
                <path d="M3 8.5l3.5 3.5L13 4" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
              </svg>
              <span>Copied</span>
            </> : <>
              <svg width="13" height="13" viewBox="0 0 16 16" fill="none">
                <rect x="5" y="5" width="9" height="9" rx="1.5" stroke="currentColor" strokeWidth="1.5" />
                <path d="M11 5V3.5A1.5 1.5 0 0 0 9.5 2h-6A1.5 1.5 0 0 0 2 3.5v6A1.5 1.5 0 0 0 3.5 11H5" stroke="currentColor" strokeWidth="1.5" />
              </svg>
              <span>Copy</span>
            </>}
        </button>
      </div>

      {}
      <pre className="didit-agent-body"><code>{prompt.trim()}</code></pre>

      {}
      <div className="didit-agent-footer">
        <span className="didit-agent-footer-label">Paste into</span>
        <div className="didit-agent-chips">
          {agents.map(name => <span key={name} className="didit-agent-chip">{name}</span>)}
        </div>
      </div>
    </div>;
};

<AgentPromptAccordion
  title="Get List API Prompt"
  prompt={`Fetch a single Didit list's metadata through the Management API.

Endpoint:
GET https://verification.didit.me/v3/lists/{list_uuid}/

Authentication:
Use the x-api-key header with my Didit API key.

Goal:
- Retrieve the details of a specific list — name, list_type, entry_type, is_system, entry_count, last_entry_added_at.
- Use this to render a list-detail view or to confirm a list still exists before adding entries.

Path parameter:
- list_uuid — the list UUID returned by GET /v3/lists/ or POST /v3/lists/.

Example call:
curl -X GET "https://verification.didit.me/v3/lists/{list_uuid}/" \\
-H "x-api-key: YOUR_API_KEY"

What to read from the response:
- list_type — "blocklist" | "allowlist" | "custom" (drives behavior on match).
- entry_type — determines the value validator and which session field is matched at verification time.
- is_system — true for the 10 auto-provisioned blocklists; these cannot be deleted or renamed.

This endpoint returns the list metadata only — to fetch entries, call GET /v3/lists/{list_uuid}/entries/.

Failure modes:
- 401 — missing or malformed x-api-key.
- 403 — canonical { "detail": "You do not have permission to perform this action." } envelope when the list belongs to a different application.
- 404 — list not found in this application.

Side effects: none. This is a pure read.

For the full integration shape, see /integration/integration-prompt.`}
/>

Get the details of a specific list, including entry count and last entry timestamp.

<RequestExample>
  ```bash theme={null}
  curl -X GET "https://verification.didit.me/v3/lists/{list_uuid}/" \
    -H "x-api-key: YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "uuid": "a1b2c3d4-...",
    "name": "Face Blocklist",
    "description": "Blocked biometric faces...",
    "list_type": "blocklist",
    "entry_type": "face",
    "is_system": true,
    "entry_count": 5,
    "last_entry_added_at": "2025-06-09T12:26:54Z",
    "created_at": "2025-01-01T00:00:00Z",
    "updated_at": "2025-06-09T12:26:54Z"
  }
  ```
</ResponseExample>
