Get Tokenization Providers
Lists the AI providers you can name in a tokenization request, in the platform's pick order: the enabled providers marked for the feature. The first one answers a request that names none. An empty list means the feature is off and the request would be refused.
feature selects the feature: tokenization_suggestion (default) for Tokenization Suggest, or tokenization_image for Generate Tokenization Image, which lists only providers that can draw images.
Required permission: token:ai-assist
Request
GET /v2/admin/tokens/tokenization-suggestions/providers?feature=tokenization_image
Parameters
| Name | Type | In | Description |
|---|---|---|---|
feature | string | query | Optional. tokenization_suggestion (default) or tokenization_image. Any other value is refused. |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer <access_token> |
Example
curl --request GET \
--url '{{baseUrl}}/v2/admin/tokens/tokenization-suggestions/providers?feature=tokenization_image' \
--header 'Authorization: Bearer <access_token>'
Response
[
{ "provider": "openai" }
]
Response Fields
| Field | Type | Description |
|---|---|---|
[].provider | string | Provider key to send as provider: claude or openai. |
Errors
| Status | Code | Description |
|---|---|---|
| 400 | 10015 | feature is not one of the accepted values — see details |
See Errors for the error format and common codes.