List a project's proxies

List a project's proxies

GET/v1/proxies

A key with the network:read scope.

Request

curl "https://api.pod.mapier.ai/v1/proxies" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
projectquerystringNoThe project to list. A key lists its own; a person whose role reaches only some projects names one.
limitqueryintegerNo
cursorquerystringNoThe next_cursor of the page before. Valid for 24 hours.

Answer

200. A page of proxies, newest first.

200
{
  "data": [
    {
      "id": "prx_3ahrz6dmv29gqy5ckt18fpx4b",
      "project_id": "prj_3ahrz6dmv29gqy5ckt18fp",
      "label": "example",
      "scheme": "http_connect",
      "host": "example",
      "port": 1,
      "tls": false,
      "has_credential": false,
      "default_for_project": false,
      "state": "ready",
      "version": 1,
      "updated_at": null,
      "updated_by": "example"
    }
  ],
  "next_cursor": null
}
FieldTypeAlwaysWhat it is
dataProxy[]Yes
next_cursorstring | nullYes

Errors

The refusals this call is known for: invalid, forbidden. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.network.proxies.list()
Pythonpod.network.proxies.list()