Update user settings
curl --request PATCH \
--url https://api.runaether.dev/user/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_connectors_enabled": true,
"auto_archive_on_pr_closed": true,
"auto_archive_on_pr_merged": true,
"default_model": "<string>"
}
'import requests
url = "https://api.runaether.dev/user/settings"
payload = {
"account_connectors_enabled": True,
"auto_archive_on_pr_closed": True,
"auto_archive_on_pr_merged": True,
"default_model": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_connectors_enabled: true,
auto_archive_on_pr_closed: true,
auto_archive_on_pr_merged: true,
default_model: '<string>'
})
};
fetch('https://api.runaether.dev/user/settings', 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://api.runaether.dev/user/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'account_connectors_enabled' => true,
'auto_archive_on_pr_closed' => true,
'auto_archive_on_pr_merged' => true,
'default_model' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/user/settings"
payload := strings.NewReader("{\n \"account_connectors_enabled\": true,\n \"auto_archive_on_pr_closed\": true,\n \"auto_archive_on_pr_merged\": true,\n \"default_model\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.runaether.dev/user/settings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_connectors_enabled\": true,\n \"auto_archive_on_pr_closed\": true,\n \"auto_archive_on_pr_merged\": true,\n \"default_model\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/user/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_connectors_enabled\": true,\n \"auto_archive_on_pr_closed\": true,\n \"auto_archive_on_pr_merged\": true,\n \"default_model\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"account_connectors_enabled": true,
"auto_archive_on_pr_closed": true,
"auto_archive_on_pr_merged": true,
"commit_attribution": "person_author",
"default_agent_type": "codex",
"default_model": "<string>"
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}User Settings
Update user settings
Changes the settings the body names, keeps every one it omits, and returns them all.
Use this tool when you need to:
- Change the agent or model the caller's new tasks default to
- Turn auto-archive on pull request merge or close, or ChatGPT apps on Codex tasks, on or off
- Choose how commits made for the caller are attributed
Examples:
- PATCH /user/settings {"default_agent_type": "claude-code", "default_model": "claude-opus-5-5"}
- PATCH /user/settings {"auto_archive_on_pr_merged": true, "commit_attribution": "aether_author"}
Hints:
- Every field is optional: default_agent_type (codex, claude-code or opencode), default_model, auto_archive_on_pr_merged, auto_archive_on_pr_closed, account_connectors_enabled and commit_attribution (person_author, aether_author or aether_only). A value outside its schema, an empty default_model included, is refused with 422.
- default_agent_type alone keeps the stored model when it runs on that agent, else takes the agent's default model; default_model alone moves to the agent the model requires.
- Refused with 400: a default_model of only spaces, a model that is unknown or retired or does not run on the default_agent_type given with it, a codex or claude-code default without the caller's usable connection for it, and, for a body naming neither agent field, a stored agent and model that no longer form a runnable pair.
- A commit_attribution that names the user (person_author, aether_author) requires their GitHub connection; without one the update is refused with 422 and code commit_attribution_github_required.
- A commit_attribution change, even to its current value, while the acting organization's commit attribution policy forces a value is refused with 409 and code commit_attribution_forced_by_org; the acting organization is the personal one for a session and the pinned one for an API key.
- Use getUserSettings instead to read them; use updateOrg instead to change an organization's commit attribution policy.
- Any authenticated caller may change their own.
PATCH
/
user
/
settings
Update user settings
curl --request PATCH \
--url https://api.runaether.dev/user/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_connectors_enabled": true,
"auto_archive_on_pr_closed": true,
"auto_archive_on_pr_merged": true,
"default_model": "<string>"
}
'import requests
url = "https://api.runaether.dev/user/settings"
payload = {
"account_connectors_enabled": True,
"auto_archive_on_pr_closed": True,
"auto_archive_on_pr_merged": True,
"default_model": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_connectors_enabled: true,
auto_archive_on_pr_closed: true,
auto_archive_on_pr_merged: true,
default_model: '<string>'
})
};
fetch('https://api.runaether.dev/user/settings', 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://api.runaether.dev/user/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'account_connectors_enabled' => true,
'auto_archive_on_pr_closed' => true,
'auto_archive_on_pr_merged' => true,
'default_model' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/user/settings"
payload := strings.NewReader("{\n \"account_connectors_enabled\": true,\n \"auto_archive_on_pr_closed\": true,\n \"auto_archive_on_pr_merged\": true,\n \"default_model\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.runaether.dev/user/settings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_connectors_enabled\": true,\n \"auto_archive_on_pr_closed\": true,\n \"auto_archive_on_pr_merged\": true,\n \"default_model\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/user/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_connectors_enabled\": true,\n \"auto_archive_on_pr_closed\": true,\n \"auto_archive_on_pr_merged\": true,\n \"default_model\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"account_connectors_enabled": true,
"auto_archive_on_pr_closed": true,
"auto_archive_on_pr_merged": true,
"commit_attribution": "person_author",
"default_agent_type": "codex",
"default_model": "<string>"
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
person_author, aether_author, aether_only Available options:
codex, claude-code, opencode Minimum string length:
1Response
OK
Available options:
person_author, aether_author, aether_only Available options:
codex, claude-code, opencode Minimum string length:
1