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 all profiles belonging to the authenticated user. Profiles are returned in descending order by creation date (newest first). Each profile includes its basic information (id, name, avatarUrl, createdAt).

Returns

GetProfilesResponse — List of profiles retrieved successfully
{
  "profiles": [
{
  "id": "string",
  "name": "string",
  "avatarUrl": "string" /* uri */,
  "createdAt": "string" /* date-time */
}
]
}

Example

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

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

// After sign-in and profile selection …
const response: GetProfilesResponse = await discovr.getProfiles();
console.log(response);