Appearance
Calculate cost breakdown for a job
GET
https://api-credit.transkribus.org/costsReturns how credits would be consumed from different pools (team, scholar, topup). Proxy phase: when colId AND modelId are provided (and WRITE_MODE=proxy), the preview is proxied to the legacy TRP costs endpoints (collection-package aware) and translated into the same schema; the source response field says which path answered (legacy | local | local-fallback).
Parameters
Query Parameters
nrOfPages*
Type
Requiredinteger
modelType*
Type
Requiredstring
provider*
Type
Requiredstring
docType*
Type
Requiredinteger
Valid values
01colId
Legacy collection id — with modelId, enables the legacy proxy
Type
integer
modelId
Legacy model id — with colId, enables the legacy proxy
Type
integer
credits
Legacy credit selection strategy (omitted → AUTO)
Type
string
Valid values
"USER_ONLY""COLLECTION_ONLY"