Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.discovr.media/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves a single profile by its unique identifier. Returns the complete profile information including:
  • Basic profile information (id, name, avatarUrl, createdAt)
Note: You can only retrieve profiles that belong to your authenticated user account.

Parameters

NameTypeRequiredDescription
profileIdstringYesThe unique identifier of the profile to retrieve

Returns

Profile — Profile retrieved successfully
{
  "id": "string",
  "name": "string",
  "avatarUrl": "string" /* uri */,
  "createdAt": "string" /* date-time */
}

Example

import { DiscovrClient } from "discovr";
import type { Profile } from "discovr";

const discovr = new DiscovrClient("your-client-id", {
  basePath: "https://api.discovr.media",
});

// After sign-in and profile selection …
const response: Profile = await discovr.getProfile("profile_abc123xyz");
console.log(response);