Skip to main content
GET
/
v1
/
tenants
/
production-status
Get the current production-access state
curl --request GET \
  --url https://api.getsly.ai/v1/v1/tenants/production-status \
  --header 'Authorization: Bearer <token>'
{
  "kyaTier": 1,
  "declaredAt": "2023-11-07T05:31:56Z",
  "reviewedAt": "2023-11-07T05:31:56Z",
  "reviewNotes": "<string>",
  "declaration": {
    "intended_use_case": "<string>",
    "expected_monthly_volume_usd": 123,
    "website_url": "<string>",
    "identity": {
      "email": "jsmith@example.com",
      "name": "<string>",
      "provider": "<string>",
      "organization_name": "<string>"
    }
  },
  "ceiling": {
    "perTx": 123,
    "daily": 123,
    "monthly": 123,
    "disabled": true
  }
}

Authorizations

Authorization
string
header
required

API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).

Response

200 - application/json

Current production-access state.

status
enum<string>
required
Available options:
sandbox_only,
declaration_pending,
production_approved,
production_denied,
production_suspended
kyaTier
integer
required

Tenant KYA tier — 0 sandbox, 1 declared, 2 verified, 3 trusted.

Required range: 0 <= x <= 3
declaredAt
string<date-time> | null
required
reviewedAt
string<date-time> | null
required
reviewNotes
string | null
required

Admin-set note attached on approve/deny. Useful context for re-declaration after a denial.

declaration
object
required

Declaration payload as last submitted, including SSO identity auto-attached server-side.

ceiling
object
required