# Retrieval v1

## What `retrieval_v1` Is For

`retrieval_v1` controls indexing and announcement behavior for data submitted through MK20 products.

## Struct Definition

```go
type RetrievalV1 struct {
    Indexing        bool `json:"indexing"`
    AnnouncePayload bool `json:"announce_payload"`
    AnnouncePiece   bool `json:"announce_piece"`
}
```

## Fields

* `indexing`: enable indexing flow.
* `announce_payload`: announce payload-level information.
* `announce_piece`: announce piece-level information.

## Validation Rules

* `retrieval_v1` must be enabled by provider.
* `announce_payload` requires `indexing = true`.

## Product Compatibility Rules

* `ddo_v1` requires `retrieval_v1`.
* With `ddo_v1`, `announce_piece` must be false.
* Additional context-dependent checks are applied during DDO/PDP sanitize stages.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.curiostorage.org/market-2.0/products/retrieval_v1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
