Default

Health Check

get

Health check endpoint

Responses
chevron-right
200

Successful Response

application/json
get
/health
Python
200

Successful Response

Github Oauth

post

Authenticate user with GitHub OAuth

Body

Request for GitHub OAuth authentication.

codestringRequired

Authorization code from GitHub OAuth.

stateany ofOptional

State parameter for CSRF protection.

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
post
/auth/github

Refresh Token

post

Refresh an access token using a refresh token

Body

Request to refresh an access token.

refresh_tokenstringRequired

The refresh token.

Responses
chevron-right
200

Successful Response

application/json
post
/auth/refresh

Get Current User

get

Get current user information

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Responses
chevron-right
200

Successful Response

application/json
get
/users/me
200

Successful Response

Create Api Key

post

Create a new API key for the current user

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Body

Request to create a new API key for a user.

nameany ofOptional

Optional name for the API key.

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
post
/users/me/api-keys

Revoke Api Key

delete

Revoke an API key for the current user

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Body

Request to revoke an API key.

key_idstringRequired

The ID of the API key to revoke.

Responses
chevron-right
200

Successful Response

application/json
delete
/users/me/api-keys

List Datasets

get

List available datasets

Responses
chevron-right
200

Successful Response

application/json
get
/datasets
Python
200

Successful Response

List Samples

get

List available samples with optional pagination, optionally filtered by dataset

Query parameters
datasetany ofOptional

Filter samples by dataset name

stringOptional
or
nullOptional
searchany ofOptional

Search for samples by instance_id

stringOptional
or
nullOptional
pageany ofOptional

Page number (1-based). If not provided, returns all samples

integer · min: 1Optional
or
nullOptional
page_sizeany ofOptional

Number of samples per page (max 100). If not provided, returns all samples

integer · min: 1 · max: 100Optional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
get
/samples
Python

Download Sample

get

Download the gz file for a specific sample

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
datasetstringRequired
sample_idstringRequired
Query parameters
versionany ofOptional
integerOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/samples/{dataset}/{sample_id}/download
Python

No content

List Sessions

get

List environment sessions

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Responses
chevron-right
200

Successful Response

application/json
get
/sessions
Python
200

Successful Response

Create Session

post

Create a new session

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Body

Request to create a new session.

datasetstringRequired

Dataset name for the sample.

sample_idstringRequired

Identifier of the sample to use for this session.

ttl_minutesintegerOptional

Time to live for the session in minutes (default: 30).

Default: 30
Responses
post
/sessions
Python

Get Session

get

Get session details

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
session_idstringRequired
Responses
chevron-right
200

Successful Response

application/json
get
/sessions/{session_id}
Python

Close Session

delete

Close/delete an environment session

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
session_idstringRequired
Responses
chevron-right
200

Successful Response

application/json
delete
/sessions/{session_id}
Python

Execute Command

post

Start command execution in an environment (async)

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
session_idstringRequired
Body

Request to execute a bash command in a session.

commandstringRequired

The bash command to execute.

command_timeoutintegerOptional

Timeout for command execution in seconds (default: 300).

Default: 300
Responses
post
/sessions/{session_id}/exec
Python

Get Interaction

get

Get interaction details by ID

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
interaction_idstringRequired
session_idstringRequired
Responses
chevron-right
200

Successful Response

application/json
Responseany of
or
get
/sessions/{session_id}/interactions/{interaction_id}

String Replace

post

Replace a string in a file within the session environment

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
session_idstringRequired
Body

Request to perform string replacement in a file.

file_pathstringRequired

Path to the file where replacement should be performed.

str_to_replacestringRequired

String to be replaced.

str_to_insertstringRequired

String to insert as replacement.

Responses
chevron-right
200

Successful Response

application/json
post
/sessions/{session_id}/str_replace
Python

Start Verification

post

Start verification (oracle) in a session - async

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
session_idstringRequired
Responses
post
/sessions/{session_id}/verify
Python

Get Verification Job

get

Get a verification job, including the result if it's completed

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Path parameters
job_idstringRequired
session_idstringRequired
Responses
chevron-right
200

Successful Response

application/json
get
/sessions/{session_id}/verify/{job_id}
Python

Get User Balance

get

Get user's money balance

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Responses
chevron-right
200

Successful Response

application/json
get
/billing/balance
200

Successful Response

Get Pricing Info

get

Get current pricing information

Responses
chevron-right
200

Successful Response

application/json
get
/billing/pricing
200

Successful Response

Deposit Money

post

Create a payment intent for money deposit

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Body

Request to deposit money

amount_centsinteger · min: 500Required

Amount to deposit in cents

currencystringOptional

Currency for payment

Default: usd
Responses
chevron-right
200

Successful Response

application/json
post
/billing/deposit

Stripe Webhook

post

Handle Stripe webhook events

Responses
chevron-right
200

Successful Response

application/json
post
/billing/webhook
200

Successful Response

Get Usage History

get

Get complete usage history for the current user

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Query parameters
pageinteger · min: 1Optional

Page number (1-based)

Default: 1
limitinteger · min: 1 · max: 100Optional

Items per page (max 100)

Default: 25
Responses
chevron-right
200

Successful Response

application/json
get
/billing/usage

Last updated