---
title: "Get the debate for a given contribution id (external reference id)"
method: GET
path: "/search/debatebyexternalid.{format}"
tags: ["Search"]
---

# Get the debate for a given contribution id (external reference id)

`GET /search/debatebyexternalid.{format}`

Get the debate for a given contribution Id (external reference id)

## Path parameters

- `format` string, required

## Query parameters

- `contentItemExternalId` string, required
- `house` string, required

## Response `200`

OK

- QueryResultSearchDebateItem
  - `Results` SearchDebateItem[]
    - `DebateSection` string
    - `SittingDate` string, date-time
    - `House` string
    - `Title` string
    - `Rank` integer
    - `DebateSectionExtId` string
  - `TotalResultCount` integer

---

[API](https://skmtc.net/parliament/apis/hansard-api.md) · [All operations](https://skmtc.net/parliament/apis/hansard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/parliament/hansard-api/revisions/3b1458d7709c/schema)
