Agents
GET/v1/agents/{id}/credentials
List agent credentials
curl -X GET "https://api.52-28-238-205.sslip.io/v1/agents/{id}/credentials" \ -H "Cookie: <console session cookie>"Lists the agent's credentials with prefix, status, expiry and last use; secrets are never returned. Console session or API key with payment:read.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/agents/{id}/credentialsBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredAgent id (agt_...).
Requires permissionpayment:read
Held by
owner, admin, finance, approver (own team), developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdAgent id (agt_...).
Success.
application/json- response
data*array<>[key: string]?anyPOSTUnfreeze agent
Returns a frozen agent to active. Console session or API key with agent:revoke; only a frozen agent can be unfrozen (409).
POSTRotate agent credential
Issues a new credential and lets the previous ones expire after an overlap of 0, 1 or 24 hours (0 revokes them now). Console session or API key with credential:issue; the secret is shown once.