Get Event

Retrieve details for a specific event

Usage #

// Import the typed helper
import { getEvent } from "@hotglue/sdk/sentry";
const result = await client.execute({
...getEvent({
organization_id_or_slug: string,
project_id_or_slug: string,
event_id: string,
}),
userId: "user_123",
});
// result is typed as GetEventOutput
const result = await client.execute({
integration: "sentry",
tool: "get_event",
userId: "user_123",
input: {
organization_id_or_slug: string,
project_id_or_slug: string,
event_id: 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 Get Event tool");

Input Schema #

organization_id_or_slug string required

Organization ID or slug

project_id_or_slug string required

Project ID or slug

event_id string required

Event ID

Output Schema #

id string required
eventID string required
message string
platform string
dateCreated string

This tool calls: #

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