NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Usage → Get list of records

AI-generated

Summary

Retrieve a list of Usage records from NetSuite's REST API with optional filtering, pagination, and asynchronous request support.

Inputs

  • Debug Mode — Toggle to include full request and response information in the output for debugging.
  • Limit — Maximum number of Usage records to return in a single page.
  • Offset — Index offset to specify the starting point for the page of results.
  • Prefer — Client preference to request asynchronous execution of the retrieval; valid value is 'respond-async'.
  • Q — Search query string to filter Usage records returned.
  • X - Net Suite - Idempotency - Key — A unique UUID string to ensure idempotency for asynchronous requests; ignored for synchronous calls.

Output shape

a list of Usage records matching the query parameters

The output may include full request and response details if Debug Mode is enabled. Pagination is supported via Limit and Offset fields. If 'Prefer: respond-async' is set, the request may execute asynchronously with an idempotency key ensuring a single execution per key.

Examples

Example 1: Fetch first 50 Usage records with a filter query

Set Limit to 50 and Q to desired search string.

Example 2: Perform asynchronous record retrieval

Set Prefer to 'respond-async' and provide a unique X-NetSuite-Idempotency-Key.

Discussion