Get Desired State
const url = 'https://example.com/api/v3/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/desired-state';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v3/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/desired-stateReturn one server-normalized source head for both equal clients.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Exact source head plus the normalized dashboard projection.
object
The complete secret-free desired state for one General Augment Project.
object
Agent behavior plus explicit grants from Project-owned catalogs.
object
Reviewed edge to another Agent in the same Project.
object
object
object
object
One Agent-grantable verb backed by a reviewed Project integration.
object
object
object
Project ceiling that an Agent may narrow but never widen.
object
Exact server-versioned desired-state head identity.
object
Example
{ "api_version": "genaug.desired-state/v3", "assets": [ { "content_type": "text/plain; charset=utf-8", "kind": "soul" } ], "document": { "agents": [ { "delegations": [ { "mode": "as_tool" } ], "entry": false, "memory": { "additionalProperty": "read" } } ], "apiVersion": "genaug/v3", "capabilities": { "additionalProperty": { "kind": "builtin", "method": "GET", "risk": "read", "transport": "streamable_http" } }, "connections": { "additionalProperty": { "kind": "app_backend" } }, "credentialRequirements": { "additionalProperty": { "kind": "api_key" } }, "identity": { "mode": "app_backend", "user_id_claim": "sub" }, "kind": "Project", "memoryNamespaces": { "additionalProperty": { "scope": "user", "sensitive_data": "deny" } }, "metadata": { "version": "1.0.0" }, "policy": { "allow_agent_skill_drafts": true, "allowed_capability_risks": [ "read" ], "history_persistence_allowed": true, "max_concurrent_turns": 32, "max_tool_calls_per_turn": 10, "max_turn_seconds": 120, "messages_per_user_per_minute": 30, "require_approval_for_write": true, "strict_pii_filtering": false, "trace_content_capture": "full", "trace_content_retention_days": 30 } }}Authentication failed with a resumable next action.
FastAPI error envelope shared by v3 management endpoints.
object
One bounded error with a coding-agent-safe recovery action.
Examplegenerated
{ "detail": { "affected_resource": "example", "message": "example", "next_action": "example", "operation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "phase": "example", "reason_code": "example" }}The authenticated actor lacks the required Project authority.
FastAPI error envelope shared by v3 management endpoints.
object
One bounded error with a coding-agent-safe recovery action.
Examplegenerated
{ "detail": { "affected_resource": "example", "message": "example", "next_action": "example", "operation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "phase": "example", "reason_code": "example" }}The scoped management resource was not found.
FastAPI error envelope shared by v3 management endpoints.
object
One bounded error with a coding-agent-safe recovery action.
Examplegenerated
{ "detail": { "affected_resource": "example", "message": "example", "next_action": "example", "operation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "phase": "example", "reason_code": "example" }}A stable management invariant prevented progress.
FastAPI error envelope shared by v3 management endpoints.
object
One bounded error with a coding-agent-safe recovery action.
Examplegenerated
{ "detail": { "affected_resource": "example", "message": "example", "next_action": "example", "operation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "phase": "example", "reason_code": "example" }}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}