Skip to main content
GET
Get workspace context

Authorizations

Authorization
string
header
required

API key with an sk_live_ or sk_test_ prefix.

Response

Workspace context.

workspace
object
required
mode
enum<string>
required

The environment the API key operates in. Note this is the string live/test, distinct from the boolean livemode field on other responses.

Available options:
live,
test