v1 API key authentication - Bearer tokens in the Authorization header.
All v1 requests authenticate with a Bearer key:
Authorization: Bearer mrnd_4f8e2c1a9b7d3e5f6a0cv1 keys are simpler than v2:
mrnd_ prefix - no test/live split in the key itself.?env=test|live query parameter (default live).curl "https://api.meridian.dev/v1/projects?env=test" \
-H "Authorization: Bearer $MERIDIAN_API_KEY"v1 returns errors as a plain string field:
{
"error": "invalid api key"
}| Status | Meaning |
|---|---|
401 | Missing or invalid key |
403 | Key lacks permission for this resource |
In v2 these become structured authentication and permission error objects with stable code fields.