Skip to content

API Reference / Legacy proxy assignments

List legacy proxy assignments

Returns the ids of legacy proxy assignments in your workspace, optionally filtered by pool, proxy, or account name. Results are bare ids rather than fully hydrated assignments. Fetch each one with GetProxyAssignment. Results are paginated. Pass an empty cursor for the first page and follow the returned cursor for subsequent pages.

POST/proxies.v1.Proxies/ListProxyAssignments

Request body

application/jsonRequired

Request for one page of legacy proxy assignment identifiers, optionally narrowed by pool, proxy or account.

accountName?string

Optional account name to limit results to.

cursor?string

Opaque pagination cursor from a previous ListProxyAssignmentsResponse. Empty for the first page.

limit?integer

Maximum number of assignment ids to return. Server caps this at a service-defined upper bound.

Format"int32"

poolId?string

Optional pool id to limit results to.

Format"byte" base64

proxyId?string

Optional proxy id to limit results to.

Format"byte" base64

Response body

application/json

Success

assignmentIds?array<string>

Ids of assignments for this page, in the server's stable sort order. Bare ids only. Fetch each one with GetProxyAssignment.

nextCursor?string

Cursor to pass to fetch the next page. Empty when there are no more results.

curl -X POST "https://api.goldmine.to/proxies.v1.Proxies/ListProxyAssignments" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "limit": 50,
    "poolId": "bGVnYWN5cG9vbDAwMDEAAA=="
  }'
{
  "assignmentIds": [
    "bGVnYWN5YXNzaWduMDEAAA==",
    "bGVnYWN5YXNzaWduMDIAAA=="
  ],
  "nextCursor": "eyJvZmZzZXQiOjUwfQ=="
}