> For the complete documentation index, see [llms.txt](https://api.clearinghouse.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.clearinghouse.net/api-reference-v2p1/endpoints/relief-sought.md).

# Relief Sought

### Get cases by relief sought ID (integer).

<mark style="color:blue;">`GET`</mark> `https://clearinghouse.net/api/v2p1/cases/?relief_sought=relief_sought_id`

### Headers

| Name                                            | Type   | Description                                                                                                                    |
| ----------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------ |
| Authorization<mark style="color:red;">\*</mark> | String | <p>Authorization</p><p><code>Token XXXXXXXXXXX</code></p><p>where</p><p><code>XXXXXXXXXXX</code></p><p>is the token string</p> |

### Supported relief sought values (\`relief\_sought\_id\`)

| 39073 | Attorneys fees                      |
| ----- | ----------------------------------- |
| 39085 | Criminal conviction                 |
| 39074 | Damages                             |
| 39075 | Declaratory judgment                |
| 39076 | Document/Information                |
| 39077 | Habeas                              |
| 39078 | Injunction                          |
| 39116 | Receivership                        |
| 39079 | Stay of proceedings                 |
| 39130 | Stay of government action           |
| 39129 | Stay of injunction                  |
| 39080 | Warrant/Order allowing surveillance |

### Example

{% tabs %}
{% tab title="URL" %}

```
https://clearinghouse.net/api/v2p1/cases?relief_sought=39078
```

{% endtab %}

{% tab title="python" %}

```python
import requests

url = "https://clearinghouse.net/api/v2p1/cases?relief_sought=39078"
headers = { 'Authorization': 'Token XXXXXXXXXX',
'User-Agent': 'Chrome v22.2 Linux Ubuntu'
}
response = requests.request("GET", url, headers=headers, data={})

print(response.text)
```

{% endtab %}
{% endtabs %}
