Skip to navigation

list_api_requests

View as Markdown

Lists the recent requests of this key’s organization, newest first: the time, the operation, the status, the error code, the request ID, the quote request ID, and the agent that sent it. Filter by status, error_code, operation, or since, and pass next_cursor as cursor to read the next page. Truvo keeps each request for 30 days and never keeps its body. It only reads.

  • Title: List recent requests
  • Callers: partner key
  • Listed: only while Truvo has the request log turned on
  • Hints: readOnlyHint: true, destructiveHint: false
  • Result: One page of requests, newest first, and the next_cursor of the next page.
  • HTTP: GET /v1/requests
FieldTypeRequiredDescription
limitinteger, 1 to 100NoThe most requests on one page. 10 when you leave it out.
cursorstringNoThe next_cursor of the page before. Send the same filters with it.
statusinteger, 100 to 599NoOnly requests that got this HTTP status, such as 422.
operationstringNoOnly requests for this operation, such as start_quote_request.
error_codestringNoOnly requests that answered this error code, such as needs_information.
sincestringNoOnly requests made at or after this time. An RFC 3339 time with an offset.

Try it

POST
https://api.truvo.com/v1/mcp#list_api_requests
Headers
Body