Token cost

Load the application definition used for token cost estimation.

Token cost

Prefix: /api/v1/application-builder

See Overview for authentication.

Token cost estimation reads the stored application definition. The body is the definition JSON the builder saved. This call does not accept a request body and does not compute a quote by itself.

Endpoint summary

MethodPath
GET/applications/{applicationId}/definition

Get the cost-estimation definition

GET /api/v1/application-builder/applications/6e3aa5ba-d9f3-41c7-837e-002d09ba39e0/definition
Authorization: Bearer YOUR_API_TOKEN

6e3aa5ba-d9f3-41c7-837e-002d09ba39e0 is the application id the Token Factory cost screen calls. Use the id of that application in your tenant.

Response 200 — the definition document. When the application exists and has no definition yet, the body is {}.

Response 404 — empty body when the application id does not exist.