## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://docs.momentum.io/llms.txt)

Use this file to discover all available pages before exploring further.

### cURL

```bash
curl --request GET \
  --url 'https://api.momentum.io/v2/signals' \
  --header 'X-API-Key: YOUR_API_KEY'
```

### JavaScript

```javascript
const response = await fetch(
  "https://api.momentum.io/v2/signals",
  {
    headers: { "X-API-Key": "YOUR_API_KEY" },
  }
);
const data = await response.json();
```

### Python

```python
import requests

response = requests.get(
    "https://api.momentum.io/v2/signals",
    headers={"X-API-Key": "YOUR_API_KEY"},
)
data = response.json()
```

### Go

```go
req, _ := http.NewRequest("GET",
  "https://api.momentum.io/v2/signals", nil)
req.Header.Set("X-API-Key", "YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
```

### Responses

#### HTTP Status Codes
- **200** - Successful response, returns a list of signal definitions.
- **500** - Internal server error.

### Example of Response Data

```json
{
  "signals": [
    {
      "id": 123,
      "signalName": "<string>",
      "contextSource": "<string>",
      "enabled": true,
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}
```

```json
{
  "error": "Internal server error"
}
```

### Authorizations

#### X-API-Key
- **Type**: string
- **Location**: header
- **Required**: Yes
- **Description**: API key for authenticating requests

#### Response Format
- **200**: application/json - A list of signal definitions.
