How can I get specific branch detail with api

I want to get the detail of my branch on circle-ci over the api.
I found this, but not the one what I want.
How can I set specific branch name.
url https://circleci.com/api/v1.1/project/github/user/project?circle-token=token

thanks

You can use our new v2 Insights API to gather more information about your pipelines for a specific branch. This section of the docs has more info: https://github.com/CircleCI-Public/api-preview-docs/blob/master/docs/api-changes.md#get-insightsproject-slugworkflowsbranchbranch-name

Can you check that out and see if it includes the information you’re looking for?