AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Account and usageAPI Key management

Retrieve API Key

Retrieve API Key — Authenticate with an access token

Use an access token generated on the profile page, not the model API Key being managed. See Programmatic API Key management for credentials and the full workflow.

Quota conversion: remain_quota = amount * 500000. expired_time=-1 means never expires; remain_quota=-1 with unlimited_quota=true means unlimited quota.

GET/api/token/{id}

Get details using the Token ID in the path.

Authorization

userAccessToken
AuthorizationBearer <token>

Create an access token under Profile → Security. Use Bearer authentication, not a model API Key.

In: header

Path Parameters

id*integer

Token ID supplied in the URL path.

Response Body

application/json

application/json