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)
{
"signals": [
{
"id": 123,
"signalName": "<string>",
"contextSource": "<string>",
"enabled": true,
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "Internal server error"
}Signals V1
List all AI signal prompts
Retrieves a list of all AI signal prompts configured for the organization, including their enabled status and context source type.
GET
/
v1
/
signals
/
prompts
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)
{
"signals": [
{
"id": 123,
"signalName": "<string>",
"contextSource": "<string>",
"enabled": true,
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "Internal server error"
}
