Get the account
The workspace, its plan and limits (seats, words allowed), the credential making the call with its scopes, and what Lookio offers: the query modes with their credit prices, the file formats it reads and whether this credential can keep conversations. Call this first: one request tells you what you may do.
GET/v1/account
Requires account:read.
Call this endpoint first. It verifies the credential and tells you, before you build anything on it, which workspace it belongs to, the plan and its limits, the scopes the credential holds, and what Lookio offers: the query modes with their credit prices and the file formats it reads. It also says whether this credential’s answers are kept in conversations it can continue.
An API key and a personal connection answer differently: a connection is narrowed by its owner’s permissions, and an API key never holds the admin scope, and keeps its own conversations rather than a person’s chats. See Authentication.
Authorizations
Authorizationbearerin headerrequiredResponse
Retrieve the authenticated workspace
dataobjectrequiredrequest_idstringrequiredPossible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked, invalid_access_key
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_scope, feature_not_available, admin_required, permission_denied
errorobjectrequiredrequest_idstringrequiredPossible codes: rate_limited
errorobjectrequiredrequest_idstringrequiredPossible codes: internal_error
errorobjectrequiredrequest_idstringrequired