Authentication

Read Locus CLI credential status

Reads the lcac_ credential bound to the caller's Locus OAuth connection. It never returns the raw credential. Send a Locus MCP OAuth access token with mcp:read and mcp:execute, issued to the Locus CLI client.

get/credits/cli/credential

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/cli/credential
  • Auth
    OAuth 2
    Authorization code: https://api.paywithlocus.com/api/credits/mcp/oauth/authorize
    Token URL: https://api.paywithlocus.com/api/credits/mcp/oauth/token scopes: mcp:read, mcp:execute

Response

Current credential state for this OAuth connection

successunknown required
identityProvider'locus-oauth' required
installationIdstring required
credentialConfiguredboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.