Requests and logs
An accepted request is not a finished generation. Track the saved job until its output is ready.
Operation lifecycle#
An accepted request is not a finished generation. Track the saved job until its output is ready.
{ "id": "e8aa0a87-6cd9-42eb-975a-b72bf43218c8", "tool": "tong_generation_submit", "category": "generation", "channel": "api", "state": "queued", "status": "accepted", "stage": "admission", "dispatch_status": "pending", "created_at": "2026-10-22T09:00:00.000Z", "updated_at": "2026-10-22T09:00:00.000Z", "detail_expires_at": null, "detail_expired": false, "timing": { "dispatch_started_at": null, "acknowledged_at": null, "completed_at": null, "dispatch_acknowledgement_ms": null, "end_to_end_ms": null }, "review": null, "result": null, "error": null, "billing": { "status": "pending", "usage_credits": "0.000000", "wallet_debited_credits": "0.000000" }}curl 'https://platform.tongai.io/v1/operations/e8aa0a87-6cd9-42eb-975a-b72bf43218c8' \ -H "Authorization: Bearer $TONG_API_KEY"Configuration
curl --versionaccepted → running → succeeded | failed | needs_reviewGET /v1/operations/{operation_id}/events?after=0HTTP errors describe a rejected request. A saved operation can fail later while its status endpoint still returns HTTP 200.
Outputs and billing#
Responses contain operation status, outputs and customer credit totals. Credentials, supplier costs, provider job IDs and internal routing are private.
Consumed credits and wallet debits are separate. Text Chat can use a previously funded balance.
Request logs#
curl 'https://platform.tongai.io/v1/requests?activity=creative&outcome=success' \ -H "Authorization: Bearer $TONG_API_KEY"Configuration
curl --versionRequest metadata excludes prompts, file contents and secrets.
Request details are retained for 30 days. Active work and billing evidence remain available. Exports expire after one hour; original purchase identities remain reserved.
View all requests