Sessions
Get proxy requests
GET /v1/sessions/{id}/proxy- Permission
read:sessions- Tokens
- API key, CLI user token, Session token (own session only)
Read the requests a session sent to GitHub through Ellipsis, newest first.
Path parameters
idstringrequired
Query parameters
limitdefault
50integercursorstring
The `next_cursor` of the previous page.
{
"has_more": bool,
"next_cursor": str,
}
1
import os
2
3
from ellipsis import Ellipsis
4
5
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
6
7
for item in client.sessions.proxy("..."):
8
print(item)
1
import { Ellipsis } from '@ellipsis-dev/sdk';
2
3
const client = new Ellipsis({
4
apiKey: process.env.ELLIPSIS_API_TOKEN!,
5
});
6
7
for await (const item of await client.sessions.proxy('...')) {
8
console.log(item);
9
}
1
curl "https://api.ellipsis.dev/v1/sessions/{id}/proxy" \
2
-H "Authorization: Bearer $ELLIPSIS_API_TOKEN"
Response
has_moredefault
falsebooleanWhether more results exist past this page.
next_cursorstring
Pass as `cursor` to fetch the next page. Null on the last page. Opaque , echo it back rather than parsing it.
proxy_requestsarray<ProxyRequest>required