艾赛尔.聚算塔艾赛尔.聚算塔
API Reference

Rerank and advanced responses

Rerank is stable when a rerank-capable model is enabled; compact responses remain an advanced service capability.

Gateway Base URL

https://token.jusuanta.com

POST/rerank

Rerank

Method

POST

Path

/rerank

Auth

Authorization: Bearer <API_KEY>

Request

Send query and candidate documents to a rerank-capable model.

Response

Returns ranked documents or scores in the adapter response shape.

Error cases

Model lacks rerank support, no channel, balance shortage, or upstream failure.

Notes

Route tests also use /rerank for rerank-shaped models.

POST/responses/compactAdvanced

Compact responses

Method

POST

Path

/responses/compact

Auth

Authorization: Bearer <API_KEY>

Request

Use only for models configured with the compact response mode.

Response

Returns compact Responses-compatible output.

Error cases

Unsupported model suffix, no configured adapter, or normal gateway errors.

Notes

Advanced route. Keep normal Responses as the default unless the model directory indicates otherwise.

POST/completionsAdvanced

Legacy completions

Method

POST

Path

/completions

Auth

Authorization: Bearer <API_KEY>

Request

Send prompt-style input for legacy clients that still require completions.

Response

Returns a compatible completion response when an upstream adapter supports it.

Error cases

Unsupported model, balance shortage, rate limit, or upstream failure.

Notes

Prefer chat completions for new integrations.

On this page