Skip to main content
DELETE
Revoke a sandbox endpoint

Authorizations

Authorization
string
header
required

Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).

Headers

Idempotency-Key
string
required

Client-selected key of 8–180 characters [A-Za-z0-9:_-]. Reusing it for the same action and canonical request replays the original result. Reusing it with a different request returns 409 idempotency_conflict.

Required string length: 8 - 180
Pattern: ^[A-Za-z0-9:_-]+$

Path Parameters

id
string<uuid>
required
endpointId
string<uuid>
required

Response

Accepted.

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
object
enum<string>
required
Available options:
operation
resource
object
required

The affected public resource. Nested resources include their public parent; provider-native identifiers are never returned.

action
enum<string>
required
Available options:
environment.create,
environment.activate,
environment.deprecate,
environment.retire,
workspace.create,
workspace.suspend,
workspace.resume,
workspace.delete,
sandbox.create,
sandbox.start,
sandbox.stop,
sandbox.pause,
sandbox.resume,
sandbox.terminate,
execution.create,
execution.stdin,
execution.kill,
endpoint.create,
endpoint.revoke,
agent_run.create,
agent_run.steer,
agent_run.cancel
idempotencyKey
string
required

Client-selected retry key. Reuse with the same action and canonical request replays the original result; reuse with a different request returns idempotency_conflict.

Required string length: 8 - 180
Pattern: ^[A-Za-z0-9:_-]+$
status
enum<string>
required
Available options:
pending,
in_progress,
retry_wait,
succeeded,
failed,
cancelled
step
string | null
required
Required string length: 1 - 128
attemptCount
integer
required
Required range: 0 <= x <= 9007199254740991
maxAttempts
integer
required
Required range: 0 < x <= 9007199254740991
error
object | null
required
terminalAt
string<date-time> | null
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
createdAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
updatedAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$