/api/v1/profilesList#
List profiles.
Returns every profile known to the device, including profiles registered with
PUT /api/v1/profiles/{name}, sorted by name.
Responses
200List of all loaded profilesapplication/json
array of ProfileSummaryDRO
namerequiredstring
display_name string · nullable
modulationrequiredstring
symbol_rate_baud requirednumber · double
center_frequency_hz requiredinteger · int64
txrequiredOne direction of a profile, resolved.
DirectionSummaryDRO · 4 fields
channelrequiredinteger · int32
AD9361 channel, 1 or 2.
modulationrequiredstring
symbol_rate_baud requirednumber · double
center_frequency_hz requiredinteger · int64
rxrequiredOne direction of a profile, resolved.
DirectionSummaryDRO · 4 fields
channelrequiredinteger · int32
AD9361 channel, 1 or 2.
modulationrequiredstring
symbol_rate_baud requirednumber · double
center_frequency_hz requiredinteger · int64
Request
curl "http://192.168.2.1:8080/api/v1/profiles"import requests
BASE_URL = "http://192.168.2.1:8080"
response = requests.get(f"{BASE_URL}/api/v1/profiles")
response.raise_for_status()
print(response.json())let base_url = "http://192.168.2.1:8080";
let response = reqwest::Client::new()
.get(format!("{base_url}/api/v1/profiles"))
.send()
.await?
.error_for_status()?;
let body: serde_json::Value = response.json().await?;
println!("{body:#}");Response
[
{
"name": "string",
"display_name": "string",
"modulation": "string",
"symbol_rate_baud": 0.0,
"center_frequency_hz": 0,
"tx": {
"channel": 0,
"modulation": "string",
"symbol_rate_baud": 0.0,
"center_frequency_hz": 0
},
"rx": {
"channel": 0,
"modulation": "string",
"symbol_rate_baud": 0.0,
"center_frequency_hz": 0
}
}
]/api/v1/profiles/activeActive#
Get the active profile.
Returns the last profile applied and whether it still describes the radio: a
manual change made since (frequency, gain or another setting) marks it dirty,
and dirty_reason names the change.
Responses
200The active profile and whether it still describes the boardapplication/json
namestring · nullable
dirtyrequiredboolean
A manual change was made after the profile was applied.
dirty_reason string · nullable
What made it dirty: the route or setting that was changed.
Request
curl "http://192.168.2.1:8080/api/v1/profiles/active"import requests
BASE_URL = "http://192.168.2.1:8080"
response = requests.get(f"{BASE_URL}/api/v1/profiles/active")
response.raise_for_status()
print(response.json())let base_url = "http://192.168.2.1:8080";
let response = reqwest::Client::new()
.get(format!("{base_url}/api/v1/profiles/active"))
.send()
.await?
.error_for_status()?;
let body: serde_json::Value = response.json().await?;
println!("{body:#}");Response
{
"name": "string",
"dirty": true,
"dirty_reason": "string"
}/api/v1/profiles/validateValidate#
Validate a profile.
Checks a profile document without registering or applying it. The reply carries
ok and the list of errors; the request succeeds even when the profile is
invalid.
Request body application/jsonrequired
Responses
200OKapplication/json
okrequiredboolean
errorsrequiredarray of string
Request
curl -X POST "http://192.168.2.1:8080/api/v1/profiles/validate" \
-H "Content-Type: application/json" \
-d '{}'import requests
BASE_URL = "http://192.168.2.1:8080"
response = requests.post(
f"{BASE_URL}/api/v1/profiles/validate",
json={},
)
response.raise_for_status()
print(response.json())let base_url = "http://192.168.2.1:8080";
let response = reqwest::Client::new()
.post(format!("{base_url}/api/v1/profiles/validate"))
.json(&serde_json::json!({}))
.send()
.await?
.error_for_status()?;
let body: serde_json::Value = response.json().await?;
println!("{body:#}");Response
{
"ok": true,
"errors": [
"string"
]
}/api/v1/profiles/{name}Get one#
Get a profile.
Path parameters
namerequiredstring
Profile identifier
Responses
200OKapplication/json
404Profile not foundapplication/json
Request
curl "http://192.168.2.1:8080/api/v1/profiles/<name>"import requests
BASE_URL = "http://192.168.2.1:8080"
name = "<name>" # Profile identifier
response = requests.get(f"{BASE_URL}/api/v1/profiles/{name}")
response.raise_for_status()
print(response.json())let base_url = "http://192.168.2.1:8080";
let name = "<name>"; // Profile identifier
let response = reqwest::Client::new()
.get(format!("{base_url}/api/v1/profiles/{name}"))
.send()
.await?
.error_for_status()?;
let body: serde_json::Value = response.json().await?;
println!("{body:#}");Response
{}{}/api/v1/profiles/{name}Register#
Register a profile supplied by the client, under the given name.
The body is parsed as YAML, which also accepts JSON. On a unit whose SD card
has a data partition, the profile is also written there and survives
restarts and software updates (persisted: true); otherwise it is held in
memory only and the reply says so. Apply it with POST /profiles/{name}/apply.
Path parameters
namerequiredstring
Name to register the profile under
Request body text/plainrequired
The profile, as YAML or JSON
string
Responses
200OKapplication/json
namerequiredstring
replacedrequiredboolean
True when a profile of this name already existed and was replaced.
persistedrequiredboolean
Whether the profile was written to persistent storage (the SD card's
data partition) and survives a restart. false on a card without one:
it is then held in memory only, and note says so.
noterequiredstring
Request
curl -X PUT "http://192.168.2.1:8080/api/v1/profiles/<name>" \
-H "Content-Type: text/plain" \
--data-binary @body.txtimport requests
BASE_URL = "http://192.168.2.1:8080"
name = "<name>" # Name to register the profile under
response = requests.put(
f"{BASE_URL}/api/v1/profiles/{name}",
data=open("body.txt", "rb").read(),
headers={"Content-Type": "text/plain"},
)
response.raise_for_status()
print(response.json())let base_url = "http://192.168.2.1:8080";
let name = "<name>"; // Name to register the profile under
let response = reqwest::Client::new()
.put(format!("{base_url}/api/v1/profiles/{name}"))
.header("Content-Type", "text/plain")
.body(std::fs::read("body.txt")?)
.send()
.await?
.error_for_status()?;
let body: serde_json::Value = response.json().await?;
println!("{body:#}");Response
{
"name": "string",
"replaced": true,
"persisted": true,
"note": "string"
}/api/v1/profiles/{name}/applyApply#
Apply a profile.
Configures the modem from the profile, then tunes the AD9361: local oscillators,
analog filter bandwidth and gains. A tuning problem does not fail the request;
tuning states in words what was applied and what was not. A positive
tx_power_dbm is not applied, because the AD9361 transmit gain is an
attenuation.
Path parameters
namerequiredstring
Profile to apply
Responses
200OKapplication/json
profile_name requiredstring
cfg_epoch requiredinteger · int32
tuningrequiredstring
What the apply did to the radio, in one sentence: tuned, or why not.
404Profile not foundapplication/json
Request
curl -X POST "http://192.168.2.1:8080/api/v1/profiles/<name>/apply"import requests
BASE_URL = "http://192.168.2.1:8080"
name = "<name>" # Profile to apply
response = requests.post(f"{BASE_URL}/api/v1/profiles/{name}/apply")
response.raise_for_status()
print(response.json())let base_url = "http://192.168.2.1:8080";
let name = "<name>"; // Profile to apply
let response = reqwest::Client::new()
.post(format!("{base_url}/api/v1/profiles/{name}/apply"))
.send()
.await?
.error_for_status()?;
let body: serde_json::Value = response.json().await?;
println!("{body:#}");Response
{
"profile_name": "string",
"cfg_epoch": 0,
"tuning": "string"
}{}/api/v1/profiles/{name}/revisionsList revisions#
List a profile's revisions.
Returns the history of this profile's applications, newest first. Empty when the device has no history store.
Path parameters
namerequiredstring
Profile identifier
Responses
200Revision history sorted newest-firstapplication/json
array of ProfileRevisionDRO
versionrequiredinteger · int32
cfg_epoch requiredinteger · int32
applied_at requiredstring · date-time
applied_by string · nullable
messagestring · nullable
Request
curl "http://192.168.2.1:8080/api/v1/profiles/<name>/revisions"import requests
BASE_URL = "http://192.168.2.1:8080"
name = "<name>" # Profile identifier
response = requests.get(f"{BASE_URL}/api/v1/profiles/{name}/revisions")
response.raise_for_status()
print(response.json())let base_url = "http://192.168.2.1:8080";
let name = "<name>"; // Profile identifier
let response = reqwest::Client::new()
.get(format!("{base_url}/api/v1/profiles/{name}/revisions"))
.send()
.await?
.error_for_status()?;
let body: serde_json::Value = response.json().await?;
println!("{body:#}");Response
[
{
"version": 0,
"cfg_epoch": 0,
"applied_at": "2026-09-29T08:30:00Z",
"applied_by": "string",
"message": "string"
}
]