usage

Account and workspace of this credential

Changed on

The workspace the credential acts in and the account that workspace belongs to. Use account_id with the account-scoped routes, such as /api/v1/accounts/{account_id}/consumed.

Authenticate with an API key, or a bearer token of a member who can read the workspace's metadata. With a bearer token the workspace is the token's own or the one named in X-Workspace-Id. Nothing about any other workspace or account is returned.

A workspace that belongs to no account answers 403, and a failure to look the account up answers 503.

Call this endpoint at most 15 times per minute for each authenticated identity.

get/api/v1/account

Request

  • Base URL
    https://platform.unstructuredapp.io
  • URL
    https://platform.unstructuredapp.io/api/v1/account
  • Auth
    none declared

Headers

unstructured-api-keystring nullable

Response

Successful Response

account_idinteger required

The account the credential's workspace belongs to.

workspace_idinteger required

The workspace the credential acts in.

Changes