Leap360Leap360DocsBeta

REST API

Call Leap360 directly over HTTPS.

Base URL:

https://b0vyk178b7.execute-api.us-east-1.amazonaws.com

Send your API key in the x-api-key header. Keys look like leap360_ followed by 32 hexadecimal characters.

Kill switch

Method and pathBodyWhat it does
GET /v1/projects/{projectId}/agents/{agentId}/statusRead an agent's status
POST /v1/projects/{projectId}/agents/{agentId}/status{ "status": "SUSPENDED" }Stop an agent
POST /v1/projects/{projectId}/status{ "status": "SUSPENDED" }Stop the whole project

Setting ACTIVE needs a person signed in to the console.

Policies

Method and pathWhat it does
POST /v1/projects/{projectId}/policiesCreate a policy. See Policies for the body.

Responses for stopped agents

StatusCodeMeaning
403AGENT_HALTThis agent is stopped
403GOVERNANCE_HALTThe whole project is stopped
403PERSON_REQUIREDThe change loosens governance and needs a signed-in person
401No API key, or the key format is invalid

For everything else, the JavaScript and Python clients wrap the API and are the supported way to use it during the beta.

On this page