@bluefly/openstandardagents 0.2.5-RC → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.yml +63 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +40 -0
- package/.github/workflows/dependabot-comment.yml +34 -0
- package/.github/workflows/pr-comment.yml +33 -0
- package/.husky/pre-commit +5 -0
- package/.kiro/config.json +21 -0
- package/.kiro/settings/mcp.json +61 -0
- package/.kiro/specs/scripts-migration-api-first/design.md +883 -0
- package/.kiro/specs/scripts-migration-api-first/requirements.md +165 -0
- package/.kiro/specs/scripts-migration-api-first/tasks.md +539 -0
- package/.kiro/specs/{website-design-audit → website-brand-identity}/design.md +381 -0
- package/.kiro/specs/{website-design-audit → website-brand-identity}/requirements.md +88 -0
- package/.kiro/specs/website-brand-identity/tasks.md +981 -0
- package/CHANGELOG.md +23 -0
- package/README.md +12 -3
- package/bin/ossa-dev +42 -0
- package/bin/ossa-export +32 -0
- package/bin/ossa-generate +60 -0
- package/bin/ossa-health +40 -0
- package/bin/ossa-init +26 -0
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +15 -10
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/services/github-sync/github-client.d.ts +14 -0
- package/dist/services/github-sync/github-client.d.ts.map +1 -0
- package/dist/services/github-sync/github-client.js +41 -0
- package/dist/services/github-sync/github-client.js.map +1 -0
- package/dist/services/github-sync/gitlab-client.d.ts +17 -0
- package/dist/services/github-sync/gitlab-client.d.ts.map +1 -0
- package/dist/services/github-sync/gitlab-client.js +42 -0
- package/dist/services/github-sync/gitlab-client.js.map +1 -0
- package/dist/services/github-sync/schemas.d.ts +46 -0
- package/dist/services/github-sync/schemas.d.ts.map +1 -0
- package/dist/services/github-sync/schemas.js +36 -0
- package/dist/services/github-sync/schemas.js.map +1 -0
- package/dist/services/github-sync/sync.service.d.ts +27 -0
- package/dist/services/github-sync/sync.service.d.ts.map +1 -0
- package/dist/services/github-sync/sync.service.js +99 -0
- package/dist/services/github-sync/sync.service.js.map +1 -0
- package/dist/services/runtime/claude/capability-mapper.d.ts +84 -0
- package/dist/services/runtime/claude/capability-mapper.d.ts.map +1 -0
- package/dist/services/runtime/claude/capability-mapper.js +245 -0
- package/dist/services/runtime/claude/capability-mapper.js.map +1 -0
- package/dist/services/runtime/claude/claude-adapter.d.ts +80 -0
- package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -0
- package/dist/services/runtime/claude/claude-adapter.js +287 -0
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -0
- package/dist/services/runtime/claude/manifest-parser.d.ts +77 -0
- package/dist/services/runtime/claude/manifest-parser.d.ts.map +1 -0
- package/dist/services/runtime/claude/manifest-parser.js +169 -0
- package/dist/services/runtime/claude/manifest-parser.js.map +1 -0
- package/dist/services/runtime/claude/types.d.ts +115 -0
- package/dist/services/runtime/claude/types.d.ts.map +1 -0
- package/dist/services/runtime/claude/types.js +6 -0
- package/dist/services/runtime/claude/types.js.map +1 -0
- package/dist/services/validation.service.d.ts.map +1 -1
- package/dist/services/validation.service.js +12 -1
- package/dist/services/validation.service.js.map +1 -1
- package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +85 -208
- package/dist/spec/v0.2.6/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.6/README.md +72 -0
- package/dist/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/dist/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
- package/dist/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
- package/dist/spec/v0.2.6-dev/CHANGELOG.md +164 -0
- package/dist/spec/v0.2.6-dev/README.md +75 -0
- package/dist/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/dist/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/{v0.2.4/ossa-0.2.4-dev.schema.json → v0.2.6-dev/ossa-0.2.5.schema.json} +9 -9
- package/dist/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
- package/{spec/v0.2.4/ossa-0.2.4-dev.schema.json → dist/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json} +9 -9
- package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
- package/dist/spec/v0.2.7/core/agentgraph.md +324 -0
- package/dist/spec/v0.2.7/resources/agentgraph.yaml +135 -0
- package/docs/brand-guide/01-brand-overview.md +37 -0
- package/docs/brand-guide/02-logo-usage.md +43 -0
- package/docs/brand-guide/03-color-palette.md +70 -0
- package/docs/brand-guide/04-typography.md +82 -0
- package/docs/brand-guide/05-voice-and-tone.md +108 -0
- package/docs/brand-guide/06-visual-elements.md +137 -0
- package/docs/brand-guide/07-application-examples.md +153 -0
- package/docs/brand-guide/OssaLogo/OssA_Logo.svg +21 -0
- package/docs/brand-guide/OssaLogo/brand.af +0 -0
- package/docs/brand-guide/README.md +107 -0
- package/docs/comparison.md +315 -0
- package/docs/operations/automation-roadmap.md +245 -0
- package/docs/operations/github-sync-strategy.md +357 -0
- package/examples/anthropic/claude-assistant.ossa.json +5 -4
- package/examples/autogen/multi-agent.ossa.json +6 -4
- package/examples/crewai/research-team.ossa.json +14 -5
- package/examples/cursor/code-review-agent.ossa.json +21 -6
- package/examples/langchain/chain-agent.ossa.json +21 -5
- package/examples/langflow/workflow-agent.ossa.json +2 -3
- package/examples/langgraph/state-machine-agent.ossa.json +2 -3
- package/examples/llamaindex/rag-agent.ossa.json +2 -3
- package/examples/openai/multi-tool-agent.ossa.json +32 -9
- package/examples/openai/swarm-agent.ossa.json +18 -5
- package/examples/vercel/edge-agent.ossa.json +5 -4
- package/openapi/github-sync.yaml +115 -0
- package/package.json +25 -4
- package/scripts/README.md +103 -0
- package/scripts/auto-rebase-mrs.ts +106 -0
- package/scripts/batch-dependabot.sh +57 -0
- package/scripts/configure-gitlab-branch-protection.ts +95 -0
- package/scripts/create-issue-helper.ts +238 -0
- package/scripts/create-milestone-issue.ts +73 -0
- package/scripts/fix-schema-formats.js +82 -0
- package/scripts/generate-agents-catalog.ts +77 -0
- package/scripts/generate-api-docs.ts +218 -0
- package/scripts/generate-cli-docs.ts +410 -0
- package/scripts/generate-config-docs.ts +109 -0
- package/scripts/generate-errors-docs.ts +76 -0
- package/scripts/generate-examples-docs.ts +99 -0
- package/scripts/generate-schema-docs.ts +296 -0
- package/scripts/generate-types-docs.ts +48 -0
- package/scripts/lowercase-docs.ts +43 -0
- package/scripts/manage-milestone-mrs.ts +279 -0
- package/scripts/rebase-all-mrs.sh +75 -0
- package/scripts/sync-github-pr.sh +48 -0
- package/scripts/sync-version.js +40 -0
- package/scripts/sync-wiki.sh +50 -0
- package/scripts/validate-all.js +127 -0
- package/spec/v0.2.4/ossa-0.2.4.schema.json +85 -208
- package/spec/v0.2.6/CHANGELOG.md +401 -0
- package/spec/v0.2.6/README.md +72 -0
- package/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
- package/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
- package/spec/v0.2.6-dev/CHANGELOG.md +164 -0
- package/spec/v0.2.6-dev/README.md +75 -0
- package/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.6-dev/ossa-0.2.5.schema.json +1696 -0
- package/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json +1696 -0
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
- package/spec/v0.2.7/core/agentgraph.md +324 -0
- package/spec/v0.2.7/resources/agentgraph.yaml +135 -0
- package/website/DESIGN_SYSTEM_IMPLEMENTATION.md +445 -0
- package/website/app/about/page.tsx +53 -44
- package/website/app/ecosystem/page.tsx +146 -111
- package/website/app/globals.scss +256 -21
- package/website/app/page.tsx +394 -182
- package/website/app/page.tsx.bak +679 -0
- package/website/app/page.tsx.bak2 +649 -0
- package/website/app/schema/page.tsx +3 -3
- package/website/app/specification/page.tsx +1 -1
- package/website/components/layout/Header.tsx +27 -23
- package/website/components/ui/Badge.tsx +82 -0
- package/website/components/ui/Button.tsx +116 -0
- package/website/components/ui/Card.tsx +167 -0
- package/website/components/ui/Checkbox.tsx +141 -0
- package/website/components/ui/Input.tsx +169 -0
- package/website/components/ui/Radio.tsx +141 -0
- package/website/components/ui/Select.tsx +182 -0
- package/website/components/ui/Tag.tsx +158 -0
- package/website/components/ui/Textarea.tsx +195 -0
- package/website/components/ui/index.ts +11 -0
- package/website/content/docs/{00-HOME.md → 00-home.md} +1 -1
- package/website/content/docs/agents/catalog.md +28 -0
- package/website/content/docs/{AIFlow-Framework-Integration-with-OSSA.md → aiflow-framework-integration-with-ossa.md} +2 -2
- package/website/content/docs/api-reference/index.md +38 -0
- package/website/content/docs/api-reference/ossa-core-api.md +634 -0
- package/website/content/docs/api-reference/ossa-registry-api.md +515 -0
- package/website/content/docs/api-reference/unified-agent-gateway.md +599 -0
- package/website/content/docs/cli-reference/index.md +111 -0
- package/website/content/docs/cli-reference/ossa-agents.md +70 -0
- package/website/content/docs/cli-reference/ossa-export.md +56 -0
- package/website/content/docs/cli-reference/ossa-generate.md +66 -0
- package/website/content/docs/cli-reference/ossa-gitlab-agent.md +57 -0
- package/website/content/docs/cli-reference/ossa-import.md +56 -0
- package/website/content/docs/cli-reference/ossa-init.md +57 -0
- package/website/content/docs/cli-reference/ossa-migrate.md +62 -0
- package/website/content/docs/cli-reference/ossa-run.md +66 -0
- package/website/content/docs/cli-reference/ossa-schema.md +57 -0
- package/website/content/docs/cli-reference/ossa-setup.md +57 -0
- package/website/content/docs/cli-reference/ossa-validate.md +66 -0
- package/website/content/docs/configuration/index.md +97 -0
- package/website/content/docs/deployment/github-mirroring.md +924 -0
- package/website/content/docs/documentation.md +100 -0
- package/website/content/docs/ecosystem/framework-support.md +551 -9
- package/website/content/docs/errors/index.md +10 -0
- package/website/content/docs/examples/{AIFlow-Framework-Integration-with-OSSA.md → aiflow-framework-integration-with-ossa.md} +2 -2
- package/website/content/docs/examples/catalog.md +300 -0
- package/website/content/docs/for-audiences/{Students-Researchers.md → students-researchers.md} +1 -1
- package/website/content/docs/getting-started/{Installation.md → installation.md} +1 -1
- package/website/content/docs/getting-started.md +1 -1
- package/website/content/docs/integrations/aiflow.md +2 -2
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +5 -5
- package/website/content/docs/migration-guides/crewai-to-ossa.md +3 -3
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +7 -7
- package/website/content/docs/migration-guides/langchain-to-ossa.md +4 -4
- package/website/content/docs/openapi-extensions/index.md +1 -1
- package/website/content/docs/ossa-compliant-badge.md +1 -1
- package/website/content/docs/pre-release/index.md +5 -5
- package/website/content/docs/releases/v0.2.6.md +99 -0
- package/website/content/docs/schema-reference/agent-capabilities.md +50 -0
- package/website/content/docs/schema-reference/agent-id.md +52 -0
- package/website/content/docs/schema-reference/agent-name.md +50 -0
- package/website/content/docs/schema-reference/agent-role.md +54 -0
- package/website/content/docs/schema-reference/agent-version.md +50 -0
- package/website/content/docs/schema-reference/index.md +26 -157
- package/website/content/docs/types-reference/index.md +105 -0
- package/website/content/docs/versioning.md +3 -3
- package/website/dev.sh +53 -0
- package/website/docker-compose.dev.yml +36 -0
- package/website/lib/version.ts +1 -1
- package/website/lib/versions.json +45 -20
- package/website/package.json +1 -1
- package/website/styles/_spacing.scss +453 -0
- package/website/styles/_tokens.scss +245 -0
- package/website/styles/_typography.scss +361 -0
- package/website/styles/_variables.scss +270 -19
- package/website/tailwind.config.ts +113 -79
- package/.kiro/specs/agent-buildkit-templates/design.md +0 -495
- package/.kiro/specs/agent-buildkit-templates/requirements.md +0 -165
- package/.kiro/specs/kiro-ide-supercharger/README.md +0 -202
- package/.kiro/specs/kiro-ide-supercharger/design.md +0 -1005
- package/.kiro/specs/kiro-ide-supercharger/requirements.md +0 -141
- package/.kiro/specs/kiro-ide-supercharger/tasks.md +0 -507
- package/docs/issue-19-completion-summary.md +0 -648
- package/docs/issue-19-validation.md +0 -351
- package/website/content/docs/Examples.md +0 -71
- package/website/content/docs/OpenAPI-Extensions.md +0 -934
- package/website/content/docs/core-concepts/Project-Structure.md +0 -348
- package/website/content/docs/examples/Migration-Guides.md +0 -214
- package/website/content/docs/for-audiences/Architects.md +0 -224
- package/website/content/docs/for-audiences/Developers.md +0 -220
- package/website/content/docs/for-audiences/Enterprises.md +0 -256
- package/website/content/docs/getting-started/5-Minute-Overview.md +0 -85
- package/website/content/docs/getting-started/First-Agent.md +0 -196
- package/website/content/docs/getting-started/Hello-World.md +0 -184
- package/website/content/docs/migration-guides/00-INDEX.md +0 -76
- package/website/content/docs/migration-guides/README.md +0 -133
- /package/dist/spec/v0.2.4/{ossa-0.2.4-dev.yaml → ossa-0.2.4.yaml} +0 -0
- /package/spec/v0.2.4/{ossa-0.2.4-dev.yaml → ossa-0.2.4.yaml} +0 -0
|
@@ -0,0 +1,634 @@
|
|
|
1
|
+
# OSSA Master API
|
|
2
|
+
|
|
3
|
+
**Version**: 0.1.9
|
|
4
|
+
|
|
5
|
+
# OSSA - Open Standards for Scalable Agents
|
|
6
|
+
|
|
7
|
+
Master API specification for the OSSA platform, providing comprehensive orchestration,
|
|
8
|
+
governance, and management capabilities for AI agents following OSSA v0.1.9 standards.
|
|
9
|
+
|
|
10
|
+
## Key Capabilities
|
|
11
|
+
- **Agent Orchestration**: Multi-agent coordination and workflow execution
|
|
12
|
+
- **Specification Engine**: Agent manifest validation and certification
|
|
13
|
+
- **Registry Services**: Global agent discovery and federation
|
|
14
|
+
- **Runtime Management**: Production deployment and lifecycle management
|
|
15
|
+
- **Compliance & Governance**: Policy enforcement and audit trails
|
|
16
|
+
- **Observability**: Comprehensive monitoring and tracing
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Base URL
|
|
20
|
+
|
|
21
|
+
- `https://api.llm.bluefly.io/ossa/v1` - Production server
|
|
22
|
+
- `https://api-dev.llm.bluefly.io/ossa/v1` - Development server
|
|
23
|
+
- `http://localhost:3000` - Local development
|
|
24
|
+
|
|
25
|
+
## Authentication
|
|
26
|
+
|
|
27
|
+
This API requires authentication. See [Authentication Guide](../authentication.md) for details.
|
|
28
|
+
|
|
29
|
+
## Endpoints
|
|
30
|
+
|
|
31
|
+
### Health check
|
|
32
|
+
|
|
33
|
+
```http
|
|
34
|
+
GET /health
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Responses**:
|
|
38
|
+
|
|
39
|
+
**200**: undefined
|
|
40
|
+
|
|
41
|
+
**500**: undefined
|
|
42
|
+
|
|
43
|
+
**503**: undefined
|
|
44
|
+
|
|
45
|
+
**Example**:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
curl -X GET "https://api.ossa.dev/health" \
|
|
49
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Readiness check
|
|
53
|
+
|
|
54
|
+
```http
|
|
55
|
+
GET /health/ready
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**Responses**:
|
|
59
|
+
|
|
60
|
+
**200**: undefined
|
|
61
|
+
|
|
62
|
+
**500**: undefined
|
|
63
|
+
|
|
64
|
+
**503**: undefined
|
|
65
|
+
|
|
66
|
+
**Example**:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
curl -X GET "https://api.ossa.dev/health/ready" \
|
|
70
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Liveness check
|
|
74
|
+
|
|
75
|
+
```http
|
|
76
|
+
GET /health/live
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Responses**:
|
|
80
|
+
|
|
81
|
+
**200**: undefined
|
|
82
|
+
|
|
83
|
+
**500**: undefined
|
|
84
|
+
|
|
85
|
+
**503**: undefined
|
|
86
|
+
|
|
87
|
+
**Example**:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
curl -X GET "https://api.ossa.dev/health/live" \
|
|
91
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### List registered agents
|
|
95
|
+
|
|
96
|
+
```http
|
|
97
|
+
GET /agents
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Description**: Query the global agent registry
|
|
101
|
+
|
|
102
|
+
**Parameters**:
|
|
103
|
+
|
|
104
|
+
- `undefined` (undefined) - No description
|
|
105
|
+
- `undefined` (undefined) - No description
|
|
106
|
+
- `undefined` (undefined) - No description
|
|
107
|
+
- `type` (query) - No description
|
|
108
|
+
- `capability` (query) - No description
|
|
109
|
+
- `status` (query) - No description
|
|
110
|
+
|
|
111
|
+
**Responses**:
|
|
112
|
+
|
|
113
|
+
**200**: List of agents
|
|
114
|
+
|
|
115
|
+
```json
|
|
116
|
+
{}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Example**:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
curl -X GET "https://api.ossa.dev/agents" \
|
|
123
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Register new agent
|
|
127
|
+
|
|
128
|
+
```http
|
|
129
|
+
POST /agents
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**Request Body**:
|
|
133
|
+
|
|
134
|
+
```json
|
|
135
|
+
{}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**Responses**:
|
|
139
|
+
|
|
140
|
+
**201**: Agent registered
|
|
141
|
+
|
|
142
|
+
```json
|
|
143
|
+
{}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
**400**: undefined
|
|
147
|
+
|
|
148
|
+
**Example**:
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
curl -X POST "https://api.ossa.dev/agents" \
|
|
152
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
153
|
+
-H "Content-Type: application/json" \
|
|
154
|
+
-d @request.json
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Get agent details
|
|
158
|
+
|
|
159
|
+
```http
|
|
160
|
+
GET /agents/{agentId}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**Parameters**:
|
|
164
|
+
|
|
165
|
+
- `undefined` (undefined) - No description
|
|
166
|
+
|
|
167
|
+
**Responses**:
|
|
168
|
+
|
|
169
|
+
**200**: Agent details
|
|
170
|
+
|
|
171
|
+
```json
|
|
172
|
+
{}
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**404**: undefined
|
|
176
|
+
|
|
177
|
+
**Example**:
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
curl -X GET "https://api.ossa.dev/agents/{agentId}" \
|
|
181
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Update agent registration
|
|
185
|
+
|
|
186
|
+
```http
|
|
187
|
+
PUT /agents/{agentId}
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**Parameters**:
|
|
191
|
+
|
|
192
|
+
- `undefined` (undefined) - No description
|
|
193
|
+
|
|
194
|
+
**Request Body**:
|
|
195
|
+
|
|
196
|
+
```json
|
|
197
|
+
{}
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
**Responses**:
|
|
201
|
+
|
|
202
|
+
**200**: Agent updated
|
|
203
|
+
|
|
204
|
+
```json
|
|
205
|
+
{}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**Example**:
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
curl -X PUT "https://api.ossa.dev/agents/{agentId}" \
|
|
212
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
213
|
+
-H "Content-Type: application/json" \
|
|
214
|
+
-d @request.json
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Unregister agent
|
|
218
|
+
|
|
219
|
+
```http
|
|
220
|
+
DELETE /agents/{agentId}
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
**Parameters**:
|
|
224
|
+
|
|
225
|
+
- `undefined` (undefined) - No description
|
|
226
|
+
|
|
227
|
+
**Responses**:
|
|
228
|
+
|
|
229
|
+
**204**: Agent unregistered
|
|
230
|
+
|
|
231
|
+
**Example**:
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
curl -X DELETE "https://api.ossa.dev/agents/{agentId}" \
|
|
235
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### List workflows
|
|
239
|
+
|
|
240
|
+
```http
|
|
241
|
+
GET /orchestration/workflows
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
**Parameters**:
|
|
245
|
+
|
|
246
|
+
- `undefined` (undefined) - No description
|
|
247
|
+
- `undefined` (undefined) - No description
|
|
248
|
+
|
|
249
|
+
**Responses**:
|
|
250
|
+
|
|
251
|
+
**200**: List of workflows
|
|
252
|
+
|
|
253
|
+
```json
|
|
254
|
+
{}
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
**Example**:
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
curl -X GET "https://api.ossa.dev/orchestration/workflows" \
|
|
261
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Create workflow
|
|
265
|
+
|
|
266
|
+
```http
|
|
267
|
+
POST /orchestration/workflows
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
**Request Body**:
|
|
271
|
+
|
|
272
|
+
```json
|
|
273
|
+
{}
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
**Responses**:
|
|
277
|
+
|
|
278
|
+
**201**: Workflow created
|
|
279
|
+
|
|
280
|
+
```json
|
|
281
|
+
{}
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
**Example**:
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
curl -X POST "https://api.ossa.dev/orchestration/workflows" \
|
|
288
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
289
|
+
-H "Content-Type: application/json" \
|
|
290
|
+
-d @request.json
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Execute workflow
|
|
294
|
+
|
|
295
|
+
```http
|
|
296
|
+
POST /orchestration/workflows/{workflowId}/execute
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
**Parameters**:
|
|
300
|
+
|
|
301
|
+
- `workflowId` (path, required) - No description
|
|
302
|
+
|
|
303
|
+
**Request Body**:
|
|
304
|
+
|
|
305
|
+
```json
|
|
306
|
+
{}
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
**Responses**:
|
|
310
|
+
|
|
311
|
+
**202**: Workflow execution started
|
|
312
|
+
|
|
313
|
+
```json
|
|
314
|
+
{}
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
**Example**:
|
|
318
|
+
|
|
319
|
+
```bash
|
|
320
|
+
curl -X POST "https://api.ossa.dev/orchestration/workflows/{workflowId}/execute" \
|
|
321
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
322
|
+
-H "Content-Type: application/json" \
|
|
323
|
+
-d @request.json
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
### Get execution status
|
|
327
|
+
|
|
328
|
+
```http
|
|
329
|
+
GET /orchestration/executions/{executionId}
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
**Parameters**:
|
|
333
|
+
|
|
334
|
+
- `executionId` (path, required) - No description
|
|
335
|
+
|
|
336
|
+
**Responses**:
|
|
337
|
+
|
|
338
|
+
**200**: Execution status
|
|
339
|
+
|
|
340
|
+
```json
|
|
341
|
+
{}
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
**Example**:
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
curl -X GET "https://api.ossa.dev/orchestration/executions/{executionId}" \
|
|
348
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
### Validate agent manifest
|
|
352
|
+
|
|
353
|
+
```http
|
|
354
|
+
POST /specification/validate
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
**Description**: Validate an OSSA agent manifest against the specification
|
|
358
|
+
|
|
359
|
+
**Request Body**:
|
|
360
|
+
|
|
361
|
+
```json
|
|
362
|
+
{}
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
**Responses**:
|
|
366
|
+
|
|
367
|
+
**200**: Validation result
|
|
368
|
+
|
|
369
|
+
```json
|
|
370
|
+
{}
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
**400**: undefined
|
|
374
|
+
|
|
375
|
+
**500**: undefined
|
|
376
|
+
|
|
377
|
+
**Example**:
|
|
378
|
+
|
|
379
|
+
```bash
|
|
380
|
+
curl -X POST "https://api.ossa.dev/specification/validate" \
|
|
381
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
382
|
+
-H "Content-Type: application/json" \
|
|
383
|
+
-d @request.json
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
### List agent taxonomies
|
|
387
|
+
|
|
388
|
+
```http
|
|
389
|
+
GET /specification/taxonomies
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
**Responses**:
|
|
393
|
+
|
|
394
|
+
**200**: Available taxonomies
|
|
395
|
+
|
|
396
|
+
```json
|
|
397
|
+
{}
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
**Example**:
|
|
401
|
+
|
|
402
|
+
```bash
|
|
403
|
+
curl -X GET "https://api.ossa.dev/specification/taxonomies" \
|
|
404
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
### List capability definitions
|
|
408
|
+
|
|
409
|
+
```http
|
|
410
|
+
GET /specification/capabilities
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
**Parameters**:
|
|
414
|
+
|
|
415
|
+
- `category` (query) - No description
|
|
416
|
+
|
|
417
|
+
**Responses**:
|
|
418
|
+
|
|
419
|
+
**200**: Capability definitions
|
|
420
|
+
|
|
421
|
+
```json
|
|
422
|
+
{}
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
**Example**:
|
|
426
|
+
|
|
427
|
+
```bash
|
|
428
|
+
curl -X GET "https://api.ossa.dev/specification/capabilities" \
|
|
429
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
### Request certification
|
|
433
|
+
|
|
434
|
+
```http
|
|
435
|
+
POST /certification/request
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
**Request Body**:
|
|
439
|
+
|
|
440
|
+
```json
|
|
441
|
+
{}
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
**Responses**:
|
|
445
|
+
|
|
446
|
+
**202**: Certification request accepted
|
|
447
|
+
|
|
448
|
+
```json
|
|
449
|
+
{}
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
**Example**:
|
|
453
|
+
|
|
454
|
+
```bash
|
|
455
|
+
curl -X POST "https://api.ossa.dev/certification/request" \
|
|
456
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
457
|
+
-H "Content-Type: application/json" \
|
|
458
|
+
-d @request.json
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
### Get certification status
|
|
462
|
+
|
|
463
|
+
```http
|
|
464
|
+
GET /certification/{certificationId}
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
**Parameters**:
|
|
468
|
+
|
|
469
|
+
- `certificationId` (path, required) - No description
|
|
470
|
+
|
|
471
|
+
**Responses**:
|
|
472
|
+
|
|
473
|
+
**200**: Certification details
|
|
474
|
+
|
|
475
|
+
```json
|
|
476
|
+
{}
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
**Example**:
|
|
480
|
+
|
|
481
|
+
```bash
|
|
482
|
+
curl -X GET "https://api.ossa.dev/certification/{certificationId}" \
|
|
483
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
### List governance policies
|
|
487
|
+
|
|
488
|
+
```http
|
|
489
|
+
GET /governance/policies
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
**Responses**:
|
|
493
|
+
|
|
494
|
+
**200**: Governance policies
|
|
495
|
+
|
|
496
|
+
```json
|
|
497
|
+
{}
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
**Example**:
|
|
501
|
+
|
|
502
|
+
```bash
|
|
503
|
+
curl -X GET "https://api.ossa.dev/governance/policies" \
|
|
504
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
### Get agent compliance status
|
|
508
|
+
|
|
509
|
+
```http
|
|
510
|
+
GET /governance/compliance/{agentId}
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
**Parameters**:
|
|
514
|
+
|
|
515
|
+
- `undefined` (undefined) - No description
|
|
516
|
+
|
|
517
|
+
**Responses**:
|
|
518
|
+
|
|
519
|
+
**200**: Compliance status
|
|
520
|
+
|
|
521
|
+
```json
|
|
522
|
+
{}
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
**Example**:
|
|
526
|
+
|
|
527
|
+
```bash
|
|
528
|
+
curl -X GET "https://api.ossa.dev/governance/compliance/{agentId}" \
|
|
529
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
### List federation nodes
|
|
533
|
+
|
|
534
|
+
```http
|
|
535
|
+
GET /federation/nodes
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
**Responses**:
|
|
539
|
+
|
|
540
|
+
**200**: Federation nodes
|
|
541
|
+
|
|
542
|
+
```json
|
|
543
|
+
{}
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
**Example**:
|
|
547
|
+
|
|
548
|
+
```bash
|
|
549
|
+
curl -X GET "https://api.ossa.dev/federation/nodes" \
|
|
550
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
551
|
+
```
|
|
552
|
+
|
|
553
|
+
### Join federation
|
|
554
|
+
|
|
555
|
+
```http
|
|
556
|
+
POST /federation/join
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
**Request Body**:
|
|
560
|
+
|
|
561
|
+
```json
|
|
562
|
+
{}
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
**Responses**:
|
|
566
|
+
|
|
567
|
+
**201**: Joined federation
|
|
568
|
+
|
|
569
|
+
```json
|
|
570
|
+
{}
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
**Example**:
|
|
574
|
+
|
|
575
|
+
```bash
|
|
576
|
+
curl -X POST "https://api.ossa.dev/federation/join" \
|
|
577
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
578
|
+
-H "Content-Type: application/json" \
|
|
579
|
+
-d @request.json
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
### Get platform metrics
|
|
583
|
+
|
|
584
|
+
```http
|
|
585
|
+
GET /monitoring/metrics
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
**Responses**:
|
|
589
|
+
|
|
590
|
+
**200**: Platform metrics
|
|
591
|
+
|
|
592
|
+
```json
|
|
593
|
+
{}
|
|
594
|
+
```
|
|
595
|
+
|
|
596
|
+
**Example**:
|
|
597
|
+
|
|
598
|
+
```bash
|
|
599
|
+
curl -X GET "https://api.ossa.dev/monitoring/metrics" \
|
|
600
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
### Get platform events
|
|
604
|
+
|
|
605
|
+
```http
|
|
606
|
+
GET /monitoring/events
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
**Parameters**:
|
|
610
|
+
|
|
611
|
+
- `undefined` (undefined) - No description
|
|
612
|
+
- `undefined` (undefined) - No description
|
|
613
|
+
- `undefined` (undefined) - No description
|
|
614
|
+
|
|
615
|
+
**Responses**:
|
|
616
|
+
|
|
617
|
+
**200**: Platform events
|
|
618
|
+
|
|
619
|
+
```json
|
|
620
|
+
{}
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
**Example**:
|
|
624
|
+
|
|
625
|
+
```bash
|
|
626
|
+
curl -X GET "https://api.ossa.dev/monitoring/events" \
|
|
627
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
## Related Documentation
|
|
631
|
+
|
|
632
|
+
- [CLI Reference](../cli-reference/index.md)
|
|
633
|
+
- [Schema Reference](../schema-reference/index.md)
|
|
634
|
+
- [Authentication Guide](../authentication.md)
|