Skip to navigation

list_api_requests

List recent requests
View as Markdown
  • Callers: API key
  • Label: Read
  • Side effects: None.
  • Limits: API key, sandbox: 600 reads a minute per key, 1,800 a minute per organization. Live: 3,600 reads a minute per organization by default, and 60 times the key’s own bound when it has one. Counts as a quote read.
  • Hints: readOnlyHint: true, destructiveHint: false
  • Result: One page of requests, newest first, with has_more and the next_cursor of the next page.
  • HTTP: GET /v1/requests

Input

FieldTypeDescription
limitinteger, 1 to 100The most requests on one page. 10 when you leave it out.
cursorstringThe next_cursor of the page before. Send the same filters with it.
statusinteger, 100 to 599Only requests that got this HTTP status, such as 422.
operationstringOnly requests for this operation, such as start_quote_request.
error_codestringOnly requests that answered this error code, such as needs_information.
sincestringOnly requests made at or after this time. An RFC 3339 time with an offset.

Description

tools/list returns this description to an API key:

Lists the recent requests of this 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. While has_more is true, send the same filters with next_cursor to read the next page. A page too long for one result ends early with has_more true, and its next_cursor reads on from its last item. Truvo keeps each request for 30 days and never keeps its body. It only reads.

Try it

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