Skip to content

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
curl -X GET https://api.trilocore.ai/api/v1/ide/analyses/{uuid} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

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
curl -X GET https://api.trilocore.ai/api/v1/ide/analyses/{uuid}/findings \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

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
curl -X POST https://api.trilocore.ai/api/v1/ide/compile \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"workspace_id": "…"}'

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
curl -X GET https://api.trilocore.ai/api/v1/ide/compile/jobs/{id} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

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
curl -X GET https://api.trilocore.ai/api/v1/ide/healthz \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

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
curl -X GET https://api.trilocore.ai/api/v1/ide/integrations \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

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
curl -X POST https://api.trilocore.ai/api/v1/ide/integrations \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"provider": "…", "installation_id": "…", "credential_ref": "…"}'

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
curl -X DELETE https://api.trilocore.ai/api/v1/ide/integrations/{uuid} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

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
curl -X GET https://api.trilocore.ai/api/v1/ide/templates \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

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
curl -X GET https://api.trilocore.ai/api/v1/ide/toolchains \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"