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

# SEC EDGAR: Get Filing Index

> Inspecting the documents and exhibits available in one SEC filing before retrieval. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Inspecting the documents and exhibits available in one SEC filing before retrieval.

<Info>
  Tool ID: `sec_edgar_get_filing_index`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get sec_edgar_get_filing_index --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "cik": "example",
  "accession_number": "example",
  "documents": [
    {
      "name": "Example",
      "source_url": "https://example.com/resource"
    }
  ],
  "count": 123,
  "source_url": "https://example.com/resource",
  "complete_submission_url": "https://example.com/resource"
}
```

Use `deepline tools get sec_edgar_get_filing_index --json` for the latest machine-readable contract.

## Input reference

| Name                       | Type     | Required | Default | Details                                                                                                        |
| -------------------------- | -------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| `payload.ticker`           | `string` | No       | —       | US-listed company ticker, resolved case-insensitively. Pattern: `^[A-Za-z][A-Za-z0-9.-]&#123;0,14&#125;$`.     |
| `payload.cik`              | `string` | No       | —       | SEC Central Index Key, with or without leading zeroes. Pattern: `^[0-9]&#123;1,10&#125;$`.                     |
| `payload.accession_number` | `string` | Yes      | —       | SEC accession number including dashes. Pattern: `^[0-9]&#123;10&#125;-[0-9]&#123;2&#125;-[0-9]&#123;6&#125;$`. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "ticker": {
        "type": "string",
        "description": "US-listed company ticker, resolved case-insensitively.",
        "pattern": "^[A-Za-z][A-Za-z0-9.-]{0,14}$"
      },
      "cik": {
        "type": "string",
        "description": "SEC Central Index Key, with or without leading zeroes.",
        "pattern": "^[0-9]{1,10}$"
      },
      "accession_number": {
        "type": "string",
        "description": "SEC accession number including dashes.",
        "pattern": "^[0-9]{10}-[0-9]{2}-[0-9]{6}$"
      }
    },
    "required": [
      "accession_number"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Normalized document inventory for one SEC filing accession.

| Name                               | Type      | Required | Default | Details                                      |
| ---------------------------------- | --------- | -------- | ------- | -------------------------------------------- |
| `result.cik`                       | `string`  | Yes      | —       | Zero-padded 10-digit SEC CIK.                |
| `result.accession_number`          | `string`  | Yes      | —       | SEC filing accession number.                 |
| `result.documents`                 | `array`   | Yes      | —       | —                                            |
| `result.documents[].name`          | `string`  | Yes      | —       | Exact archive document name.                 |
| `result.documents[].type`          | `string`  | No       | —       | SEC archive item type.                       |
| `result.documents[].size`          | `integer` | No       | —       | Document size in bytes.                      |
| `result.documents[].last_modified` | `string`  | No       | —       | SEC archive last-modified timestamp.         |
| `result.documents[].source_url`    | `string`  | Yes      | —       | Authoritative SEC source URL. Format: `uri`. |
| `result.count`                     | `integer` | Yes      | —       | Number of documents returned.                |
| `result.source_url`                | `string`  | Yes      | —       | Authoritative SEC source URL. Format: `uri`. |
| `result.complete_submission_url`   | `string`  | Yes      | —       | Authoritative SEC source URL. Format: `uri`. |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Normalized document inventory for one SEC filing accession.",
    "properties": {
      "cik": {
        "type": "string",
        "description": "Zero-padded 10-digit SEC CIK."
      },
      "accession_number": {
        "type": "string",
        "description": "SEC filing accession number."
      },
      "documents": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "Exact archive document name."
            },
            "type": {
              "type": "string",
              "description": "SEC archive item type."
            },
            "size": {
              "type": "integer",
              "description": "Document size in bytes."
            },
            "last_modified": {
              "type": "string",
              "description": "SEC archive last-modified timestamp."
            },
            "source_url": {
              "type": "string",
              "description": "Authoritative SEC source URL.",
              "format": "uri"
            }
          },
          "required": [
            "name",
            "source_url"
          ],
          "additionalProperties": false
        }
      },
      "count": {
        "type": "integer",
        "description": "Number of documents returned."
      },
      "source_url": {
        "type": "string",
        "description": "Authoritative SEC source URL.",
        "format": "uri"
      },
      "complete_submission_url": {
        "type": "string",
        "description": "Authoritative SEC source URL.",
        "format": "uri"
      }
    },
    "required": [
      "cik",
      "accession_number",
      "documents",
      "count",
      "source_url",
      "complete_submission_url"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
