Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
const options = {method: 'POST', headers: {'X-API-KEY': '<api-key>'}}; fetch('https://adp-global.laiye.com/open/agentic_doc_processor/{tenant_name}/v1/user/payment', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "code": "<string>", "message": "<string>", "tips": "<string>", "data": { "total_credits": 123, "used_credits": 123, "expired_credits": 123, "remaining_credits": 123 } }
Get current user credit usage by X-API-KEY.
Tenant name. Default: laiye.
Credit usage.
Show child attributes