agent-cost

Auth Status

Return the workspace and optimization entitlement selected by a CLI credential.

get/v1/auth/status

Response

Successful Response

authenticatedboolean required
credential_type'api_key' | 'oauth' required
org_idstring required
org_namestring required
plan_tierstring required
subscription_statusstring required
rolestring
trial_activeboolean required
trial_ends_atstring date-time nullable
optimization_entitledboolean required

Changes

Changed in 2 of the 8 revisions of this API.5

    • the response property authenticated became required for the status 200

      response-property-became-required

    • the response property subscription_status became required for the status 200

      response-property-became-required

    • the authenticated response's property default value true was removed for the status 200

      response-property-default-value-removed

    • the subscription_status response's property default value none was removed for the status 200

      response-property-default-value-removed

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog