Compilation and integrations¶
10 endpoints. Every path below is served by contractide-backend behind the gateway at https://api.trilocore.ai.
GET /api/v1/ide/analyses/{uuid}¶
Get Analysis
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
GET /api/v1/ide/analyses/{uuid}/findings¶
Get Analysis Findings
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
POST /api/v1/ide/compile¶
Start Compile
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
ref |
one of | no | — |
settings |
object | no | — |
toolchain |
string | no | — |
workspace_id |
string | yes | — |
GET /api/v1/ide/compile/jobs/{id}¶
Get Job
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
GET /api/v1/ide/healthz¶
Healthz
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
GET /api/v1/ide/integrations¶
List Integrations
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
POST /api/v1/ide/integrations¶
Create Integration
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
account_login |
one of | no | — |
credential_ref |
string | yes | — |
expires_at |
one of | no | — |
installation_id |
string | yes | — |
provider |
string | yes | — |
scopes |
array | no | — |
DELETE /api/v1/ide/integrations/{uuid}¶
Revoke Integration
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
GET /api/v1/ide/templates¶
List Templates
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |
GET /api/v1/ide/toolchains¶
List Toolchains
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | contractide-backend |