List all AI signal prompts - Momentum
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \
--url 'https://api.momentum.io/v1/signals/prompts' \
--header 'X-API-Key: YOUR_API_KEY'
const response = await fetch(
"https://api.momentum.io/v1/signals/prompts",
{
headers: { "X-API-Key": "YOUR_API_KEY" },
}
);
const data = await response.json();
import requests
response = requests.get(
"https://api.momentum.io/v1/signals/prompts",
headers={"X-API-Key": "YOUR_API_KEY"},
)
data = response.json()
req, _ := http.NewRequest("GET",
"https://api.momentum.io/v1/signals/prompts", nil)
req.Header.Set("X-API-Key", "YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
Response Codes
- 200
- 500
{
"signals": [\
{\
"id": 123,\
"signalName": "<string>",\
"contextSource": "<string>",\
"enabled": true,\
"createdAt": "2023-11-07T05:31:56Z"\
}\
]
}
{
"error": "Internal server error"
}
Authorizations
- X-API-Key
- Type: string
- Location: header
- Required: API key for authenticating requests
Response
- 200
- Content-Type: application/json
- Description: A list of signal prompts.
- fields:
- signals
- Type: object[]
- Required
- Description: Show child attributes
- signals