Get a connected tool

Get a connected tool

GET/v1/tools/{tool_id}

A key with the permissions:read scope.

Request

curl "https://api.pod.mapier.ai/v1/tools/example?project=example" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
tool_idpathstringYes
projectquerystringYesThe project the call is about. Every route is scoped to one.
Pod-OrganisationheaderstringNoThe organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden.

Answer

200. The tool, without its key.

200
{
  "id": "example",
  "name": "example",
  "host": "example",
  "traffic": ["example"],
  "attach": "example",
  "calls": null,
  "kind": "header",
  "connected_at": "2026-11-23T12:00:00.000Z",
  "connected_by": "example",
  "used_by": 0,
  "warnings": ["example"]
}
FieldTypeAlwaysWhat it is
idstringYes
namestringYesA named policy may not be called organisation, project or default, the layers the service makes itself, or self, which a rule's policy:self reads as the policy's own domain.
hoststringYes
trafficstring[]YesMethods and path prefixes the key may be attached to, such as POST /v1/refunds*.
attachstringYesHow the key is attached, with <key> where it goes, such as Authorization: Bearer <key>.
calls"mcp" | "json-rpc" | nullNoA call rule may name the tool only when this is set. Null or left out: no call rule may name it.
kind"header" | "aws_sigv4" | "oauth_refresh"NoWhat the tool's encrypted key is, read from its encrypted form; never the key. Always sent by this version; a tool connected before kinds existed is header.
connected_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
connected_bystringYesWho made a change. An identity account id for a person, or a key id (key_…) for an API key.
used_byintegerYesPolicies that grant the tool. At least 0.
warningsstring[]NoFor example, that the host is known to echo requests back.

Errors

The refusals this call is known for: unauthorized, forbidden, not_found. 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.