Skip to main content
GET
Get a policy

Authorizations

Authorization
string
header
required

Partner key: Authorization: Bearer rk_.... DM @rapidssh. Leave it out for the public tier.

Path Parameters

hash
string
required

Response

The policy, its trades, and per input token spent against maxTotal.

hash
string
status
string
policy
object
rules
object[]
trades
object[]
spent
object

GET /delegate/policies/{hash} only: per input token { spent, maxTotal }.

lastError
string | null
createdAt
integer
updatedAt
integer