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
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
project | query | string | No | The project to list. A key lists its own; a person whose role reaches only some projects names one. |
limit | query | integer | No | |
cursor | query | string | No | The next_cursor of the page before. Valid for 24 hours. |
Answer
200. A page of proxies, newest first.
{
"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
}| Field | Type | Always | What it is |
|---|---|---|---|
data | Proxy[] | Yes | |
next_cursor | string | null | Yes |
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
| Client | Call |
|---|---|
| TypeScript | pod.network.proxies.list() |
| Python | pod.network.proxies.list() |