Get project
Returns the data of the project: the key's own project for a project key, the project in the `X-Vemetric-Project` header for an organization key.
This endpoint lets you programmatically fetch the token, or other settings and metadata, of a project: the project of your project API key, or the project in the X-Vemetric-Project header for organization API keys.
Project or organization API key (starts with vem_), created in the project or organization settings on the API tab. Organization keys name the project of each request in the X-Vemetric-Project header.
Example: Bearer vem_xxxxxxxxxxxx
X-Vemetric-Project
optional
ID of the project the request is about. Required for organization keys; optional for project keys (must be the key's project if sent).
Example: 1234567890123456
Responses
200 Success
application/json
project
Description
Project data associated with the provided API key. id
Description
Unique project identifier Example
"4232882524803099"
name
Description
Name of the project
domain
Description
Primary domain of the project
token
Description
Public token used for tracking Example
"project_token_123"
createdAt
Description
Project creation timestamp (ISO 8601) Example
"2026-02-07T12:00:00.000Z"
firstEventAt
Description
Timestamp of the first ingested event, if available (ISO 8601) Example
"2026-02-07T12:30:00.000Z"
hasPublicDashboard
Description
Whether the project has public dashboard access enabled
excludedIps
Description
List of excluded IP Addresses
excludedCountries
Description
List of excluded countries as ISO 3166-1 alpha-2 codes
400 Bad request - invalid request payload or parameters, or an organization key without the X-Vemetric-Project header
application/json
error
Description
Error details. code
Description
Machine-readable error code. HTTP_ERROR is returned for a malformed JSON body, PROJECT_REQUIRED for an organization key without the X-Vemetric-Project header. Type
"VALIDATION_ERROR" | "HTTP_ERROR" | "PROJECT_REQUIRED"
message
Description
Human-readable error message.
details
Description
Per-field validation issues. Only present for VALIDATION_ERROR.
Show nested properties (2)
field
Description
Path to the invalid request field.
message
Description
Validation error message for the field.
401 Unauthorized - missing, malformed, invalid or revoked API key
application/json
error
Description
Error details. code
Description
Machine-readable error code.
message
Description
Human-readable error message.
404 Project was not found or is not covered by the API key
application/json
error
Description
Error details. code
Description
Machine-readable error code.
message
Description
Human-readable error message.
429 Rate limit exceeded - retry after the number of seconds in the Retry-After header
application/json
error
Description
Error details. code
Description
Machine-readable error code. Type
"RATE_LIMIT_EXCEEDED"
message
Description
Human-readable error message.
500 Unexpected internal error
application/json
error
Description
Error details. code
Description
Machine-readable error code.
message
Description
Human-readable error message.