Profiles
CompozyOS Profiles HTTP endpoints.
/api/profilesResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/profiles"[ { "archived_at": "2019-08-24T14:15:22Z", "color": "string", "created_at": "2019-08-24T14:15:22Z", "credential_requirements": [ { "missing": true, "provider": "string", "slot": "string", "source_extension": "string" } ], "emoji": "string", "icon": "string", "id": "string", "name": "string", "needs_setup": true, "state": "string", "work_items": 0 }]/api/profilesRequest Body
application/json
JSON request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/profiles" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "archived_at": "2019-08-24T14:15:22Z", "color": "string", "created_at": "2019-08-24T14:15:22Z", "credential_requirements": [ { "missing": true, "provider": "string", "slot": "string", "source_extension": "string" } ], "emoji": "string", "icon": "string", "id": "string", "name": "string", "needs_setup": true, "state": "string", "work_items": 0}/api/profiles/opsResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/profiles/ops"[ { "error": "string", "id": "string", "kind": "string", "profile": "string", "status": "string", "step": "string" }]/api/profiles/ops/{op_id}/retryPath Parameters
Lifecycle operation id
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/profiles/ops/string/retry"{ "error": "string", "id": "string", "kind": "string", "profile": "string", "status": "string", "step": "string"}/api/profiles/selectionQuery Parameters
Selection scope
Value in
- "global"
- "workspace"
Workspace selection lens
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/profiles/selection"[ { "profile": "string", "scope": "string", "workspace_id": "string" }]/api/profiles/selectionRequest Body
application/json
JSON request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/profiles/selection" \ -H "Content-Type: application/json" \ -d '{ "profile": "string", "scope": "string" }'{ "profile": "string", "scope": "string", "workspace_id": "string"}/api/profiles/{name}Path Parameters
Profile name
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/profiles/string"{ "archived_at": "2019-08-24T14:15:22Z", "color": "string", "created_at": "2019-08-24T14:15:22Z", "credential_requirements": [ { "missing": true, "provider": "string", "slot": "string", "source_extension": "string" } ], "emoji": "string", "icon": "string", "id": "string", "name": "string", "needs_setup": true, "state": "string", "work_items": 0}/api/profiles/{name}Path Parameters
Profile name
Request Body
application/json
JSON request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/profiles/string" \ -H "Content-Type: application/json" \ -d '{}'{ "archived_at": "2019-08-24T14:15:22Z", "color": "string", "created_at": "2019-08-24T14:15:22Z", "credential_requirements": [ { "missing": true, "provider": "string", "slot": "string", "source_extension": "string" } ], "emoji": "string", "icon": "string", "id": "string", "name": "string", "needs_setup": true, "state": "string", "work_items": 0}/api/profiles/{name}Path Parameters
Profile name
Query Parameters
Revision returned by the delete plan
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/profiles/string?plan_revision=string"{ "deleted": true, "removed": { "agents": 0, "config_keys": 0, "credential_overrides": 0, "desktop_partitions": 0, "event_summaries": 0, "loops": 0, "mcp_servers": 0, "memory_entries": 0, "palette_pins": 0, "palette_query_hits": 0, "palette_usage": 0, "skills": 0, "terminal_approvals": 0 }}/api/profiles/{name}/archivePath Parameters
Profile name
Request Body
application/json
JSON request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/profiles/string/archive" \ -H "Content-Type: application/json" \ -d '{ "plan_revision": "string" }'{ "frozen_queued_runs": 0, "paused_automations": [ "string" ], "state": "string"}/api/profiles/{name}/archive-planPath Parameters
Profile name
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/profiles/string/archive-plan"{ "approval_blockers": [ "string" ], "automations_to_pause": [ "string" ], "leased_runs": 0, "queued_runs_to_freeze": 0, "revision": "string", "running_sessions": [ "string" ]}/api/profiles/{name}/delete-planPath Parameters
Profile name
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/profiles/string/delete-plan"{ "approval_blockers": [ "string" ], "removed": { "agents": 0, "config_keys": 0, "credential_overrides": 0, "desktop_partitions": 0, "event_summaries": 0, "loops": 0, "mcp_servers": 0, "memory_entries": 0, "palette_pins": 0, "palette_query_hits": 0, "palette_usage": 0, "skills": 0, "terminal_approvals": 0 }, "revision": "string", "selections_to_sweep": 0}/api/profiles/{name}/renamePath Parameters
Profile name
Request Body
application/json
JSON request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/profiles/string/rename" \ -H "Content-Type: application/json" \ -d '{ "new_name": "string", "plan_revision": "string" }'{ "dormant_placements": [ { "extension": "string", "profile": "string", "resource": "string" } ], "renamed": true, "repo_results": [ { "reason": "string", "renamed": true, "workspace_id": "string" } ]}/api/profiles/{name}/rename-planPath Parameters
Profile name
Query Parameters
New profile name
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/profiles/string/rename-plan?new_name=string"{ "dormant_placements": [ { "extension": "string", "profile": "string", "resource": "string" } ], "machine_folders": [ "string" ], "repo_candidates": [ { "path": "string", "workspace": "string", "workspace_id": "string" } ], "revision": "string", "vault_ref_rewrites": 0}/api/profiles/{name}/unarchivePath Parameters
Profile name
Request Body
application/json
JSON request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/profiles/string/unarchive"{ "paused_automations": [ "string" ], "state": "string"}