{"files":{"SKILL.md":"---\nname: ntropy-transaction-api-v1\ndescription: \"Ntropy Transaction API v1 API skill. Use when working with Ntropy Transaction API v1 for classifier, types, health. Covers 10 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Ntropy Transaction API v1\n\n## Auth\nApiKey\n\n## Base URL\nhttps://api.ntropy.network\n\n## Setup\n1. Set your API key in the appropriate header\n2. GET /classifier/consumer/batch/:id -- get a batch of consumer transaction classification results\n3. POST /classifier/consumer/batch -- create first batch\n\n## Endpoints\n10 endpoints across 4 groups. See references/api-spec.lap for full details.\n\n### Classifier\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /classifier/consumer/batch | Classify a batch of consumer transactions |\n| GET | /classifier/consumer/batch/:id | Get a batch of consumer transaction classification results |\n| POST | /classifier/consumer | Classify a consumer transaction |\n| POST | /classifier/business/batch | Classify a batch of business transactions |\n| GET | /classifier/business/batch/:id | Get a batch of business transaction classification results |\n| POST | /classifier/business | Classify a business transaction |\n| POST | /classifier/report | Correct the output of the classifier |\n\n### Types\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /types | Get dictionary of type values supported by Tranasction API |\n\n### Health\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /health | Get the API health info |\n\n### Performance\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /performance | Get the Transaction API performance report |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a batch?\" -> POST /classifier/consumer/batch\n- \"List all :id?\" -> GET /classifier/consumer/batch/:id\n- \"Create a consumer?\" -> POST /classifier/consumer\n- \"Create a business?\" -> POST /classifier/business\n- \"Create a report?\" -> POST /classifier/report\n- \"List all types?\" -> GET /types\n- \"List all health?\" -> GET /health\n- \"List all performance?\" -> GET /performance\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Ntropy Transaction API v1\n@base https://api.ntropy.network\n@auth ApiKey\n@endpoints 10\n@toc classifier(7), types(1), health(1), performance(1)\n\n@group classifier\n@endpoint POST /classifier/consumer/batch\n@desc Classify a batch of consumer transactions\n@returns(202) {status: str, updated_at: str, id: str, progress: int, results: [map]}\n\n@endpoint GET /classifier/consumer/batch/:id\n@desc Get a batch of consumer transaction classification results\n@required {id: str # (Required) Batch id.}\n\n@endpoint POST /classifier/consumer\n@desc Classify a consumer transaction\n@required {transaction: map, user: map, device: map}\n\n@endpoint POST /classifier/business/batch\n@desc Classify a batch of business transactions\n@returns(202) {status: str, updated_at: str, id: str, progress: int, results: [map]}\n\n@endpoint GET /classifier/business/batch/:id\n@desc Get a batch of business transaction classification results\n@required {id: str # (Required) Batch id.}\n\n@endpoint POST /classifier/business\n@desc Classify a business transaction\n@required {transaction: map, business: map, cardholder: map}\n@returns(200) {transaction_id: str, logo: str, website: str, merchant: str, labels: [str]}\n\n@endpoint POST /classifier/report\n@desc Correct the output of the classifier\n@required {transaction_id: str}\n\n@endgroup\n\n@group types\n@endpoint GET /types\n@desc Get dictionary of type values supported by Tranasction API\n@returns(200) {moto_eci_code: [str], pan_entry_mode_auth: [str], pan_entry_mode_capture: [str]}\n\n@endgroup\n\n@group health\n@endpoint GET /health\n@desc Get the API health info\n\n@endgroup\n\n@group performance\n@endpoint GET /performance\n@desc Get the Transaction API performance report\n\n@endgroup\n\n@end\n"}}