Me
Use this endpoint to confirm which account and API key the REST API is currently using.
Get Account Context
GET /api/v1/meExample Request
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://app2.vendodata.com/api/v1/meExample 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
sourceDatasetIdandprodDatasetIdresolve to the same value (andprodDatasetIdmay benull). 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