Architecture¶
24 endpoints. Every path below is served by bevm-backend behind the gateway at https://api.trilocore.ai.
GET /api/v1/arch¶
List Architectures
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
POST /api/v1/arch¶
Create Architecture
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 201 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
adopt_legacy |
boolean | no | — |
chain |
string | no | — |
document |
one of | no | — |
name |
string | no | maxLength 200 |
project_id |
one of | no | — |
target_ref |
one of | no | — |
workspace_id |
one of | no | — |
GET /api/v1/arch/rules¶
List Architecture Rules
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
DELETE /api/v1/arch/{architecture_id}¶
Delete Architecture
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
GET /api/v1/arch/{architecture_id}¶
Get Architecture
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
PATCH /api/v1/arch/{architecture_id}¶
Patch Architecture
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
document |
one of | no | — |
name |
one of | no | — |
project_id |
one of | no | — |
target_ref |
one of | no | — |
workspace_id |
one of | no | — |
PUT /api/v1/arch/{architecture_id}¶
Put Architecture
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
document |
object | yes | — |
name |
one of | no | — |
target_ref |
one of | no | — |
GET /api/v1/arch/{architecture_id}/analyses¶
List Architecture Analyses
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
POST /api/v1/arch/{architecture_id}/analyses¶
Create Architecture Analysis
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 201 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
baseGraph |
one of | no | — |
edges |
one of | no | — |
label |
string | no | maxLength 200 |
nodes |
one of | no | — |
target |
one of | no | — |
GET /api/v1/arch/{architecture_id}/analyses/{analysis_id}¶
Get Architecture Analysis
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
GET /api/v1/arch/{architecture_id}/audit-events¶
List Architecture Audit Events
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
GET /api/v1/arch/{architecture_id}/builds¶
List Architecture Builds
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
POST /api/v1/arch/{architecture_id}/builds¶
Create Architecture Build
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 201 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
apply |
boolean | no | — |
label |
string | no | maxLength 200 |
target |
object | no | — |
GET /api/v1/arch/{architecture_id}/builds/{build_id}¶
Get Architecture Build
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
GET /api/v1/arch/{architecture_id}/diffs¶
List Architecture Diffs
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
POST /api/v1/arch/{architecture_id}/diffs¶
Create Architecture Diff
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 201 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
after |
one of | no | — |
before |
object | no | — |
label |
string | no | maxLength 200 |
GET /api/v1/arch/{architecture_id}/diffs/{diff_id}¶
Get Architecture Diff
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
GET /api/v1/arch/{architecture_id}/snapshots¶
List Architecture Snapshots
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
POST /api/v1/arch/{architecture_id}/snapshots¶
Create Architecture Snapshot
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | required |
| Success | 201 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
label |
string | no | maxLength 200 |
GET /api/v1/arch/{architecture_id}/snapshots/{snapshot_id}¶
Get Architecture Snapshot
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
GET /api/v1/arch/{architecture_id}/threats¶
Get Architecture Threats
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
GET /api/v1/arch/{architecture_id}/traces¶
List Architecture Traces
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |
POST /api/v1/arch/{architecture_id}/traces¶
Create Architecture Trace
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 201 |
| Upstream | bevm-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
label |
string | no | maxLength 200 |
root_address |
one of | no | — |
trace |
object | no | — |
GET /api/v1/arch/{architecture_id}/traces/{trace_id}¶
Get Architecture Trace
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | bevm-backend |