For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Legacy DocsSign in
DocumentationChangelog
DocumentationChangelog
  • Get Started
    • Introduction
    • Get your API keys
    • Support
    • Privacy policy
    • Status
  • Transaction Enrichment
    • Overview
    • Entities Identification
    • Categorization
    • Recurrence
  • Bank Statements
    • Overview
    • Fast verification
  • Core resources
    • Batches
    • Entities
    • Account Holders
    • Webhooks
    • Personalization
    • Reporting wrong results
  • API Reference
    • Authentication
    • Errors
    • Request IDs
    • Pagination
    • Rate limits
LogoLogo
Legacy DocsSign in
API Reference

Request IDs

On a successful request

1from ntropy_sdk import SDK
2
3sdk = SDK("cd1H...Wmhl")
4tx = sdk.transactions.get("xbx8YP14g565Xk")
5request_id = tx.request_id

On an unexpected error

1from ntropy_sdk import SDK, NtropyHTTPError
2
3sdk = SDK("cd1H...Wmhl")
4try:
5 tx = sdk.transactions.get("xbx8YP14g565Xk")
6except NtropyHTTPError as err:
7 request_id = err.req_id

Every API request sent to the Ntropy API is assigned a unique request ID. This ID is included in the response headers under the key X-Request-ID. Request IDs are crucial for debugging and support.

When you encounter an issue or unexpected behavior with the API, including the request ID in your bug report allows our support team to diagnose the issue.

Was this page helpful?
Previous

Pagination

Next
Built with