# 2.5 Hyper Contracts

**Method:**`POST`

```
https://sdk.hypergpt.ai/hyperContracts
```

**Headers:**

<table data-header-hidden><thead><tr><th width="343">Key</th><th>Value</th></tr></thead><tbody><tr><td>Bearer Token</td><td>new_user_token</td></tr></tbody></table>

#### Params :

* **Query (str):** The text prompt provided by the user for generating the response.

#### Return Value:

* **code\_text (dict):** The generated text response or an error message if an exception occurs.

#### Example Request:

```python
headers = {
    "Authorization": "Bearer " + bearer_token,

}
data = {
    "Query": Query,
}
response = requests.post(
    "https://sdk.hypergpt.ai/hyperContracts",
    headers=headers,
    params=data 
)

return response.json()
```

#### Example Response (Success):

```css
{
 "Here is a detailed contract for software development..."
}
```

#### Example Response (Error):

```json
{
    "detail": "Credit not enough"
}
```
