Skip to content

Artifacts, recordings and provenance

9 endpoints. Every path below is served by bevm-backend behind the gateway at https://api.trilocore.ai.

GET /api/v1/bevm/artifacts/{artifact_id}

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/artifacts/{artifact_id} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/artifacts/{artifact_id}/content

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/artifacts/{artifact_id}/content \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/deployments

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key required
Success 200
Upstream bevm-backend

Request body

Field Type Required Constraints
abi array | null no
artifact string | integer | null no maxLength 256
bytecode string | null no maxLength 2000000
compilation_id string | null no maxLength 64
constructor_args array no
constructor_args_hex string | null no maxLength 1000000
contract_name string no maxLength 256
entrypoint string | null no maxLength 4096
evm_version string | null no maxLength 32
gas_limit integer no
gas_price integer | null no
optimize boolean no
optimize_runs integer no
remappings array | null no
sender string no maxLength 66
solc_version string | null no maxLength 32
source string | null no maxLength 1000000
sources object | null no
value_wei integer | string | number no
curl -X POST https://api.trilocore.ai/api/v1/bevm/deployments \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"abi": [], "artifact": "…", "bytecode": "…"}'

GET /api/v1/bevm/engagement-exports

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/engagement-exports \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/fundings:apply

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/fundings:apply \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/history-entries

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/history-entries \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/provenance-seals/current

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/provenance-seals/current \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/recipe-hints

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/recipe-hints \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/recordings

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/recordings \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"