Sessions and forks
6 endpoints. Every path below is served by bevm-backend behind the gateway at https://api.trilocore.ai.
POST /api/v1/bevm/blocks
| Property |
Value |
| Authentication |
Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key |
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".
POST /api/v1/bevm/sessions
| Property |
Value |
| Authentication |
Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key |
not required |
| Success |
200 |
| Upstream |
bevm-backend |
Request body
| Field |
Type |
Required |
Constraints |
apply_fundings |
boolean |
no |
— |
auditor_address |
string |
no |
maxLength 66 |
auto_link_contracts |
boolean |
no |
— |
block |
string | integer |
no |
— |
bytecode_lmdb |
string | null |
no |
maxLength 4096 |
fresh |
boolean |
no |
— |
fundings |
array |
no |
maxItems 64 |
mdbx_cache_dir |
string | null |
no |
maxLength 4096 |
network |
string |
no |
maxLength 32 |
offline |
boolean |
no |
— |
project_id |
string | null |
no |
maxLength 128 |
related_targets |
array |
no |
maxItems 8 |
rpc_cache_dir |
string | null |
no |
maxLength 4096 |
rpc_url |
string |
yes |
maxLength 2048 |
skip_analysis |
boolean |
no |
— |
target_address |
string |
yes |
maxLength 66 |
workspace_id |
string | null |
no |
maxLength 128 |
DELETE /api/v1/bevm/sessions/{uid}
| Property |
Value |
| Authentication |
Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key |
not required |
| Success |
200 |
| Upstream |
bevm-backend |
GET /api/v1/bevm/sessions/{uid}
| Property |
Value |
| Authentication |
Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key |
not required |
| Success |
200 |
| Upstream |
bevm-backend |
POST /api/v1/bevm/snapshots
| 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".
POST /api/v1/bevm/snapshots:restore
| Property |
Value |
| Authentication |
Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key |
required |
| Success |
200 |
| Upstream |
bevm-backend |
Request body
| Field |
Type |
Required |
Constraints |
resume_isolation |
boolean |
no |
— |
snapshot_id |
string |
yes |
maxLength 128 |