Skip to content
Hexel StudioDocs

Get connected account

GET/titan/tools/connected-accounts/{nano_id}

Retrieve a connected account by its nano ID. Credentials are never returned. Requires permission tool-gateway:auth:read.

Path parameters

nano_idstring

Headers

Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

X-Workspace-Idoptional string

Workspace scope used by permission checks, if applicable.

X-Environment-Idoptional string

Optional environment scope.

Returns

200OKConnectedAccount

account_emailoptional string
account_nameoptional string
attributesoptional map[string]

Attributes are non-secret connection attributes, only the names reserves for per-tenant hosts (site, subdomain, region, instance_url): values a token response maps (Salesforce instance_url) and the non-secret credential fields of those names. They are derived, never caller-supplied, never a token, and nothing routes on them yet.

auth_config_idoptional string
connected_account_idoptional string
created_atoptional string
destination_boundariesoptional array of string

DestinationBoundaries carries administrator-assigned destination scope in canonical "type:id" form (e.g. "github.organization:acme"). A Titan grant's required boundaries must all be present here for the connection to be eligible.

environment_idoptional string
expires_atoptional string
external_account_idoptional string
nano_idoptional string
organization_idoptional string
permissionsoptional array of string

Permissions are normalized permissions derived from granted scopes at connect time (e.g. "repo"); a grant's required_permissions must be a subset.

principal_typeoptional string

PrincipalType is the destination-principal class this connection represents (e.g. "oauth_user", "mcp_credential"). It must be one of a grant's principal_types.

priorityoptional integer
statusoptional string
tagsoptional array of string

Tags are administrator-assigned labels; a grant's required_tags must be a subset.

toolkit_slugoptional string
updated_atoptional string
workspace_idoptional string

Errors

  • 401Unauthenticated: token missing or rejected at the edge
  • 403Forbidden: caller lacks the required permission
  • 404Not Found
  • 500Internal Server Error