Black Friday 30% off your first year on any yearly plan with BF2026 until Dec 1Claim deal


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.


Method

GET

Path

/v1/project

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.

Headers

Authorization

required

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.
Type
object

id

Description
Unique project identifier
Type
string
Example
"4232882524803099"

name

Description
Name of the project
Type
string
Example
"Vemetric"

domain

Description
Primary domain of the project
Type
string
Example
"vemetric.com"

token

Description
Public token used for tracking
Type
string
Example
"project_token_123"

createdAt

Description
Project creation timestamp (ISO 8601)
Type
string
Example
"2026-02-07T12:00:00.000Z"

firstEventAt

Description
Timestamp of the first ingested event, if available (ISO 8601)
Type
string | null
Example
"2026-02-07T12:30:00.000Z"

hasPublicDashboard

Description
Whether the project has public dashboard access enabled
Type
boolean
Example
false

excludedIps

Description
List of excluded IP Addresses
Type
array<string>
Example
["127.0.0.1"]

excludedCountries

Description
List of excluded countries as ISO 3166-1 alpha-2 codes
Type
array<string>
Example
["DE","AT"]


400 Bad request - invalid request payload or parameters, or an organization key without the X-Vemetric-Project header
application/json

error

Description
Error details.
Type
object

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.
Type
string

details

Description
Per-field validation issues. Only present for VALIDATION_ERROR.
Type
array<object>
Show nested properties (2)

field

Description
Path to the invalid request field.
Type
string
Example
"groupBy.0"

message

Description
Validation error message for the field.
Type
string



401 Unauthorized - missing, malformed, invalid or revoked API key
application/json

error

Description
Error details.
Type
object

code

Description
Machine-readable error code.
Type
"UNAUTHORIZED"

message

Description
Human-readable error message.
Type
string


404 Project was not found or is not covered by the API key
application/json

error

Description
Error details.
Type
object

code

Description
Machine-readable error code.
Type
"PROJECT_NOT_FOUND"

message

Description
Human-readable error message.
Type
string


429 Rate limit exceeded - retry after the number of seconds in the Retry-After header
application/json

error

Description
Error details.
Type
object

code

Description
Machine-readable error code.
Type
"RATE_LIMIT_EXCEEDED"

message

Description
Human-readable error message.
Type
string


500 Unexpected internal error
application/json

error

Description
Error details.
Type
object

code

Description
Machine-readable error code.
Type
"INTERNAL_ERROR"

message

Description
Human-readable error message.
Type
string


Ready to understand your users?

Start tracking
Pricing About Documentation Customers Changelog Blog