Get Requests
Retrieve all requests visible in the request table at Helicone.
Request query filters
From T, pick a set of properties whose keys are in the union K
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
The following API lets you get all of the requests that would be visible in the request table at helicone.ai/requests.
Premade examples 👇
Filter | Description |
---|---|
Get Request by User | Get all the requests made by a user |
Filter
A filter is either a FilterLeaf or a FilterBranch, and can be composed of multiple filters generating an AST of ANDs/ORs.
Here is how it is represented in typescript:
export interface FilterBranch {
left: FilterNode;
operator: "or" | "and"; // Can add more later
right: FilterNode;
}
export type FilterNode = FilterLeaf | FilterBranch | "all";
This allows us to build complex filters like this:
{
"filter": {
"operator": "and",
"right": {
"request": {
"model": {
"contains": "gpt-4"
}
}
},
"left": {
"request": {
"user_id": {
"equals": "abc@email.com"
}
}
}
}
}
Authorizations
Body
Request query filters
From T, pick a set of properties whose keys are in the union K
Response
Was this page helpful?