curl --request POST \
--url https://api.reasonmachines.ai/v3/organizations/{orgId}/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"visibility": "workspace",
"kind": "local",
"cloud_enabled": true,
"resources": [],
"source_folders": [],
"preferred_dir": "<string>",
"project_md": "<string>",
"note": "<string>"
}
'import requests
url = "https://api.reasonmachines.ai/v3/organizations/{orgId}/projects"
payload = {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"visibility": "workspace",
"kind": "local",
"cloud_enabled": True,
"resources": [],
"source_folders": [],
"preferred_dir": "<string>",
"project_md": "<string>",
"note": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
slug: '<string>',
description: '<string>',
visibility: 'workspace',
kind: 'local',
cloud_enabled: true,
resources: [],
source_folders: [],
preferred_dir: '<string>',
project_md: '<string>',
note: '<string>'
})
};
fetch('https://api.reasonmachines.ai/v3/organizations/{orgId}/projects', 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.reasonmachines.ai/v3/organizations/{orgId}/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'slug' => '<string>',
'description' => '<string>',
'visibility' => 'workspace',
'kind' => 'local',
'cloud_enabled' => true,
'resources' => [
],
'source_folders' => [
],
'preferred_dir' => '<string>',
'project_md' => '<string>',
'note' => '<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.reasonmachines.ai/v3/organizations/{orgId}/projects"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"slug\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"workspace\",\n \"kind\": \"local\",\n \"cloud_enabled\": true,\n \"resources\": [],\n \"source_folders\": [],\n \"preferred_dir\": \"<string>\",\n \"project_md\": \"<string>\",\n \"note\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.reasonmachines.ai/v3/organizations/{orgId}/projects")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"slug\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"workspace\",\n \"kind\": \"local\",\n \"cloud_enabled\": true,\n \"resources\": [],\n \"source_folders\": [],\n \"preferred_dir\": \"<string>\",\n \"project_md\": \"<string>\",\n \"note\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reasonmachines.ai/v3/organizations/{orgId}/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"slug\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"workspace\",\n \"kind\": \"local\",\n \"cloud_enabled\": true,\n \"resources\": [],\n \"source_folders\": [],\n \"preferred_dir\": \"<string>\",\n \"project_md\": \"<string>\",\n \"note\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"kind": "local",
"cloud_enabled": true,
"visibility": "workspace",
"resources": [
{
"id": "<string>",
"role": "primary",
"access_mode": "read_only",
"display_name": "<string>",
"status": "active",
"write_allowed": true,
"kind": "repository",
"scm_repository_id": "<string>",
"provider": "<string>",
"full_path": "<string>"
}
]
}{
"error": "missing_scope",
"required_scope": "sessions:read"
}Create project
Creates a project in the authenticated workspace. Requires run and a write-capable workspace role. Supply a stable slug for find-or-create clients: concurrent creates return 409 for the same slug; list projects to recover the existing accessible project. A project groups sessions; it does not allocate a sandbox or grant Device access.
Scope:runcurl --request POST \
--url https://api.reasonmachines.ai/v3/organizations/{orgId}/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"visibility": "workspace",
"kind": "local",
"cloud_enabled": true,
"resources": [],
"source_folders": [],
"preferred_dir": "<string>",
"project_md": "<string>",
"note": "<string>"
}
'import requests
url = "https://api.reasonmachines.ai/v3/organizations/{orgId}/projects"
payload = {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"visibility": "workspace",
"kind": "local",
"cloud_enabled": True,
"resources": [],
"source_folders": [],
"preferred_dir": "<string>",
"project_md": "<string>",
"note": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
slug: '<string>',
description: '<string>',
visibility: 'workspace',
kind: 'local',
cloud_enabled: true,
resources: [],
source_folders: [],
preferred_dir: '<string>',
project_md: '<string>',
note: '<string>'
})
};
fetch('https://api.reasonmachines.ai/v3/organizations/{orgId}/projects', 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.reasonmachines.ai/v3/organizations/{orgId}/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'slug' => '<string>',
'description' => '<string>',
'visibility' => 'workspace',
'kind' => 'local',
'cloud_enabled' => true,
'resources' => [
],
'source_folders' => [
],
'preferred_dir' => '<string>',
'project_md' => '<string>',
'note' => '<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.reasonmachines.ai/v3/organizations/{orgId}/projects"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"slug\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"workspace\",\n \"kind\": \"local\",\n \"cloud_enabled\": true,\n \"resources\": [],\n \"source_folders\": [],\n \"preferred_dir\": \"<string>\",\n \"project_md\": \"<string>\",\n \"note\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.reasonmachines.ai/v3/organizations/{orgId}/projects")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"slug\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"workspace\",\n \"kind\": \"local\",\n \"cloud_enabled\": true,\n \"resources\": [],\n \"source_folders\": [],\n \"preferred_dir\": \"<string>\",\n \"project_md\": \"<string>\",\n \"note\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reasonmachines.ai/v3/organizations/{orgId}/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"slug\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"workspace\",\n \"kind\": \"local\",\n \"cloud_enabled\": true,\n \"resources\": [],\n \"source_folders\": [],\n \"preferred_dir\": \"<string>\",\n \"project_md\": \"<string>\",\n \"note\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"kind": "local",
"cloud_enabled": true,
"visibility": "workspace",
"resources": [
{
"id": "<string>",
"role": "primary",
"access_mode": "read_only",
"display_name": "<string>",
"status": "active",
"write_allowed": true,
"kind": "repository",
"scm_repository_id": "<string>",
"provider": "<string>",
"full_path": "<string>"
}
]
}{
"error": "missing_scope",
"required_scope": "sessions:read"
}Authorizations
Your ara_ API key from Settings > Ara API. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, knowledge:read, memory:read, memory:write, skills:read, skills:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, automations:read, automations:write, agent_auth:read. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:debug is privileged: it expands diagnostic session events only for organization owners/admins.
Path Parameters
Organization id or slug. Resolve it with GET /v3/self.
Body
Create a project. An explicit slug is unique within the workspace; a collision returns 409 rather than creating a suffixed duplicate.
1 - 120120^[a-z0-9]+(?:-[a-z0-9]+)*$2000workspace, private local, remote 100- Option 1
- Option 2
Show child attributes
Show child attributes
1001 - 40964096Response
Created project.
An existing, accessible project and its session resources.
Pass this id as project_id when creating or listing sessions.
local, remote Whether this Project permits the default cloud session target. When false, select a compatible Device target explicitly.
workspace, private - Option 1
- Option 2
Show child attributes
Show child attributes

