---
title: "Search Publication"
method: GET
path: "/v1/matters/{matter_id}/searches/{search_id}/publication"
tags: ["searches"]
---

# Search Publication

`GET /v1/matters/{matter_id}/searches/{search_id}/publication`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/matters/{matter_id}/searches/{search_id}/publication`
- Auth: HTTP bearer

## Path parameters

- `search_id` string, uuid, required
- `matter_id` string, uuid, required

## Response `200`

Successful Response

- MatterSearchPublication: Safe document-home filing state for a retained search result.
  - `state` 'failed' | 'missing' | 'not_configured' | 'pending' | 'published', required
  - `filename` string, nullable, required
  - `drive_path` string, nullable, required
  - `web_url` string, nullable, required
  - `published_at` string, date-time, nullable, required
  - `safe_issue_code` string, nullable, required
  - `safe_issue_detail` string, nullable, required
  - `destination_kind` 'sharepoint' | 'ender', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
