Skip to content

Execution

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

GET /api/v1/bevm/executions

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream trilocore-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
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.
selector string no — —

Request body

  • application/json: a JSON object
curl -X GET https://api.trilocore.ai/api/v1/bevm/executions \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/executions/{execution_id}

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

Request body

  • application/json: a JSON object
curl -X GET https://api.trilocore.ai/api/v1/bevm/executions/{execution_id} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/executions/{execution_id}/analyses

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

Request body

Field Type Required Constraints
force boolean no —
mode string no —
curl -X POST https://api.trilocore.ai/api/v1/bevm/executions/{execution_id}/analyses \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"force": false, "mode": "…"}'

GET /api/v1/bevm/executions/{execution_id}/events

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

Query parameters

Parameter Type Required Constraints Description
after integer no minimum 0 —

Request body

  • application/json: a JSON object
curl -X GET https://api.trilocore.ai/api/v1/bevm/executions/{execution_id}/events \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/executions/{execution_id}/traces

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

Request body

  • application/json: a JSON object
curl -X GET https://api.trilocore.ai/api/v1/bevm/executions/{execution_id}/traces \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/stateless/calls

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

Request body

Field Type Required Constraints
abi array no —
address string yes —
args array no —
block one of no —
function string yes —
gas_limit integer no —
network one of no —
rpc_url one of no —
sender one of no —
value_wei integer no —
curl -X POST https://api.trilocore.ai/api/v1/bevm/stateless/calls \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address": "…", "function": "…"}'

POST /api/v1/bevm/stateless/deployments

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

Request body

Field Type Required Constraints
abi array no —
block one of no —
bytecode string yes —
constructor_args array no —
gas_limit integer no —
network one of no —
rpc_url one of no —
sender one of no —
value_wei integer no —
curl -X POST https://api.trilocore.ai/api/v1/bevm/stateless/deployments \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"bytecode": "…"}'