Skip to Content
APIMe

Me

Use this endpoint to confirm which account and API key the REST API is currently using.

Get Account Context

GET /api/v1/me

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \ https://app2.vendodata.com/api/v1/me

Example Response

{ "data": { "accountId": "acct_123", "accountName": "Acme Inc", "accountSlug": "acme", "pictureUrl": null, "apiKeyId": "key_123", "scopes": ["apps.write", "sources.write"], "bigquery": { "projectId": "vendo-prod", "prodDatasetId": "acme_prod", "sourceDatasetId": "acme_source" } } }

Dataset fields: unified accounts have a single BigQuery dataset, so sourceDatasetId and prodDatasetId resolve to the same value (and prodDatasetId may be null). Separate source/prod datasets are a legacy split configuration.

Common Uses

  • verify that the API key belongs to the expected account
  • inspect the active key scopes
  • confirm dataset wiring for automation or debugging
Last updated on