Tools

List recent tool calls

Changed on

Returns a cursor-paginated page of the tool's most recent calls, newest first, with payloads truncated to a bounded preview. Use a span point-lookup for full payloads.

get/v1/projects/{projectSlug}/tools/{toolName}/calls

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

toolNamestring required

Tool name. URL-encode names containing special characters.

Query parameters

fromIsostring date-time

Lower bound (inclusive) of the time range. Defaults to 7 days before toIso.

toIsostring date-time

Upper bound (inclusive) of the time range. Defaults to now.

limitinteger

Page size. Defaults to 50; max 50.

errorsOnly'true' | 'false'

When true, scope every aggregate to failed calls only.

cursorstring

Opaque cursor returned in a previous response's nextCursor. Omit on the first page.

Response

Page of tool calls

nextCursorstring nullable required

Opaque cursor for fetching the next page. null when there are no more pages. Pass it back in cursor to continue.

hasMoreboolean required

true when there is at least one more page after this one.

Changes