v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-15361989.5 KB

Get the authenticated account

Returns information about the user or organization associated with the provided API token.

Example cURL request:

curl -s \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  https://api.replicate.com/v1/account

The response will be a JSON object describing the account:

{
  "type": "organization",
  "username": "acme",
  "name": "Acme Corp, Inc.",
  "github_url": "https://github.com/acme",
}
get/account

Response

Success

avatar_urlstring uri

The avatar URL for the account.

github_urlstring uri

The GitHub URL of the account.

namestring

The name of the account.

type'organization' | 'user' required

The account type. Can be a user or an organization.

usernamestring required

The username of the account.