Archive API docs
QUERY

socialProfile

Return details for a social profile by ID or account identifier.

**Errors:** When fallback: true triggers a live lookup and the upstream social-platform service returns a transient failure, this query returns a GraphQL error with extensions.code = "UPSTREAM_UNAVAILABLE" and extensions.provider set to the requested platform. Clients should treat this as retriable (the upstream blip is usually short-lived); switch on the stable extensions.code rather than the message text.

Arguments

accountName String
Username or handle on the social platform (e.g., "nike" for instagram.com/nike).
fallback Boolean default: false
When true, fetches profile from social platform if not archived locally. May increase response time.
id ID
Unique identifier of the social profile within your workspace.
provider Provider
Social platform: instagram, tiktok, or youtube. Required when using account_name.

Returns

Returns SocialProfile .