how to pull all calls for a project from the day?
# ask-ai
k
how to pull all calls for a project from the day?
t
Thanks for reaching out, Ethan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To pull all calls (sessions) for a specific project from a given day, use the Analytics API, which is available to LiveKit Cloud customers on the Scale plan or higher. You will need to: • Generate an access token with the
roomList
grant. • Use the
/sessions/
endpoint for your project, specifying the
start
and
end
parameters in
YYYY-MM-DD
format for your desired day, along with
limit
and
page
for pagination. The API will return all sessions (calls) for that project on the specified day. The date range must be within 7 days of the current date, and pagination is required for large datasets. If you need step-by-step instructions for generating the access token or working with the API response, let me know. Sources: Analytics API | LiveKit Docs