curl --request GET \
--url https://earthcare.network/api/v1/home/actions/ \
--header 'Authorization: <api-key>'import requests
url = "https://earthcare.network/api/v1/home/actions/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://earthcare.network/api/v1/home/actions/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://earthcare.network/api/v1/home/actions/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://earthcare.network/api/v1/home/actions/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://earthcare.network/api/v1/home/actions/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://earthcare.network/api/v1/home/actions/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"recommendations": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"why": "<string>",
"summary": "<string>",
"effect": "suggest_accept",
"action_label": "<string>",
"effect_note": "<string>",
"is_external": true,
"status": "pending",
"payload": {},
"related_type": "<string>",
"related_id": "<string>",
"source_mode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"type": "<string>",
"actions": [
{}
],
"editable": true,
"opportunity": {},
"artifacts": [
{}
]
}
]
}List Home Actions
Thin alias of GET /automation/recommendations/. Same payload (recommendations array), same auth, same org scoping. organization_id is required. business_slug is required when the org has more than one business. Unauthenticated callers receive 401 (route is mounted).
First Home land idempotently seeds 1–3 Jaguar Actions with opportunity=null and effect=suggest_accept (types in connector, growth_plan, ambassador, purpose). Existing /automation/recommendations/ is unchanged.
curl --request GET \
--url https://earthcare.network/api/v1/home/actions/ \
--header 'Authorization: <api-key>'import requests
url = "https://earthcare.network/api/v1/home/actions/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://earthcare.network/api/v1/home/actions/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://earthcare.network/api/v1/home/actions/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://earthcare.network/api/v1/home/actions/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://earthcare.network/api/v1/home/actions/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://earthcare.network/api/v1/home/actions/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"recommendations": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"why": "<string>",
"summary": "<string>",
"effect": "suggest_accept",
"action_label": "<string>",
"effect_note": "<string>",
"is_external": true,
"status": "pending",
"payload": {},
"related_type": "<string>",
"related_id": "<string>",
"source_mode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"type": "<string>",
"actions": [
{}
],
"editable": true,
"opportunity": {},
"artifacts": [
{}
]
}
]
}Authorizations
DRF user token. Format: Token <token>
Query Parameters
Your organization UUID. Workspace endpoints are org-scoped — supply this as a query param (writes also accept it in the body). Find it via GET /auth/me/ → organizations[].id.
Required when the organization has more than one business.
Response
Same shape as GET /automation/recommendations/
Show child attributes
Show child attributes