List Issues

List issues for a project

Usage #

// Import the typed helper
import { listIssues } from "@hotglue/sdk/sentry";
const result = await client.execute({
...listIssues({
organization_id_or_slug: string,
project_id_or_slug: string,
statsPeriod: string,
// ...
}),
userId: "user_123",
});
// result is typed as ListIssuesOutput
const result = await client.execute({
integration: "sentry",
tool: "list_issues",
userId: "user_123",
input: {
organization_id_or_slug: string,
project_id_or_slug: string,
statsPeriod: string,
// ...
},
});
// The agent will automatically use this tool when needed
const agent = new Agent({
tools: () => hotglueTools({
integrations: ["sentry"],
userId: "user_123",
}),
});
await agent.generate("run the List Issues tool");

Input Schema #

organization_id_or_slug string required

Organization ID or slug

project_id_or_slug string required

Project ID or slug

statsPeriod string

Time period for stats (e.g., 24h, 14d)

query string

Search query for filtering issues

sort string

Sort order for issues

values: date, new, freq, priority, user
cursor string

Pagination cursor

This tool calls: #

GET https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/issues/