Compilation and integrations¶
10 endpoints. Every path below is served by trilocore-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 | trilocore-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 | trilocore-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 | trilocore-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 | trilocore-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 | trilocore-contractide-backend |
▶ Run this example in the sandbox
GET /api/v1/ide/integrations¶
List Integrations
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | trilocore-contractide-backend |
| Pagination | paged: page_size ≤ 200 (default 50) + page_token; the body is {data, has_more, next_page_token, page_size} |
Query parameters
| Parameter | Type | Required | Constraints | Description |
|---|---|---|---|---|
workspace_id |
string | yes | — | — |
page_size |
integer | no | default 50, clamped to 200, minimum 1 |
Items per page. Default 50; values above 200 are clamped to 200 (never an error). The effective value is echoed as page_size. |
page_token |
string | no | maxLength 2048 |
Opaque token from a previous page's next_page_token. Valid for 3 days, only with the same filters and the same caller. Omit it to start from the first page. |
▶ Run this example in the sandbox
POST /api/v1/ide/integrations¶
Create Integration
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | trilocore-contractide-backend |
Query parameters
| Parameter | Type | Required | Constraints | Description |
|---|---|---|---|---|
workspace_id |
string | yes | — | — |
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 | trilocore-contractide-backend |
Query parameters
| Parameter | Type | Required | Constraints | Description |
|---|---|---|---|---|
workspace_id |
string | yes | — | — |
GET /api/v1/ide/templates¶
List Templates
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | trilocore-contractide-backend |
▶ Run this example in the sandbox
GET /api/v1/ide/toolchains¶
List Toolchains
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | trilocore-contractide-backend |