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

Search API Keys

Search API Keys — 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.

Results are in data.items, with p and size pagination. No matches returns an empty list.

GET/api/token/search

Search by name keyword or Key value; returns paginated data.items. Key search values are sensitive; do not log full request URLs.

Authorization

userAccessToken
AuthorizationBearer <token>

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

In: header

Query Parameters

keyword?string

Search keyword matching the Token name.

token?string

Search by Token value; partial matching is supported.

p?integer

Page number, defaults to 1.

Default1
size?integer

Items per page, defaults to 20.

Default20

Response Body

application/json

application/json