Update project
curl --request PATCH \
--url https://api.runaether.dev/projects/{projectID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"archived": true,
"default_agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"name": "<string>",
"repository": {
"review_policy": {
"actor_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment_trigger_enabled": true,
"post_demo_video": true,
"post_screenshots": true,
"post_verdicts": true,
"prompt": "<string>",
"respond_to_comments_enabled": true
}
},
"task_defaults": {
"auto_fix_ci": true,
"auto_fix_ci_instructions": "<string>",
"auto_fix_pr_comments": true,
"auto_fix_pr_comments_instructions": "<string>",
"auto_rebase": true,
"auto_rebase_instructions": "<string>",
"interaction_mode": "<string>",
"model": "<string>",
"post_pr_demo_video": true,
"post_pr_screenshots": true,
"reasoning_effort": "<string>"
}
}
'import requests
url = "https://api.runaether.dev/projects/{projectID}"
payload = {
"archived": True,
"default_agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"name": "<string>",
"repository": { "review_policy": {
"actor_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment_trigger_enabled": True,
"post_demo_video": True,
"post_screenshots": True,
"post_verdicts": True,
"prompt": "<string>",
"respond_to_comments_enabled": True
} },
"task_defaults": {
"auto_fix_ci": True,
"auto_fix_ci_instructions": "<string>",
"auto_fix_pr_comments": True,
"auto_fix_pr_comments_instructions": "<string>",
"auto_rebase": True,
"auto_rebase_instructions": "<string>",
"interaction_mode": "<string>",
"model": "<string>",
"post_pr_demo_video": True,
"post_pr_screenshots": True,
"reasoning_effort": "<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({
archived: true,
default_agent_profile_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
description: '<string>',
name: '<string>',
repository: {
review_policy: {
actor_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
agent_profile_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
comment_trigger_enabled: true,
post_demo_video: true,
post_screenshots: true,
post_verdicts: true,
prompt: '<string>',
respond_to_comments_enabled: true
}
},
task_defaults: {
auto_fix_ci: true,
auto_fix_ci_instructions: '<string>',
auto_fix_pr_comments: true,
auto_fix_pr_comments_instructions: '<string>',
auto_rebase: true,
auto_rebase_instructions: '<string>',
interaction_mode: '<string>',
model: '<string>',
post_pr_demo_video: true,
post_pr_screenshots: true,
reasoning_effort: '<string>'
}
})
};
fetch('https://api.runaether.dev/projects/{projectID}', 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/projects/{projectID}",
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([
'archived' => true,
'default_agent_profile_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'description' => '<string>',
'name' => '<string>',
'repository' => [
'review_policy' => [
'actor_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'agent_profile_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'comment_trigger_enabled' => true,
'post_demo_video' => true,
'post_screenshots' => true,
'post_verdicts' => true,
'prompt' => '<string>',
'respond_to_comments_enabled' => true
]
],
'task_defaults' => [
'auto_fix_ci' => true,
'auto_fix_ci_instructions' => '<string>',
'auto_fix_pr_comments' => true,
'auto_fix_pr_comments_instructions' => '<string>',
'auto_rebase' => true,
'auto_rebase_instructions' => '<string>',
'interaction_mode' => '<string>',
'model' => '<string>',
'post_pr_demo_video' => true,
'post_pr_screenshots' => true,
'reasoning_effort' => '<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/projects/{projectID}"
payload := strings.NewReader("{\n \"archived\": true,\n \"default_agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"repository\": {\n \"review_policy\": {\n \"actor_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"comment_trigger_enabled\": true,\n \"post_demo_video\": true,\n \"post_screenshots\": true,\n \"post_verdicts\": true,\n \"prompt\": \"<string>\",\n \"respond_to_comments_enabled\": true\n }\n },\n \"task_defaults\": {\n \"auto_fix_ci\": true,\n \"auto_fix_ci_instructions\": \"<string>\",\n \"auto_fix_pr_comments\": true,\n \"auto_fix_pr_comments_instructions\": \"<string>\",\n \"auto_rebase\": true,\n \"auto_rebase_instructions\": \"<string>\",\n \"interaction_mode\": \"<string>\",\n \"model\": \"<string>\",\n \"post_pr_demo_video\": true,\n \"post_pr_screenshots\": true,\n \"reasoning_effort\": \"<string>\"\n }\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/projects/{projectID}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"archived\": true,\n \"default_agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"repository\": {\n \"review_policy\": {\n \"actor_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"comment_trigger_enabled\": true,\n \"post_demo_video\": true,\n \"post_screenshots\": true,\n \"post_verdicts\": true,\n \"prompt\": \"<string>\",\n \"respond_to_comments_enabled\": true\n }\n },\n \"task_defaults\": {\n \"auto_fix_ci\": true,\n \"auto_fix_ci_instructions\": \"<string>\",\n \"auto_fix_pr_comments\": true,\n \"auto_fix_pr_comments_instructions\": \"<string>\",\n \"auto_rebase\": true,\n \"auto_rebase_instructions\": \"<string>\",\n \"interaction_mode\": \"<string>\",\n \"model\": \"<string>\",\n \"post_pr_demo_video\": true,\n \"post_pr_screenshots\": true,\n \"reasoning_effort\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/projects/{projectID}")
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 \"archived\": true,\n \"default_agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"repository\": {\n \"review_policy\": {\n \"actor_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"comment_trigger_enabled\": true,\n \"post_demo_video\": true,\n \"post_screenshots\": true,\n \"post_verdicts\": true,\n \"prompt\": \"<string>\",\n \"respond_to_comments_enabled\": true\n }\n },\n \"task_defaults\": {\n \"auto_fix_ci\": true,\n \"auto_fix_ci_instructions\": \"<string>\",\n \"auto_fix_pr_comments\": true,\n \"auto_fix_pr_comments_instructions\": \"<string>\",\n \"auto_rebase\": true,\n \"auto_rebase_instructions\": \"<string>\",\n \"interaction_mode\": \"<string>\",\n \"model\": \"<string>\",\n \"post_pr_demo_video\": true,\n \"post_pr_screenshots\": true,\n \"reasoning_effort\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"archive": {
"state": "active"
},
"created_at": "2023-11-07T05:31:56Z",
"default_agent_profile": {
"agent_type": "codex",
"created_at": "2023-11-07T05:31:56Z",
"fallback": {
"mode": "none"
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"name": "<string>",
"reasoning_effort": "<string>",
"runs_on": {
"runs_on": "default"
},
"updated_at": "2023-11-07T05:31:56Z"
},
"default_agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mobile_testing_mode": "off",
"name": "<string>",
"repository": {
"default_branch": "<string>",
"github_repo_id": 4503599627370496,
"link": {
"installation_id": 4503599627370496,
"state": "connected"
},
"name": "<string>",
"owner": "<string>",
"review_policy": {
"actor_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aether_prs_auto_trigger": "disabled",
"aether_prs_mode": "review_only",
"agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment_trigger_enabled": true,
"other_prs_auto_trigger": "disabled",
"other_prs_mode": "review_only",
"post_demo_video": true,
"post_screenshots": true,
"post_verdicts": true,
"prompt": "<string>",
"respond_to_comments_enabled": true
},
"url": "<string>"
},
"task_defaults": {
"agent_type": "codex",
"auto_fix_ci": true,
"auto_fix_ci_instructions": "<string>",
"auto_fix_pr_comments": true,
"auto_fix_pr_comments_instructions": "<string>",
"auto_rebase": true,
"auto_rebase_instructions": "<string>",
"default_vm_size": "medium",
"interaction_mode": "<string>",
"model": "<string>",
"post_pr_demo_video": true,
"post_pr_screenshots": true,
"reasoning_effort": "<string>"
},
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Projects
Update project
Applies a merge patch to the project and answers with the project it left: an absent field keeps its value and null clears a nullable one.
Use this tool when you need to:
- Change a project's name, description, mobile testing mode, default agent profile or task defaults (agent, model, mode, VM size, PR automations)
- Turn the repository's PR reviews on or off, or change their triggers, modes, prompt, actor or agent profile
- Archive a project, or unarchive an archived one
Examples:
- PATCH /projects/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21 {"task_defaults": {"agent_type": "claude-code", "model": "claude-opus-5-5", "reasoning_effort": "high", "default_vm_size": "medium"}}
- PATCH /projects/{projectID} {"repository": {"review_policy": {"aether_prs_auto_trigger": "on_pr_created", "aether_prs_mode": "fix_on_request", "actor_user_id": "0b9d3e57-2c1a-4f6e-8d7b-5a4c3e2f1d09"}}}
Hints:
- projectID is the project's uuid. The body names at least one field: name, description, mobile_testing_mode, default_agent_profile_id, task_defaults, repository (whose one field is review_policy) or archived; task_defaults and review_policy each name at least one of their own fields.
- Every field of a getProject read's task_defaults and of its repository's review_policy, and its name, description, mobile_testing_mode and default_agent_profile_id, is a field of the patch under the same name and in the same place; the read's other fields (id, default_agent_profile, archive, created_at, updated_at and the repository's identity and link) are refused as fields outside it.
- So a read projected onto those writable fields, with one changed, is a valid patch, except that a null review_policy.actor_user_id, or a null repository, must be left out: a patch sets a review actor and never clears it.
- name is 1 to 100 characters, a letter or digit followed by letters, digits, underscores or hyphens; description is at most 500 characters; mobile_testing_mode is off, tasks or tasks_and_reviews; default_agent_profile_id is the uuid of one of the organization's agent profiles, or null to clear it.
- task_defaults: default_vm_size (medium, large or xl, or null), agent_type (codex, claude-code or opencode), model, interaction_mode (default or plan), reasoning_effort (or null), the booleans auto_fix_ci, auto_fix_pr_comments, auto_rebase, post_pr_screenshots and post_pr_demo_video, and auto_fix_ci_instructions, auto_fix_pr_comments_instructions and auto_rebase_instructions (text, or null to clear).
- A patch that changes agent_type, model, interaction_mode or reasoning_effort is checked with the project's values of the others against what the caller's tasks run on (the model, its agent and its effort together, and a connection of the caller's for the agent, but not the balance), and one that sends them unchanged writes none of them.
- review_policy: prompt (non-blank text), aether_prs_auto_trigger and other_prs_auto_trigger (disabled, on_pr_created or on_every_push), aether_prs_mode and other_prs_mode (review_only, fix_on_request or apply_fixes), the booleans comment_trigger_enabled, respond_to_comments_enabled, post_screenshots, post_demo_video and post_verdicts (false posts every review as a comment instead of an approval or change request), actor_user_id (the uuid of the member reviews run as) and agent_profile_id (a profile uuid, or null to clear).
- archived changes alone: true archives a live project at once, clearing its default_agent_profile_id and turning its repository's reviews off, and its workspaces, warm slots, pool machines, automations, environment variables, secret files and Linear and Slack routes are released or deleted in the background.
- archived false unarchives the project, restoring the project and its repository, reviewing nothing, and none of what its archive released. A project already in the state asked for is answered unchanged.
- Answers 200 with the Project as getProject reads it. Use getProject first to read the values to patch, importGithubRepo to link a repository, and listAgentProfiles to find a profile id.
- Restricted to an owner or admin of the project's organization: a member is refused with 403 control_forbidden, a viewer or billing member with 403 org_role_insufficient, a suspended organization with 403 org_suspended, and an agent host's grant with 403 agent_host_route_not_allowed; a project that does not exist or is in an organization the caller does not belong to is 404; 503 when the membership check is unavailable.
- The schema answers 422 for a patch naming no field, a field outside the patch, a null on a field that is not nullable, a value outside its type, length, pattern or enum, and a profile or actor id that is not a uuid; archived beside another field is a 422 too.
- The handler answers 422 for a default_agent_profile_id or agent_profile_id naming no agent profile of the organization, an instructions value or review prompt of whitespace only, and a patch that would leave a review trigger on while the repository's link is disconnected.
- Refused with 400 for agent defaults the caller's tasks cannot run on; 409 project_archived for any field but archived on an archived project; 409 project_unarchive_conflict while another live project of the organization holds its repository; and 409 project_has_no_repository for a review setting of a project with no repository.
- Refused with 409 and no domain code when the project's agent selection changed while the patch was saved (read it again and retry), or when PR reviews are already on for another project linked to the same repository.
- A review actor the triggers need or cannot have is refused: 409 pr_review_actor_required when a trigger would be on with no actor (send actor_user_id with it), 400 pr_review_actor_not_member for one who is not an owner, admin or member of the organization, and 409 pr_review_actor_deleting for one deleting their account.
- Turning aether_prs_auto_trigger off while unarchived tasks of the project opt into merge_when_ready is refused with 409 pr_review_required_by_merge_when_ready, naming each task: turn merge_when_ready off on them, or archive them, first. Archiving the project, or disconnecting its GitHub installation, turns the review off without this refusal: a disconnect also drops the mirrored pull requests, and once the installation is back each opted-in task's open pull request shows no_aether_review_in_org.
PATCH
/
projects
/
{projectID}
Update project
curl --request PATCH \
--url https://api.runaether.dev/projects/{projectID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"archived": true,
"default_agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"name": "<string>",
"repository": {
"review_policy": {
"actor_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment_trigger_enabled": true,
"post_demo_video": true,
"post_screenshots": true,
"post_verdicts": true,
"prompt": "<string>",
"respond_to_comments_enabled": true
}
},
"task_defaults": {
"auto_fix_ci": true,
"auto_fix_ci_instructions": "<string>",
"auto_fix_pr_comments": true,
"auto_fix_pr_comments_instructions": "<string>",
"auto_rebase": true,
"auto_rebase_instructions": "<string>",
"interaction_mode": "<string>",
"model": "<string>",
"post_pr_demo_video": true,
"post_pr_screenshots": true,
"reasoning_effort": "<string>"
}
}
'import requests
url = "https://api.runaether.dev/projects/{projectID}"
payload = {
"archived": True,
"default_agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"name": "<string>",
"repository": { "review_policy": {
"actor_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment_trigger_enabled": True,
"post_demo_video": True,
"post_screenshots": True,
"post_verdicts": True,
"prompt": "<string>",
"respond_to_comments_enabled": True
} },
"task_defaults": {
"auto_fix_ci": True,
"auto_fix_ci_instructions": "<string>",
"auto_fix_pr_comments": True,
"auto_fix_pr_comments_instructions": "<string>",
"auto_rebase": True,
"auto_rebase_instructions": "<string>",
"interaction_mode": "<string>",
"model": "<string>",
"post_pr_demo_video": True,
"post_pr_screenshots": True,
"reasoning_effort": "<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({
archived: true,
default_agent_profile_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
description: '<string>',
name: '<string>',
repository: {
review_policy: {
actor_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
agent_profile_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
comment_trigger_enabled: true,
post_demo_video: true,
post_screenshots: true,
post_verdicts: true,
prompt: '<string>',
respond_to_comments_enabled: true
}
},
task_defaults: {
auto_fix_ci: true,
auto_fix_ci_instructions: '<string>',
auto_fix_pr_comments: true,
auto_fix_pr_comments_instructions: '<string>',
auto_rebase: true,
auto_rebase_instructions: '<string>',
interaction_mode: '<string>',
model: '<string>',
post_pr_demo_video: true,
post_pr_screenshots: true,
reasoning_effort: '<string>'
}
})
};
fetch('https://api.runaether.dev/projects/{projectID}', 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/projects/{projectID}",
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([
'archived' => true,
'default_agent_profile_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'description' => '<string>',
'name' => '<string>',
'repository' => [
'review_policy' => [
'actor_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'agent_profile_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'comment_trigger_enabled' => true,
'post_demo_video' => true,
'post_screenshots' => true,
'post_verdicts' => true,
'prompt' => '<string>',
'respond_to_comments_enabled' => true
]
],
'task_defaults' => [
'auto_fix_ci' => true,
'auto_fix_ci_instructions' => '<string>',
'auto_fix_pr_comments' => true,
'auto_fix_pr_comments_instructions' => '<string>',
'auto_rebase' => true,
'auto_rebase_instructions' => '<string>',
'interaction_mode' => '<string>',
'model' => '<string>',
'post_pr_demo_video' => true,
'post_pr_screenshots' => true,
'reasoning_effort' => '<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/projects/{projectID}"
payload := strings.NewReader("{\n \"archived\": true,\n \"default_agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"repository\": {\n \"review_policy\": {\n \"actor_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"comment_trigger_enabled\": true,\n \"post_demo_video\": true,\n \"post_screenshots\": true,\n \"post_verdicts\": true,\n \"prompt\": \"<string>\",\n \"respond_to_comments_enabled\": true\n }\n },\n \"task_defaults\": {\n \"auto_fix_ci\": true,\n \"auto_fix_ci_instructions\": \"<string>\",\n \"auto_fix_pr_comments\": true,\n \"auto_fix_pr_comments_instructions\": \"<string>\",\n \"auto_rebase\": true,\n \"auto_rebase_instructions\": \"<string>\",\n \"interaction_mode\": \"<string>\",\n \"model\": \"<string>\",\n \"post_pr_demo_video\": true,\n \"post_pr_screenshots\": true,\n \"reasoning_effort\": \"<string>\"\n }\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/projects/{projectID}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"archived\": true,\n \"default_agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"repository\": {\n \"review_policy\": {\n \"actor_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"comment_trigger_enabled\": true,\n \"post_demo_video\": true,\n \"post_screenshots\": true,\n \"post_verdicts\": true,\n \"prompt\": \"<string>\",\n \"respond_to_comments_enabled\": true\n }\n },\n \"task_defaults\": {\n \"auto_fix_ci\": true,\n \"auto_fix_ci_instructions\": \"<string>\",\n \"auto_fix_pr_comments\": true,\n \"auto_fix_pr_comments_instructions\": \"<string>\",\n \"auto_rebase\": true,\n \"auto_rebase_instructions\": \"<string>\",\n \"interaction_mode\": \"<string>\",\n \"model\": \"<string>\",\n \"post_pr_demo_video\": true,\n \"post_pr_screenshots\": true,\n \"reasoning_effort\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/projects/{projectID}")
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 \"archived\": true,\n \"default_agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"repository\": {\n \"review_policy\": {\n \"actor_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agent_profile_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"comment_trigger_enabled\": true,\n \"post_demo_video\": true,\n \"post_screenshots\": true,\n \"post_verdicts\": true,\n \"prompt\": \"<string>\",\n \"respond_to_comments_enabled\": true\n }\n },\n \"task_defaults\": {\n \"auto_fix_ci\": true,\n \"auto_fix_ci_instructions\": \"<string>\",\n \"auto_fix_pr_comments\": true,\n \"auto_fix_pr_comments_instructions\": \"<string>\",\n \"auto_rebase\": true,\n \"auto_rebase_instructions\": \"<string>\",\n \"interaction_mode\": \"<string>\",\n \"model\": \"<string>\",\n \"post_pr_demo_video\": true,\n \"post_pr_screenshots\": true,\n \"reasoning_effort\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"archive": {
"state": "active"
},
"created_at": "2023-11-07T05:31:56Z",
"default_agent_profile": {
"agent_type": "codex",
"created_at": "2023-11-07T05:31:56Z",
"fallback": {
"mode": "none"
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"name": "<string>",
"reasoning_effort": "<string>",
"runs_on": {
"runs_on": "default"
},
"updated_at": "2023-11-07T05:31:56Z"
},
"default_agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mobile_testing_mode": "off",
"name": "<string>",
"repository": {
"default_branch": "<string>",
"github_repo_id": 4503599627370496,
"link": {
"installation_id": 4503599627370496,
"state": "connected"
},
"name": "<string>",
"owner": "<string>",
"review_policy": {
"actor_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aether_prs_auto_trigger": "disabled",
"aether_prs_mode": "review_only",
"agent_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment_trigger_enabled": true,
"other_prs_auto_trigger": "disabled",
"other_prs_mode": "review_only",
"post_demo_video": true,
"post_screenshots": true,
"post_verdicts": true,
"prompt": "<string>",
"respond_to_comments_enabled": true
},
"url": "<string>"
},
"task_defaults": {
"agent_type": "codex",
"auto_fix_ci": true,
"auto_fix_ci_instructions": "<string>",
"auto_fix_pr_comments": true,
"auto_fix_pr_comments_instructions": "<string>",
"auto_rebase": true,
"auto_rebase_instructions": "<string>",
"default_vm_size": "medium",
"interaction_mode": "<string>",
"model": "<string>",
"post_pr_demo_video": true,
"post_pr_screenshots": true,
"reasoning_effort": "<string>"
},
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Authorizations
Body
application/json
Response
OK